Timing analysis and CDC
With a 2.0 ns clock, set_input_delay 0.6 ns is set on an input port. If the internal flip-flop's setup time is 0.1 ns and clock latency and skew are ignored, what is the maximum delay allowed for the on-chip path from the input port to the flip-flop?
- A1.3 ns
- B1.9 ns
- C1.4 ns
Show answer and explanation
Answer: A. 1.3 ns
set_input_delay specifies the time spent outside the chip from the clock edge until data reaches the input port, such as the external launching device's clock-to-output delay and the board trace delay. The on-chip path gets the remaining time: 2.0 − 0.6 − 0.1 = 1.3 ns. 1.9 ns ignores the input delay, and 1.4 ns forgets to subtract the setup time. Without a correctly specified input delay, paths from input ports are not analyzed correctly.