逻辑综合与时序仿真课件.ppt
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_1.gif)
![资源得分’ title=](/images/score_05.gif)
《逻辑综合与时序仿真课件.ppt》由会员分享,可在线阅读,更多相关《逻辑综合与时序仿真课件.ppt(80页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Unit 4 VLSI设计方法设计方法Chap10 逻辑综合与时序仿真逻辑综合与时序仿真Unit 1 绪论绪论Unit 2 CMOS电路设计基础电路设计基础Unit 3 CMOS电路的逻辑设计电路的逻辑设计Unit 4 VLSI设计方法设计方法 Chap8 设计模式和设计流程设计模式和设计流程 Chap9 RTL设计与仿真设计与仿真 Chap10 逻辑综合与时序仿真逻辑综合与时序仿真 Chap11 可测试性设计与可测试性设计与ATPG Chap12 版图设计与验证版图设计与验证SpecificationExecutable modelRTL code Gate-level netlistCel
2、l/interconnect level positionMask-level geometrySystem(Behavioral)levelRTL Gate(Logic)levelLayout (Physical)Level设计阶段设计阶段(设计抽象层)(设计抽象层)设计结果设计结果Logic Design&Simulation:from RTL,then in Gate-LevelLogic Synthesis l得到得到用已有的基本逻辑单元(库单元)互联并满足一定逻辑用已有的基本逻辑单元(库单元)互联并满足一定逻辑功能的逻辑构成功能的逻辑构成Gate-Level Simulation(门
3、级功能仿真与动态时序门级功能仿真与动态时序分析)分析)l一般不做这一步一般不做这一步Formal Verification(形式验证)(形式验证)STA(Static Timing Analysis,静态时序分析)静态时序分析)HDL Coding for SynthesisBased on Synopsys Design CompilerThe Importance of Quality of Source Code Codes that are functionally equivalent,but coded differently will give different synthes
4、is results.You cannot rely solely on Design Compiler to“fix”a poorly coded design!Try to understand the“hardware”you are describing,to give DC the best possible starting point.Think Hardware!Write HDL hardware descriptions l Think of the topology implied by the code Do not write HDL simulation model
5、s l No explicit delays l No file I/O Think Synchronous!Synchronous designs run smoothly through synthesis,simulation,test,and layout Asynchronous designs may require hand instantiation and extensive simulation to verify l Isolate asynchronous logic into separately compiled blocks Think RTL!Writing i
6、n an RTL coding style means describing:lthe circuit topologylthe register placementlthe functionality between registersDC optimizes logic between registers:lIt does not optimize the register placementSynthesis of if Statements(1)The if-else construct implies multiplexing hardwareActual circuit imple
7、mentation depends on target library and ConstraintsSynthesis of if Statements(2)To infer latches,use an if statement without an else clauseSynthesis of case Statementsimply parallel mux functionSynthesis of Flip-FlopsSynthesis of Flip-FlopsSynthesisBased on Synopsys Design Compiler0.Introduction to
8、Synthesis1.Pre-Synthesis Processes2.Constraining the Design3.Synthesizing the DesignWhat Is Synthesis?Synthesis is the transformation of an idea into a manufacturable device to carry out an intended function.l在在包包含含众众多多结结构构、功功能能、性性能能均均已已知知的的逻逻辑辑单单元元电电路路的的目目标标工工艺艺库库的的支支持持下下l得得到到目目标标工工艺艺库库中中单单元元电电路路的的
9、连连接接关关系系(逻逻辑辑网络)的最佳实现方案网络)的最佳实现方案l满满足足设设计计电电路路的的功功能能要要求求以以及及速速度度、面面积积等等限限制条件制条件Synthesis Internal Flow Synthesis Is Constraint-Driven Synthesis Is Path-Based 0.Introduction to Synthesis1.Pre-Synthesis ProcesseslTechnology Library for synthesislDesign Hierarchy and Partition2.Constraining the Design3
10、.Synthesizing the DesignTechnology Library(1)工艺库由工艺库由Foundary提供,一般是提供,一般是.db的格式,这种格式是的格式,这种格式是DC认识的一认识的一种内部文件格式,不能由文本方式打开种内部文件格式,不能由文本方式打开.db格式可以由文本格式格式可以由文本格式.lib转化过来转化过来 Technology Library(2)During mapping,DC will:lchoose functionally-correct gates from this library lcalculate the timing of the ci
11、rcuit using vendor-supplied timing data for these gates target_library is a reserved variable in DC,you should set it to point to the Technology library file(s)provided by your silicon vendorDesign Hierarchy:RISC_CORE example Design Hierarchy(Partitioning)within HDL Description 编写编写HDL代码之前(系统设计阶段)都需
12、要系统划分,代码之前(系统设计阶段)都需要系统划分,根据功能或者其他的原则将一个系统层次化地分成若干根据功能或者其他的原则将一个系统层次化地分成若干个模块,这些模块内部再进一步细分成模块个模块,这些模块内部再进一步细分成模块/子模块子模块Entity(VHDL)and module(Verilog)statements define hierarchical blocks.Inference of Arithmetic Circuits(+,-,*,.)can create a new level of hierarchy.Process(VHDL)and always(Verilog)sta
13、tements do not create hierarchy Repartitioning to Design Hierarchy for Synthesis在在DC做综合的过程中,默认的情况下各个做综合的过程中,默认的情况下各个模块的层次关系是保留着的。保留着的层次模块的层次关系是保留着的。保留着的层次关系会关系会对对DC综合造成一定的影响,比如在综合造成一定的影响,比如在优化的过程中,各个模块的管脚必须保留,优化的过程中,各个模块的管脚必须保留,这势必影响到模块边界的优化效果这势必影响到模块边界的优化效果 Why Partitioning/RepartitioningPartitioni
14、ng or Repartitioning is driven by many(often competing)needs:l Separate distinct functions l Achieve workable size and complexityl Manage project in team environment l Design Reuse l Meet physical constraintsl And many,many othersPoor Partitioning:so Should Eliminate Unnecessary HierarchyGood Partit
15、ioning(1):No Hierarchy in Combinational Paths Good Partitioning(2):No Hierarchy in Combinational PathsGood Partitioning(3):Partition at Register BoundariesExample(1):Avoid Glue LogicExample(2):Remove Glue Logic Between BlocksBalance Block Size in Partitioning(1)Balance Block Size in Partitioning(2)T
16、op-Level Design PartitioningRepartitioning within Design Compiler The group and ungroup commands modify the partitions in a design.Group creates a new hierarchical block.Ungroup removes either one or all levels of hierarchy.GroupUngroup0.Introduction to Synthesis1.Pre-Synthesis Processes2.Constraini
17、ng the Design lArea ConstraintslTiming Constraints and Time BudgetinglEnvironmental AttributeslClock Constraints 3.Synthesizing the DesignSpecifying Area Constraints 施加了一个最大面积施加了一个最大面积100单位的约束单位的约束Units are those of target library,defined by the vendor:l 2-input-NAND-gatel transistorsl square milsSp
18、ecify Timing Constraints(1)Synchronous Designs:l Data arrives from a clocked device l Data goes to a clocked device Objective:Define the timing constraints for all paths within a design:1.The internal(register to register)paths 2.All input paths 3.All output paths Specify Timing Constraints(2)1.Crea
19、ting a clock constrains timing paths between registerscreate_clock-period 10 get_ports ClkSpecify Timing Constraints(3)2.Constraining the Input Paths set_input_delay max(input delay)clock Clk get_ports ClkSpecify Timing Constraints(4)3.Constraining Output Paths set_output_delay max(output delay)cloc
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 逻辑 综合 时序 仿真 课件
![提示](https://www.taowenge.com/images/bang_tan.gif)
限制150内