欢迎来到天天文库
浏览记录
ID:33775808
大小:227.16 KB
页数:36页
时间:2019-03-01
《verilog hdl coding styles for optimal simulation performance》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、ApplicationNoteRev.1.1VerilogHDLCodingStylesforOptimalSimulationPerformanceThemethodsdescribedinthisapplicationnotearedeliberatelybroadandgeneric.Requirementsforyourspecificdesignmaydictatemethodsandstylesslightlydifferentfromthosedescribedhere.PurposeThisapplicatio
2、nnotedescribesguidelinesforwritingVerilogHDLcodethatwillsimulatemostoptimallyinacompiled-codesimulator.Ittellsyouhowto:■Identifysimulationthroughputbottlenecks■WriteVerilogcodethatwillsimulatewiththebestperformance■AvoidVerilogcodewhichwillmostlikelyslowdownsimulat
3、ionTheinformationcoversissueswithcodingofdesignsaswellastestbenches.NC-Verilogwasusedfortesting,butthestylesdescribedshouldboostperformanceofanycompiled-codesimulator.BackPage1CloseCloseCadenceConfidentialVerilogHDLCodingStylesforOptimalSimulationPerformanceAudienc
4、eAudienceThisdocumentisintendedforuserswritingVerilogHDLcodefornewdesigns,aswellasforthosewhowanttoimprovetheperformanceofexistingdesigns.OverviewThisdocumentoutlinessomestrategiesfortuningdesignsforoptimalsimulationperformance.Also,whereappropriate,itwilladdresssy
5、nthesizabilityandcyclesimulationissues.TerminologyThefollowingtermsareusedinthisdocument.ProfileAreportdetailinghowmuchtimeasimulationspentineachareaofadesign.I/OAnyinputoroutputfromaprogram,whetheritbewrittentoorreadfromthescreenorafileondisk.RTLRepresentationofades
6、ignattheregister-transferlevel.BackPage2CloseCloseCadenceConfidentialVerilogHDLCodingStylesforOptimalSimulationPerformanceTerminologyregTheregisterdatatypeusedinVerilogHDL.NotethataregintheVeriloglanguageisdifferentfromahardwareregister.BackPage3CloseCloseCadenceCo
7、nfidentialVerilogHDLCodingStylesforOptimalSimulationPerformanceReferenceSynthesizableVerilogcodewhichisgenerallyacceptedbylogicsynthesistools.Cycle-simulatableVerilogcodewhichconformstothemodellingstyleguideofaparticularcyclesimulationtool.Testbench,testfixtureMecha
8、nismtostimulateandcheckresponseofadesign.DeltacycleAtaparticularsimulationtime,signalvaluesareupdated,thenbehaviorssensitivetothosesignalsareexec
此文档下载收益归作者所有