静态时序分析基本原理和时序分析模型_第1页
静态时序分析基本原理和时序分析模型_第2页
静态时序分析基本原理和时序分析模型_第3页
静态时序分析基本原理和时序分析模型_第4页
静态时序分析基本原理和时序分析模型_第5页
已阅读5页,还剩22页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Quartus®IISoftwareDesignSeries:TimingAnalysis-Timinganalysisbasics第一页,共二十七页。2ObjectivesDisplayapleteunderstandingoftiminganalysis第二页,共二十七页。3Howdoestimingverificationwork?Everydevicepathindesignmustbeanalyzedwithrespecttotimingspecifications/requirementsCatchtiming-relatederrorsfasterandeasierthangate-levelsimulation&boardtestingDesignermustentertimingrequirements&exceptionsUsedtoguidefitterduringplacement&routingUsedtopareagainstactualresultsINCLKOUTDQCLRPREDQCLRPREbinationaldelaysCLR第三页,共二十七页。4TimingAnalysisBasicsLaunchvs.latchedgesSetup&holdtimesData&clockarrivaltimeDatarequiredtimeSetup&holdslackanalysisI/OanalysisRecovery&removalTimingmodels第四页,共二十七页。5Path&AnalysisTypesThreetypesofPaths:ClockPathsDataPathAsynchronousPaths*ClockPathsAsyncPathDataPathAsyncPathDQCLRPREDQCLRPRETwotypesofAnalysis:Synchronous –clock&datapathsAsynchronous* –clock&asyncpaths*Asynchronousreferstosignalsfeedingtheasynchronouscontrolportsoftheregisters第五页,共二十七页。6Launch&LatchEdgesCLKLaunchEdgeLatchEdgeDataValidDATALaunchEdge: theedgewhich“launches”thedatafromsourceregisterLatchEdge: theedgewhich“latches”thedataatdestinationregister(withrespecttothelaunchedge,selectedbytiminganalyzer;typically1cycle)第六页,共二十七页。7Setup&HoldSetup: Theminimumtimedatasignalmustbestable BEFOREclockedgeHold: Theminimumtimedatasignalmustbestable AFTERclockedgeDQCLRPRECLKThValidDATATsuCLKDATATogether,thesetuptimeandholdtimeformaDataRequiredWindow,thetimearoundaclockedgeinwhichdatamustbestable.第七页,共二十七页。8DataArrivalTimeDataArrivalTime=launchedge+Tclk1+Tco+TdataCLKREG1.CLKTclk1DataValidREG2.DTdataLaunchEdgeDataValidREG1.QTcoThetimefordatatoarriveatdestinationregister’sDinputREG1PREDQCLRREG2PREDQCLRComb.LogicTclk1TCOTdata第八页,共二十七页。9ClockArrivalTimeClockArrivalTime=latchedge+Tclk2

CLKREG2.CLKTclk2LatchEdgeThetimeforclocktoarriveatdestinationregister’sclockinputREG1PREDQCLRREG2PREDQCLRComb.LogicTclk2第九页,共二十七页。10DataRequiredTime-SetupDataRequiredTime=ClockArrivalTime-Tsu-SetupUncertaintyCLKREG2.CLKTclk2LatchEdgeTheminimumtimerequiredforthedatatogetlatchedintothedestinationregisterTsuDataValidREG2.DDatamustbevalidhereREG1PREDQCLRREG2PREDQCLRComb.LogicTclk2Tsu第十页,共二十七页。11DataRequiredTime-HoldDataRequiredTime=ClockArrivalTime+Th+HoldUncertaintyCLKREG2.CLKTclk2LatchEdgeTheminimumtimerequiredforthedatatogetlatchedintothedestinationregisterThDatamustremainvalidtohereDataValidREG2.DREG1PREDQCLRREG2PREDQCLRComb.LogicTclk2Th第十一页,共二十七页。12Tclk2SetupSlackREG2.CLKThemarginbywhichthesetuptimingrequirementismet.Itensureslauncheddataarrivesintimetomeetthelatchingrequirement.TsuCLKREG1.CLKTclk1DataValidREG2.DTdataDataValidREG1.QTco

SetupSlackLaunchEdgeLatchEdgeREG1PREDQCLRREG2PREDQCLRComb.LogicTclk1TCOTdataTclk2Tsu第十二页,共二十七页。13SetupSlack(cont’d)PositiveslackTimingrequirementmetNegativeslackTimingrequirementnotmetSetupSlack=DataRequiredTime –DataArrivalTime第十三页,共二十七页。14HoldSlackREG2.CLKTclk2Themarginbywhichtheholdtimingrequirementismet.Itensureslatchdataisnotcorruptedbydatafromanotherlaunchedge.ThCLKREG1.CLKTclk1DataValidREG2.DTdataDataValidREG1.QTcoHoldSlackLatchEdgeNextLaunchEdgeREG1PREDQCLRREG2PREDQCLRComb.LogicTclk1TCOTdataTclk2Th第十四页,共二十七页。15HoldSlack(cont’d)PositiveslackTimingrequirementmetNegativeslackTimingrequirementnotmetHoldSlack=DataArrivalTime –DataRequiredTime第十五页,共二十七页。16FPGA/CPLDorASSPASSPorFPGA/CPLDI/OAnalysisAnalyzingI/OperformanceinasynchronousdesignusesthesameslackequationsMustincludeexternaldevice&PCBtimingparametersreg1PREDQCLRreg2PREDQCLRCL*TdataTclk1Tclk2TCOTsu/ThOSCDataArrivalPathDataArrivalPathDataRequiredPath*Representsdelayduetocapacitiveloading第十六页,共二十七页。17Recovery&RemovalRecovery: Theminimumtimeanasynchronoussignalmust bestableBEFOREclockedgeRemoval: Theminimumtimeanasynchronoussignalmust bestableAFTERclockedgeDQCLRSETCLKTremValidASYNCTrecCLKASYNC第十七页,共二十七页。18Asynchronous=Synchronous?AsynchronouscontrolsignalsourceisassumedsynchronousSlackequationsstillapplydataarrivalpath=asynchronouscontrolpathTsu

