您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 国内外标准规范 > Cadence-实验系列13-RTL编译和束缚-RC-and-EC
Cadence实验系列13_RTL编译和束缚_RTLcompiler&Encounterconformal2010.12.23RTLcompiler(RC)IntroductionRoleinICdesignGUIinterfaceSynthesisflowIntroductionRCisafast,highcapacitysynthesissolutionfordemandingchipdesigns‘Globalfocusedsynthesis’resultsinrapidtimingclosureIntroduction综合是前端设计的重要步骤HDL代码翻译成门级网表netlist约束条件(达到面积,时序等参数标准)需特定工艺库评价标准:面积,速度,功耗SynthesistoolIC设计综合工具包括SynopsisDC和CadenceRC;在FPGA端,常用的综合工具有Synplicitysynplify和XilinxXSTSynthesis综合的过程分为两步,首先将HDL描述语言翻译成与工艺库无关的门级网表文件,然后通过综合工具优化,映射到跟具体工艺库相关的门级网表。RTLcompiler(RC)IntroductionRoleinICdesignGUIinterfaceSynthesisflowRoleinICdesign前端设计规格制定详细设计HDL编码仿真验证逻辑综合ICprocessAdvantage时序收敛的全局综合工具提高芯片性能缩短设计时间提供高质量的硅片(Qos)RTLcompiler(RC)IntroductionRoleinICdesignGUIinterfaceSynthesisflowStartGUI命令符:rc-guiGeneralViewManubarLogicalviewerHDLviewerSchematicviewerPhysicalviewerManubarManubarLogicalviewerandHDLvewerSchematicviewerRTLcompiler(RC)IntroductionRoleinICdesignGUIinterfaceSynthesisflowSynthesisflowInvoketheRCSpecifythelibraryLoadHDLfilesPerformElaborationApplyconstraintsSynthesizeSavedesignAnalyzeSynthesisflowset_attributelib_search_pathfull_path_of_technology_library_directory/set_attributehdl_search_pathfull_path_of_hdl_files_directoryset_attributelibrarytechnology_library/read_hdlhdl_file_nameselaboratetop_level_design_namesetclock[define_clock–periodperiodicity–nameclock_name[clock_ports]]external_delay–inputspecify_input_external_delay_on_clockexternal_delay–outputspecify_output_external_delay_on_clocksynthesize-to_mappedreporttimingspecify_timing_report_file_namereportareaspecify_area_report_file_namewrite–mappedspecify_netlist_namewrite_scriptscript_file_nameStep1InvoketheRCrc-guiStep2Specifythelibrary设置工艺库存放路径set_attributelib_search_path/export/home1/STSY_BB/BB_y29/lib/Synopsys指定要加载的工艺库set_attributelibrary{hjtc18_tt.lib}Step3LoadHDLfilesLoadMipssourcesread_hdl/export/home1/STSY_BB/BB_y29/mips_source/MCore.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/alu_v2.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/biu.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/branch.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/core.vread_hdl…….tclscriptStep4PerformElaborationBuildsdatastructuresInfersregistersinthedesignPerformshigher-levelHDLoptimization,suchasdeadcoderemovalCheckssemanticsStep4PerformElaborationElaborate建立一个结构级描述,该描述与工艺无关SchematicviewerStep5ApplyConstraintsConstraintCommandsdefine_clock定义时钟输入波形external_delay设定输入输出相对时钟的延时path_delay设置路径时序约束其他:create_mode,define_cost_groud,multi_cycleStep6SynthesizesetMAP_EFFhighsynthesize-to_mappedeff$MAP_EFF-no_incrStep7Savedesign保存综合的网表文件write-mappedMCore_synth.v保存约束文件(sdc)write_sdcMCore_tst.sdcStep8Analyze输出功耗报表文件reportpowerMCore.power.rpt输出时序报表文件reporttimingMCore.timing.rptStep8Analyzetimingandpowertclscript--命令行批量处理set_attributelib_search_path/export/home1/STSY_BB/BB_y29/lib/Synopsys##Thisdefinesthelibrariestouseset_attributelibrary{hjtc18_tt.lib}read_hdl/export/home1/STSY_BB/BB_y29/mips_source/MCore.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/alu_v2.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/biu.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/branch.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/core.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/cp0.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/decode.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/exec.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/fifo.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/idtlb.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/irq.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/jtlb.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/mcore_define.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/mdu_v2.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/mem_stage.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/mmu.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/pag.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/pipeline.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/reg_ctrl.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/regfile.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/shifter.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/tlb.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/tlb_page.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/trap.vread_hdl/export/home1/STSY_BB/BB_y29/mips_source/write_back.vtclscript##Thisbuilsthegeneralblocekelaborate##thisallowsyoutodefineaclockandthemaximumallowabledelays##READMOREABOUTTHISSOTHATYOUCANPROPERLYCREATEATIMINGFILEdefine_clock-nameclk-period5000[find/-portclk]external_delay-input100-clock[find/-clockclk]-edge_fall[all_inputs]external_delay-output100-clock[find/-clockclk]-edge_fall[all_outputs]set_attributewireload_modeenclosedset_attributemax_dynamic_power0.0MCoreset_attributemax_leakage_power0.0MCore##ThissynthesizesyourcodesetMAP_EFFhighsynthesize-to_mapped-eff$MAP_EFF-no_incr##Thiswritesallyourfiles##cha
本文标题:Cadence-实验系列13-RTL编译和束缚-RC-and-EC
链接地址:https://www.777doc.com/doc-5696726 .html