




下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、1Digital Logic Design and ApplicationJin YanhuaLecture #12Hardware Description LanguagesDocumentation Standard and Circuit TimingUESTC, Spring 2014Jin. UESTC2Real-World Logic DesignLots more than 6 inputs - cant use Karnaugh mapsDesign correctness more important than gate minimizationUse programs to
2、 manipulate logic expressions and minimize logic.Programmable Logic DevicesPALASM, ABEL, CUPL - developed for PLDsVHDL, Verilog - developed for ASICs6.3.1 PLA, programmable logic arrayJin. UESTC3Jin. UESTC4the number of inputs (n)the number of outputs (m)the number of product terms (p)Signetics 82S1
3、00, 16 inputs, 48 AND gates, 8 outputs.2*16*48=1536 fuses in the AND array, 8*48=384 in the OR arrayA 43 PLA with six product terms6.3.2 Programmable Array Logic DeviceJin. UESTC5Fixed OR arrayindividual three-state output enable signalSix I/O pinsLogic diagram of the PAL 16L86.3.3 Generic Array Log
4、ic DevicesJin. UESTC6Jin. UESTC7prime-number detector N3N0 N3N2N1N2N1N0N2N1N0Jin. UESTC8Chapter 5 Hardware Description LanguagesprimenumberdetectorN3N2N1N0Fdeclarationsstatements N3N0 N3N2N1N2N1N0N2N1N0moduleJin. UESTC9Chapter 5 Hardware Description LanguagesprimenumberdetectorN3N2N1N0Fdeclarationss
5、tatementsmodule primed (N3, N2, N1, N0, F);input N3, N2, N1, N0;output F; /structure description;endmodule;moduleJin. UESTC10Two kinds of signal : port : input and output; wire : any connect nets in module;The value of signals: 0 1 z xportwire N3N0 N3N2N1N2N1N0N2N1N0Jin. UESTC11Structural Design Ele
6、mentUse built-in gates for designJin. UESTC12Gate-levelw1w2w3w4module primed (N3, N2, N1, N0, F);input N3, N2, N1, N0;output F;wire notN3, notN2, notN1, w1, w2, w3, w4; not u1 (notN3, N3); not u2 (notN2, N2); not u3 (notN1, N1); and u4 (w1, notN3, N0); and u5 (w2, notN3, notN2, N1); and u6 (w3, notN
7、2, N1, N0); and u7 (w4, N2, notN1, N0); or u8 (F, w1, w2, w3, w4);endmodule;notN3notN2notN1Jin. UESTC13Dataflow Design Elementsw1w2w3w4module primed (N3, N2, N1, N0, F);input N3, N2, N1, N0;output F;wire w1, w2, w3, w4; assign w1= N3 & N0; assign w2 = N3 & N2 & N1; assign w3 = N2 & N1 & N0; assign w
8、4 = N2 & N1 & N0; assign F = w1 | w2 | w3 | w4;endmodule;assign F = (N3 & N0) | (N3 & N2 & N1) | (N2&N1&N0) | (N2&N1&N0);Hardware module: Name, Port and structureJin. UESTC14Behavioral Design Elementsmodule primed (N, F);input 3:0 N;output F;reg F; always (N) case (N) 1,2,3,5,7,11,13 : F=1; default
9、: F=0; end caseendmodule;15:0 N; always (N) if (N=1) F=1; else if ( (N%2) = 0) begin if (N=2) F=1; else F=0; end else if ( N=7) F=1; else if ( (N=11) | (N=13) ) F=1; else F=0;endmodule;15Chapter 6 Combinational Logic Design PracticesHow to conceive a complex system? structured thinkingSome useful co
10、mbinational componentsJin. UESTC166.1 Documentation StandardA documentation package contain the following items:Specification: description of interface and functionBlock diagram: systems major function module and their basic interconnections Schematic diagram (P360 Figure 6-17)Timing diagram (P363 F
11、igure 6-19)Structured logic device descriptionCircuit description: explains how the circuit works internallyJin. UESTC17schematic diagramJin. UESTC181. Block DiagramsA block diagram shows the inputs, outputs, functional modules, internal data paths, and important control signals of a system.P345 Fig
12、ure 6-1Jin. UESTC192. Gate SymbolsJin. UESTC20Equivalent Gate Symbols underthe Generalized Demorgans TheoreminverterbufferAND NAND NOR OR OR NOR NAND AND Jin. UESTC213. Active Levelsactive levelactive high and active lowasserted: a signal is at its active levelnegated / deasserted: signal is not at
13、its active level signal nameActive levels for pinsLogic Functions are performed inside the symbolic outlines.READYREQUESTGOREADY_LREQUEST_LGO_LIndicate an Active-Low PinJin. UESTC22Example: active levelsABFActive state: switchoff, lamplightA B F0 0 00 1 01 0 01 1 1Switch: 1off Lamp: 1light ABFSwitch
14、: 0off Lamp: 0light A B F0 0 00 1 11 0 11 1 1ABFF = A + B = ( A B )AND: the output is asserted if and only if all its inputs are asserted.Jin. UESTC23Example: active levelsABFActive state: switchoff, lamplightAND: the output is asserted if and only if all its inputs are asserted.ABFABFInversion bubb
15、le active-low pin normal gates Nonnormal gats Logic Functions are performed inside the symbolic outlines.Jin. UESTC247. Drawing Layoutflat schematic structureJin. UESTC25HierarchicalschematicstructureJin. UESTC266.2 Circuit Timingpropagation delay Timing analysis: worst-case delayMaximum delay Typic
16、al delay Minimum delay080804323232P366 Table 6-215202222tpHL and tpLH may be differentJin. UESTC27timing diagramGOREADYDATtDATtDATGOREADYDATtRDYtRDYCausality and Propagation DelayJin. UESTC28timing diagramGOREADYDATGOREADYDATtRDYmintRDYmaxMinimum and maximum delaysJin. UESTC29Some Useful Combinational ComponentsDecoders(译码器)Encoders(编码器)Three-State Devices(三态器件)Multiplexers(多路复用器)Parity Circuits(奇偶校验电路)Comparators(比较器)Adders(加法器)Jin. UESTC30Decoder and EncoderDecoderNormal
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 【正版授权】 ISO 18487-1:2025 EN Aerospace series - Titanium tube for 35 MPa operating pressure - Part 1: Inch series
- 简化流程猜谜离婚协议快速达成婚姻解除
- 柴油销售区域保护与市场拓展合同范本
- 成都二手房交易房屋交易房屋抵押贷款合同
- 餐饮店装修工程结算协议
- 便利店24小时无人值守运营管理合同
- 残疾人劳动合同签订与职业康复服务对接指南
- 资产重组采矿权抵押贷款合同
- 电子课件磨工初级教学
- 教学课件封面图
- 成品金属格栅施工方案
- DBJ04-T 432-2022 建设工程全过程造价咨询标准
- 山东省济南市(2024年-2025年小学四年级语文)人教版期末考试((上下)学期)试卷及答案
- 人美 版三年级美术下册(北京)《18.设计紧急避难路线图》教学设计
- SLT 478-2021 水利数据库表结构及标识符编制总则
- 01J925-1压型钢板、夹芯板屋面及墙体建筑构造
- 《霍山石斛》课件
- 浙江省杭州市西湖区2025届数学七年级第一学期期末考试试题含解析
- 医院信息机房运维服务项目需求
- 2024年重庆育才中学九年级6月中考英语模拟试题
- 有趣的汉字甲骨文演变完整模板
评论
0/150
提交评论