版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
1、Quartus II Software Design Series: Timing Analysis- Timing analysis basics2ObjectivesDisplay a complete understanding of timing analysis3How does timing verification work?Every device path in design must be analyzed with respect to timing specifications/requirementsCatch timing-related errors faster
2、 and easier than gate-level simulation & board testingDesigner must enter timing requirements & exceptionsUsed to guide fitter during placement & routingUsed to compare against actual results INCLKOUTDQCLRPREDQCLRPREcombinational delaysCLR4Timing Analysis BasicsLaunch vs. latch edgesSetup & hold tim
3、esData & clock arrival timeData required timeSetup & hold slack analysisI/O analysisRecovery & removalTiming models5Path & Analysis TypesThree types of Paths:Clock PathsData PathAsynchronous Paths*Clock PathsAsync PathData PathAsync PathDQCLRPREDQCLRPRETwo types of Analysis:Synchronous clock & data
4、pathsAsynchronous* clock & async paths*Asynchronous refers to signals feeding the asynchronous control ports of the registers6Launch & Latch EdgesCLKLaunch EdgeLatch EdgeData ValidDATALaunch Edge:the edge which “l(fā)aunches” the data from source registerLatch Edge:the edge which “l(fā)atches” the data at d
5、estination register (with respect to the launch edge, selected by timing analyzer; typically 1 cycle)7Setup & HoldSetup:The minimum time data signal must be stableBEFORE clock edgeHold:The minimum time data signal must be stableAFTER clock edgeDQCLRPRECLKThValidDATATsuCLKDATATogether, the setup time
6、 and hold time form a Data Required Window, the time around a clock edge in which data must be stable.8Data Arrival TimeData Arrival Time = launch edge + Tclk1 + Tco +TdataCLKREG1.CLKTclk1Data ValidREG2.DTdataLaunch EdgeData ValidREG1.QTcoThe time for data to arrive at destination registers D inputR
7、EG1PRED QCLRREG2PRED QCLRComb.LogicTclk1TCOTdata9Clock Arrival TimeClock Arrival Time = latch edge + Tclk2 CLKREG2.CLKTclk2Latch EdgeThe time for clock to arrive at destination registers clock inputREG1PRED QCLRREG2PRED QCLRComb.LogicTclk210Data Required Time - SetupData Required Time = Clock Arriva
8、l Time - Tsu - Setup Uncertainty CLKREG2.CLKTclk2Latch EdgeThe minimum time required for the data to get latched into the destination registerTsuData ValidREG2.DData must be valid hereREG1PRED QCLRREG2PRED QCLRComb.LogicTclk2Tsu11Data Required Time - HoldData Required Time = Clock Arrival Time + Th
9、+ Hold Uncertainty CLKREG2.CLKTclk2Latch EdgeThe minimum time required for the data to get latched into the destination registerThData mustremain validto hereData ValidREG2.DREG1PRED QCLRREG2PRED QCLRComb.LogicTclk2Th12Tclk2Setup SlackREG2.CLKThe margin by which the setup timing requirement is met.
10、It ensures launched data arrives in time to meet the latching requirement.TsuCLKREG1.CLKTclk1Data ValidREG2.DTdataData ValidREG1.QTco Setup SlackLaunch EdgeLatch EdgeREG1PRED QCLRREG2PRED QCLRComb.LogicTclk1TCOTdataTclk2Tsu13Setup Slack (contd)Positive slackTiming requirement metNegative slackTiming
11、 requirement not met Setup Slack = Data Required Time Data Arrival Time14Hold SlackREG2.CLKTclk2The margin by which the hold timing requirement is met. It ensures latch data is not corrupted by data from another launch edge. ThCLKREG1.CLKTclk1Data ValidREG2.DTdataData ValidREG1.QTcoHoldSlackLatch Ed
12、geNext Launch EdgeREG1PRED QCLRREG2PRED QCLRComb.LogicTclk1TCOTdataTclk2Th15Hold Slack (contd)Positive slackTiming requirement metNegative slackTiming requirement not met Hold Slack = Data Arrival Time Data Required Time16FPGA/CPLD or ASSPASSP or FPGA/CPLDI/O Analysis Analyzing I/O performance in a
13、synchronous design uses the same slack equationsMust include external device & PCB timing parametersreg1PRED QCLRreg2PRED QCLRCL*TdataTclk1Tclk2TCOTsu/ThOSCData Arrival PathData Arrival PathData Required Path* Represents delay due to capacitive loading17Recovery & RemovalRecovery:The minimum time an
14、 asynchronous signal mustbe stable BEFORE clock edgeRemoval:The minimum time an asynchronous signal mustbe stable AFTER clock edgeDQCLRSETCLKTremValidASYNCTrecCLKASYNC18Asynchronous = Synchronous?Asynchronous control signal source is assumed synchronousSlack equations still applydata arrival path =
15、asynchronous control pathTsu Trec; Th TremExternal device & board timing parameters may be needed (Ex. 1)ASSPreg1PRED QCLRFPGA/CPLDreg2PRED QCLROSCFPGA/CPLDreg1PRED QCLRreg2PRED QCLRExample 1Example 2Data arrival pathData arrival pathData required pathData required path19Why Are These Calculations I
16、mportant?Calculations are important when timing violations occurNeed to be able to understand cause of violationExample causesData path too longRequirement too short (incorrect analysis) Large clock skew signifying a gated clock, etc.TimeQuest timing analyzer uses themEquations to calculate slackTer
17、minology (launch and latch edges, Data Arrival Path, Data Required Path, etc.) in timing reports20Timing Models in DetailQuartus II software models device timing at two PVT conditions by defaultSlow Corner ModelIndicates slowest possible performance for any single pathTiming for slowest device at ma
18、ximum operating temperature and VCCMINFast Corner ModelIndicates fastest possible performance for any single pathTiming for fastest device at minimum operating temperature and VCCMAXWhy two corner timing models?Ensure setup timing is met in slow modelEnsure hold timing is met in fast modelEssential
19、for source synchronous interfacesThird model (slow, min. temp.) available only for 65 nm and smaller technology devices (temperature inversion phenomenon)21Generating Fast/Slow NetlistSpecify one of the default timing models to be used when creating your netlistDefault is the slow timing netlistTo s
20、pecify fast timing netlistUse -fast_model option with create_timing_netlist commandChoose Fast corner in GUI when executing Create Timing Netlist from Netlist menuCANNOT select fast corner from Tasks Pane22Specifying Operating Conditions Perform timing analysis for different delay models without rec
21、reating the existing timing netlistTakes precedence over already generated netlistRequired for selecting slow, min. temp. model and other models (industrial, military, etc.) depending on deviceUse get_available_operating_conditions to see available conditions for target deviceReference DocumentsQuar
22、tus II Handbook, Volume 3, Chapter 7 The Quartus II TimeQuest Timing Analyzer/literature/hb/qts/qts_qii53018.pdfQuick Start Tutorial /literature/hb/qts/ug_tq_tutorial.pdfCookbook/literature/manual/mnl_timequest_cookbook.pdfReference DocumentsSDC and TimeQuest API Reference Manual/literature/manual/m
23、nl_sdctmq.pdfAN 481: Applying Multicycle Exceptions in the TimeQuest Timing Analyzer/literature/an/an481.pdfAN 433: Constraining and Analyzing Source-Synchronous Interfaces/literature/an/an433.pdf25Instructor-Led TrainingWith Alteras instructor-led training courses, you can: Listen to a lecture from
24、 an Altera technical training engineer (instructor) Complete hands-on exercises with guidance from an Altera instructor Ask questions & receive real-time answers from an Altera instructor Each instructor-led class is one or two days in length (8 working hours per day). Online TrainingWith Alteras online
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 個人醫(yī)療貸款合同
- 空調(diào)系統(tǒng)故障維修合同
- 2024年物流公司轉(zhuǎn)讓合同范本
- 湖南省七年級上學期語文期中試卷9套【附答案】
- 業(yè)主/咨詢工程師標準服務協(xié)議書樣本
- 2024自己和單位簽的勞動合同自己沒有保留
- 2024家具買賣的合同模板
- 無財產(chǎn)分割離婚協(xié)議書2024年模板
- 2024年購銷青年雞合同范本
- 國際技術引進代理合同專業(yè)版
- 關愛隨班就讀殘疾兒童活動記錄表
- 關聯(lián)詞專題復習課件
- 新三板知識測評答案
- 廣東粵人開心版五年級上冊英語 Review 1課件
- GB∕T 16762-2020 一般用途鋼絲繩吊索特性和技術條件
- 宇視存儲主機VX1600開局指導書(包括VX1648)全解
- 乳品加工奶油加工
- 人教版六年數(shù)學上冊 分數(shù)簡便計算40題(有解析)
- 成品油消費稅主要政策
- 履帶吊駕駛員安全三級教育
- MSAGRR數(shù)據(jù)自動生成工具(已經(jīng)解密)
評論
0/150
提交評論