Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

TimeQuest Timing Analyzer[Setup slack analysis]

HI,

I am trying to understand how the Time Quest analyzer calculating required setup and hold time.I have written code for register and the clocks are common(50 MHz). As per my understanding data required time for setup calculation = clock arrival time -Tsu - Setup Uncertainty.

From the Time Quest analyzer

clock arrival time = 22.982ns[ from source latency to clock pessimism]

Tsu = 0.021ns

Setup Uncertainty = 0ns

data required time = 22.982 - 0.021 = 22.961ns.

But the tool showing the calculation like below mentioned way,

data required time = 22.982 + 0.021 = 23.003ns.?

If i am not wrong the data required time should be 22.961ns.Please let me whether my understanding is correct or not?

For your ref

------------------------------------------------------------------------------------------------------------------------

path summry:

from node q1_s

to node q~reg0

launch clock clk

latch clock clk

data arrival time 3.945

data required time 23.003

slack 19.058

------------------------------------------------------------------------------------------------------------------------

data required path:

total incr rf type fan out location element

20.000 0.000 source latency

20.000 0.000 1 pin_31 clk clk

20.000 0.000 rr ic 1 ioibuf_x0_y14_n1 clk~input|i

20.990 0.990 rr cell 1 ioibuf_x0_y14_n1 clk~input|o

21.182 0.192 rr ic 1 clkctrl_g4 clk~inputclkctrl|inclk[0]

21.182 0.000 rr cell 2 clkctrl_g4 clk~inputclkctrl|outclk

22.339 1.157 rr ic 1 ff_x1_y10_n17 q~reg0|clk

22.957 0.618 rr cell 1 ff_x1_y10_n17 q~reg0

22.982 0.025 clock pessimism

23.003 0.021 utsu 1 ff_x1_y10_n17 q~reg0

--------------------------------------------------------------------------------------------------------------------------------

Thanks in advance,

Karthi.S

31 Replies