Altera_Forum
Honored Contributor
18 years agoBe confused with setup time slack calculation
In QuartusII Handbook 7.1, Page 1614, it listed setup time slack equation as below:
Clock Setup Slack = Data Required Time - Data Arrival Time Data Arrival Time = Launch Edge + Clock Network Delay to Source Register + μtCO + Register-to-Register Delay Data Reqiured = Clock Arrival Time – μtSU – Setup Uncertainty Clock Arrival Time = Latch Edge + Clock Network Delay to Destination Register When I study the timing report generated by TimeQuest, I find something different, It seems that Data Required time is calculated by the following equation: Data Reqiured = Clock Arrival Time + μtSU Pls see the report information below:
Info: Path# 1: Setup slack is 2.131
Info: ===================================================================
Info: From Node : FreqMeasure_NiosII:inst|freqmeasure_wholesystem_inst:the_freqmeasure_wholesystem_inst|freqmeasure_wholesystem:the_freqmeasure_wholesystem|FREQMeasure_SingleChannel:\U2:140:channel_x|FREQMeasure_PeriodCounterDuringStrobe:U2|s_cnt
Info: To Node : FreqMeasure_NiosII:inst|freqmeasure_wholesystem_inst:the_freqmeasure_wholesystem_inst|freqmeasure_wholesystem:the_freqmeasure_wholesystem|FREQMeasure_SingleChannel:\U2:140:channel_x|FREQMeasure_PeriodCounterDuringStrobe:U2|s_cnt
Info: Launch Clock : FreqMeasure_NiosII:inst|pll:the_pll|altpllpll:the_pll|altpll:altpll_component|_clk0
Info: Latch Clock : FreqMeasure_NiosII:inst|pll:the_pll|altpllpll:the_pll|altpll:altpll_component|_clk0
Info:
Info: Data Arrival Path:
Info:
Info: Total (ns) Incr (ns) Type Element
Info: ========== ========= == ==== ===================================
Info: 0.000 0.000 launch edge time
Info: 0.283 0.283 R clock network delay
Info: 0.587 0.304 uTco
Info:
.
.
.
Info: Data Required Path:
Info:
Info: Total (ns) Incr (ns) Type Element
Info: ========== ========= == ==== ===================================
Info: 10.000 10.000 latch edge time
Info: 10.254 0.254 R clock network delay
Info: 10.294 0.040 uTsu FreqMeasure_NiosII:inst|freqmeasure_wholesystem_inst:the_freqmeasure_wholesystem_inst|freqmeasure_wholesystem:the_freqmeasure_wholesystem|FREQMeasure_SingleChannel:\U2:140:channel_x|FREQMeasure_PeriodCounterDuringStrobe:U2|s_cnt
Info:
Info: Data Arrival Time : 8.163
Info: Data Required Time : 10.294
Info: Slack : 2.131 I'm newer in timing analysis field, hope for help, thanks in advance.