Timing analysis and CDC

With a 2.5 ns (400 MHz) clock, set_output_delay 0.8 ns is set on an output port. If the clock-to-output delay of the flip-flop driving the port is 0.2 ns, what is the maximum delay allowed for the combinational logic and wiring from the flip-flop to the output port (ignore clock latency)?

  1. A1.5 ns
  2. B2.3 ns
  3. C1.7 ns
Show answer and explanation

Answer: A. 1.5 ns

The 0.8 ns output delay is time used outside the chip, so 2.5 − 0.8 = 1.7 ns is available on chip. Subtracting the flip-flop's 0.2 ns clock-to-output delay leaves 1.5 ns for the combinational logic and wiring. 2.3 ns is calculated without the output delay, and 1.7 ns forgets to subtract the clock-to-output delay. Placing a flip-flop right before the output port so that the output comes directly from a register keeps the internal delay small and stable, making the constraint easier to meet.

Practice this topic Back to topic

Books on Timing analysis and CDC Ad

As an Amazon Associate I earn from qualifying purchases.

More Timing analysis and CDC questions

  1. With a 1.0 ns clock, flip-flops are connected A→B→C. A→B needs 1.2 ns including clock-to-output delay and setup time, while 0.8 ns is enough for B→C. To meet setup on both by intentionally using skew, what should be done to B's clock (assume the clocks of A and C arrive at the same time)?
  2. When a clock is divided by two with a divider circuit and used for another circuit, how should it be handled in SDC?
  3. In a flip-flop with asynchronous reset, which STA check examines whether reset deassertion is too close to a clock edge?
  4. Which path between two clock domains requires a synchronizer?
  5. How does the mean time between failures (MTBF) due to metastability change when a two-flip-flop synchronizer is extended to three stages?