≈Trec;Th

≈TremExternaldevice&boardtimingparametersmaybeneeded(Ex.1)ASSPreg1PREDQCLRFPGA/CPLDreg2PREDQCLROSCFPGA/CPLDreg1PREDQCLRreg2PREDQCLRExample1Example2DataarrivalpathDataarrivalpathDatarequiredpathDatarequiredpath第十八页,共二十七页。19WhyAreTheseCalculationsImportant?CalculationsareimportantwhentimingviolationsoccurNeedtobeabletounderstandcauseofviolationExamplecausesDatapathtoolongRequirementtooshort(incorrectanalysis)

Largeclockskewsignifyingagatedclock,etc.TimeQuesttiminganalyzerusesthemEquationstocalculateslackTerminology(launchandlatchedges,DataArrivalPath,DataRequiredPath,etc.)intimingreports第十九页,共二十七页。20TimingModelsinDetailQuartusIIsoftwaremodelsdevicetimingattwoPVTconditionsbydefaultSlowCornerModelIndicatesslowestpossibleperformanceforanysinglepathTimingforslowestdeviceatmaximumoperatingtemperatureandVCCMINFastCornerModelIndicatesfastestpossibleperformanceforanysinglepathTimingforfastestdeviceatminimumoperatingtemperatureandVCCMAXWhytwocornertimingmodels?EnsuresetuptimingismetinslowmodelEnsureholdtimingismetinfastmodelEssentialforsourcesynchronousinterfacesThirdmodel(slow,min.temp.)availableonlyfor65nmandsmallertechnologydevices(temperatureinversionphenomenon)第二十页,共二十七页。21GeneratingFast/SlowNetlistSpecifyoneofthedefaulttimingmodelstobeusedwhencreatingyournetlistDefaultistheslowtimingnetlistTospecifyfasttimingnetlistUse-fast_modeloptionwithcreate_timing_netlistmandChooseFastcornerinGUIwhen executingCreateTimingNetlist

fromNetlistmenuCANNOTselectfastcorner fromTasksPane第二十一页,共二十七页。22SpecifyingOperatingConditionsPerformtiminganalysisfordifferentdelaymodelswithoutrecreatingtheexistingtimingnetlistTakesprecedenceoveralreadygeneratednetlistRequiredforselectingslow,min.temp.modelandothermodels(industrial,military,etc.)dependingondeviceUseget_available_operating_conditionstoseeavailableconditionsfortargetdevice第二十二页,共二十七页。ReferenceDocumentsQuartusIIHandbook,Volume3,Chapter7TheQuartusIITimeQuestTimingAnalyzeraltera/literature/hb/qts/qts_qii53018.pdfQuickStartTutorialaltera/literature/hb/qts/ug_tq_tutorial.pdfCookbookaltera/literature/manual/mnl_timequest_cookbook.pdf第二十三页,共二十七页。ReferenceDocumentsSDCandTimeQuestAPIReferenceManualaltera/literature/manual/mnl_sdctmq.pdfAN481:ApplyingMulticycleExceptionsintheTimeQuestTimingAnalyzeraltera/literature/an/an481.pdfAN433:ConstrainingandAnalyzingSource-SynchronousInterfacesaltera/literature/an/an433.pdf第二十四页,共二十七页。25Instructor-LedTraining

WithAltera'sinstructor-ledtrainingcourses,youcan:

ListentoalecturefromanAlteratechnicaltrainingengineer(instructor)Completehands-onexerciseswithguidancefromanAlterainstructorAskquestions&receivereal-timeanswersfromanAlterainstructorEachinstructor-ledclassisoneortwodaysinlength(8workinghoursperday).

OnlineTrainingWithAltera'sonlinetrainingcourses,youcan:TakeacourseatanytimethatisconvenientforyouTakeacoursefromthefortofyourhomeoroffice(noneedtotravelaswithinstructor-ledcourses)Eachonlinecoursewilltakeapproximateonetothreehourstoplete.

altera/trainingViewtrainingclassschedule®isterforaclassLearnMoreThroughTechnicalTraining第二十五页,共二十七页。26AlteraTechnicalSupportReferenceQuartusIIsoftwareon-linehelpQuartusIIHandbookConsultA

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论