




已阅读5页,还剩68页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
CHAPTER 7 INTRODUCTION TO PROGRAMMABLE LOGIC DEVICE,ABEL ( 件描述语言的一种) Architecture ( 结构体 ) Array ( 阵列 ) Buffer ( 缓冲器 ) Cell ( 单元 ) Compiler ( 编辑器 ) Documentation file ( 使用说明文件 ) Fuse ( 熔丝 ) E2CMOS ( 电可擦除的CMOS ) GAL ( 通用阵列逻辑器件 ) Input file ( 输入文件 ) Input/Output ( I/O ) ( 输入/输出 ),JEDEC file ( 标准数据格式文件 ) OLMC (输出逻辑宏单元 ) PAL ( 可编程阵列逻辑 ) PLA ( 可编程逻辑阵列) PLD ( 可编程逻辑器件 ) Programmer ( 编程器 ) PROM ( 可编程只读存储器 ) Software ( 软件 ) Synthesis ( 综合 ) Tristate output buffer ( 三态输出缓冲器 ) ZIF socked ( 不用力插座 ),KEY TERMS,ABEL Advanced Bollean Expression Language. A software compiler language for PLD programming; a type of hardware description language (HDL). Architecture The internal functional arrangement of the elements that give a device its particular operating characteristics.,Array In a PLD, a matrix formed by rows of product-term lines and columns of input lines with a programmable cell at each junction. Buffer A circuit that prevents loading of an input or output. Cell A fused cross point of a row and columnn in a PLD.,Complier Software that translates from high-level language that uses words or symbols, such as HDL , into low-level machine language (1s and 0s). Documentation file The information from a computer that documents the final design after the input file has been processed.,E2CMOS Electrically earsable CMOS ( EECMOS). The circuit technology used for the reprogrammable cells in GAL. Fuse The programmable element in certain types of PLDs; also called a fusible link. GAL Generic array logic. A PLD with a reprogrammable AND array, a fixed OR array, and programmable output logic macrocells.,Input file The information entered in a computer that describes logic design using a PLD programming language such as HDL. Input/Output (I/O) A terminal of a device that can be used as either an input or as an output.,OLMC Output logic marcocell. The programmable output logic in a GAL. PAL Programmable array logic. A PLD with a programmable AND array and a fixed OR array. PLA Programmable logic array. A PLD with a programmable AND and OR array.,PLD Programmable logic device. Programmer An instrument that programs PLD using a JEDEC file downloaded from a computer running HDL software. Software Computer programs; programs that instruct a computer what to do in order to carry out a given set of tasks.,Synthesis The software process of converting a circuit description to a standard JEDEC file for PLD programming. Tristate output buffer A logic circuit having three output states: HIGH, LOW, and high impedance (open).,ZIF socket Zero insertion force socket. A type of socket used in most programmers that accepts a PLD package.,7.1 PLD ARRAYS AND CLASSIFICATIONS,Programmable logic devices (PLDs) are used in many applications to replace SSI and MSI circuits; they save space and reduce the actual number and cost of devices in a given design.,2,A PLD consist of a large array of AND gates and OR gates that can be programmed to achieve specified logic functions. Four types of devices that are classified as PLDs are the programmable read-only memory (PROM), the programmable logic array (PLA), the programmable array logic (PAL), and the generic array logic (GAL).,3,Programmable Arrays,The OR Array,A,A,B,B,X1,X2,X3,Fusible link,4,A,A,B,B,X1 =A+B,X2 =A+B,X3 =A+B,5,The AND Array,A,A,B,B,X1,X2,X3,6,A,A,B,B,X1=AB,X2=AB,X3=AB,7,Classification of PLDs,Programmable Read-Only Memory,Fixed AND array,Programmable OR array,Output 1,Input 1,Input 2,Input n,Output 2,Output m,8,Programmable Logic Array (PLA),Programmable AND array,Programmable OR array,Output 1,Input 1,Input 2,Input n,Output 2,Output m,9,Programmable Array Logic (PAL),Programmable AND array,Fixed OR array and output logic,Output 1,Input 1,Input 2,Input n,Output 2,Output m,10,Generic Logic Array (GAL),Programmable AND array,Fixed OR array and Programmable output logic,Output 1,Input 1,Input 2,Input n,Output 2,Output m,11,7.2 PROGRAMMABLE ARRAY LOGIC (PAL),The PAL and the GAL are the most common PLDs used for logic implementation. As you learned in the last section, the PAL in its basic form is a PLD with a one-time programmable AND array and fixed OR array. In this section, you will learn how PALs are used to produce specified combinational logic functions and examine a specific PAL.,12,PAL Operation ( SOP ),A,A,B,B,X,13,Implementing a Sum-of-Products Expression X = AB +AB +AB,A,A,B,B,X,14,Simplified Symbols,A,A,B,B,X,A,B,4,AB,AB,AB,15,X,X,X,X,X,X,Programmable Array Logic (PAL),Programmable AND array,Fixed OR array,Output 1,Input 1,Input 2,Input n,Output 2,Input 3,Output m,Output logic,Output logic,Output logic,16,PAL Output Combination Logic,Output,From AND Gate array,Tristate control,(a) Combination output (active-LOW).,17,I/O,From AND Gate array,Tristate control,(b) Combination input/output (active-LOW).,18,I/O,From AND Gate array,Tristate control,(c) Programmable polarity output,Programmable fuse,19,Standard PAL Numbering,PAL 10L8,Programmable array logic,Ten inputs,Eight outputs,Active-LOW output,20,7.3 GENERIC ARRAY LOGIC (GAL),The GAL in its basic form is a PLD with a reprogrammable AND array, a fixed OR array, and programmable output logic. In this section, basic concepts are introduced and Section 7-4 and 7-5 specific GALs are examined. GAL Operation electrically erasable CMOS (E2CMOS),21,A,A,B,B,X,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,E2CMOS,22,A,A,B,B,Off,On,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,Off,On,On,On,On,On,AB,AB,AB,X=AB+AB+AB,23,The GAL Block Diagram,E2CMOS Programmable AND array,I/O 1,Input 1,Input 2,Input n,I/O 2,Input 3,I/O m,OLMC,OLMC,OLMC,24,Standard GAL Numbering,GAL 16V8,Generic array logic,Sixteen inputs,Eight outputs,Variable-output configuration,25,7.4 THE GAL22V10,The various GALs all have the same type of programmable array. The differ in the size of the array, in the type of OLMCs , and in operating parameters such as speed and power dissipation. In this section, a popular generic array logic device, the GAL22V10, is discussed.,26,Logic Diagram,1-of-4 multiplexer,1-of-2 multiplexer,Flip-Flop,OLMC,S1,S0,S1,I/O,27,The Output Logic Macrocells (OLMCs) As stated in the discussion of GALs , an OLMC contains programmable logic circuits that can be either for a combinational output or input or for a registered output.,28,1-of-4 multiplexer,1-of-2 multiplexer,Flip-Flop,OLMC,S1,S0,S1,I/O,(a) Active-LOW output S1=1, S0=0,29,1-of-4 multiplexer,1-of-2 multiplexer,Flip-Flop,OLMC,S1,S0,S1,I/O,(b) Active-HIGH output S1=1, S0=1,30,Input,Output,Tristate,control,HIGH,LOW,HIGH,Active state,LOW,(a),HIGH,LOW,HIGH,Active state,High-impedance state,(b),31,Output or Input Selection,1-of-4 multiplexer,1-of-2 multiplexer,Flip-Flop,OLMC,S1,S0,S1,HIGH,Output,(a) Output,32,1-of-4 multiplexer,1-of-2 multiplexer,Flip-Flop,OLMC,S1,S0,S1,LOW,Input,(b) Input,33,1-of-4 multiplexer,1-of-2 multiplexer,Flip-Flop,OLMC,S1=1,S0=1,S1=1,HIGH,X=ABCD+ ABCD+ ABCD+ ABCD+ ABCD+,X,ABCD,ABCD,ABCD,ABCD,ABCD,ABCD,ABCD,Active HIGH,Related Problem Write the SOP expression for the output if S0=0, S1= 1,( Active LOW ),1-of-4 multiplexer,1-of-2 multiplexer,Flip-Flop,OLMC,S1=1,S0=0,S1=1,HIGH,X=ABCD+ ABCD+ ABCD+ ABCD+ ABCD+ABCD,X,ABCD,ABCD,ABCD,ABCD,ABCD,ABCD,( Active LOW ),Example 7-6 Show how the following 6-variable SOP function is implemented with the AL22V10 X=ABCDEF+ ABCDEF+ ABCDEF+ ABCDEF+ ABCDEF+ABCDEF+ ABCDEF,0 3,4 7,B,B,C,C,D,D,E,E,F,F,8 11,12 15,16 19,20 23,40 43,A,1,O,HIGH,S0=1,S1=1,OLMC,7.6 PLD PROGRAMMING,As you have learned, PLAs are programmed by leaving specified fusible links intact and blowing open all others. GALs are programmed in a similar way except the E2CMOS cells are turned on or off. The logic functions to be implemented determines which cells are affected.,34,In order to program a PLA or GAL, the following items are required: a computer, programming software, and a PLD programmer.,Computer: Any computer that meets the software and programmer specifications can be used.,35,Software: The software packages for PLD programming are called logic compliers.,The Programmer: The programmer has a software driver program that reads JEDEC file generated by the logic complier and converts it to instructions for applying required voltages to specified PLD pins to alter the specified cells in the array as directed by the fuse map.,36,START,Design the,logic circuit,Enter design,into computer,Syntax or,Other errors?,Complier,file and,Design,simulation,Design,flaw?,processes input,minimizes logic,Debug,Edit,Yes,No,No,Yes,37,Complier creates,JEDEC file (fuse map),Download to,programmer,Programmer “burns”,fuse map into PLD,array,Complier generates,documentation file,38,The Programming Process,Entering the Design: The logic design is entered into the computer by creating an input or source file.,Running the Software: The software complier processes and translates the input file and minimizes the logic.,39,Programming the Device: When the design is finalized, the compiler creates a fuse map (JEDEC file) and downloads it to the programmer.,40,7.7 PLD SOFTWARE,As mentioned earlier, there are several software packages for implementing logic designs in PLDs. ABEL is commonly used hardware description languages (HDLs).,41,Introduction to ABEL: ABEL, which is the acronym for Advanced Boolean Expression Language, allows logic designs to be implemented in programmable in programmable logic devices.,42,Logic Design Entry : ABEL provides three different formats for describing and entering a logic design from the from the computer keyboard: equations, truth tables, and state diagrams.,43,Design Simulation : Once a logic circuit design has been entered, its operation can be simulated using test vectors to make sure there are no design errors.,44,Logic Synthesis : The software process of converting a circuit description in the form of equations, truth tables, or state diagrams to a standard JEDEC file format required to actually implement the design in a PLD is called logic synthesis .,45,Boolean Operations:,Logic Operation ABEL Symbol,NOT !,AND &,OR #,XOR $,46,Standard Boolean ABEL,A !A,AB A & B,A + B A # B,+,A B A $ B,47,EXAMPLE 7-7 Write each of the following logic expressions in ABEL: X= ABC +ABC +AB + BC Y= ( A + B + C + D )( A + B + C ) Solution X = A&!B&C#!A!B!C#A&B#!B&C Y =(!A#B#!C#D)&(A#B#C) RP: W= X+Y,Where X=ABC, Y=A+B+C,48,EXAMPLE 7-8,Multiplexer,A3,A2,A1,A0,B3,B2,B1,B0,Y3,Y2,Y1,Y0,C3,C2,C1,C0,S1,S0,49,Select Input Data Output S1 S0 Y3 Y2 Y1 Y0,0 1 A3 A2 A1 A0,1 0 B3 B2 B1 B0,1 1 C3 C2 C1 C0,50,Solution: Y3=A3S1S0+B3S1S0+C3S1S0 Y2=A2S1S0+B2S1S0+C2S1S0 Y1=A1S1S0+B1S1S0+C1S1S0 Y0=A0S1S0+B0S1S0+C0S1S0,Y3= A3&!S1&S0#B3S1&!S0#C3&S1&S0,Y2= A2&!S1&S0#B2S1&!S0#C2&S1&S0,Y1= A1&!S1&S0#B1S1&!S0#C1&S1&S0,Y0= A0&!S1&S0#B0S1&!S0#C0&S1&S0,The equations in ABEL format are,51.,Sets with the following declaration:,A = A3, A2, A1, A0 ;,B = B3, B2
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 五 总复习说课稿-2025-2026学年小学数学二年级下册浙教版
- Unit 3 写作说课稿 2024-2025学年沪教版英语七年级上册
- 2025年合同终止协议的样本
- 2025建筑材料商品混凝土供求合同
- 2025河南省农业生产设备租赁合同
- 2025合伙经营合同范本
- 2025企业采购销售合同
- 人教版部编道德与法治八年级上册3.1维护秩序说课稿
- 4.7 逻辑代数应用举例说课稿-2025-2026学年中职基础课-职业模块 工科类-语文版-(数学)-51
- 第一节 传染病说课稿-2025-2026学年初中生物学北京版八年级下册-北京版
- 2025年未来就业报告
- 使用吹风机课件
- 安检流程课件
- 中国未来50年产业发展趋势白皮书(第四期)
- 2025年财会类资产评估师资产评估基础-资产评估基础参考题库含答案解析(5卷)
- 公安宣传打击黄赌毒课件
- GB/T 882-2008销轴
- 德国凯尔锚固技术公司石陶幕墙设计和施工中的应用
- (高清版)外墙饰面砖工程施工及验收规程JGJ126-2015
- 定价转让之同期资料模板
- 公路养护技师、高级工、初级工考试复习重点
评论
0/150
提交评论