Timing analysis and CDC
In a circuit running on a 2.0 ns clock, a path has a data arrival time (clock-to-output plus combinational logic delay) of 3.3 ns and a setup time of 0.1 ns. Since this path only needs to capture once every two cycles, a setup multicycle path of 2 is set. What is the setup slack?
- A−1.4 ns
- B+2.6 ns
- C+0.6 ns
Show answer and explanation
Answer: C. +0.6 ns
A multicycle path of 2 moves the capturing edge from one period later to two periods later. The required time is 2 × 2.0 − 0.1 = 3.9 ns and the arrival time is 3.3 ns, so the slack is +0.6 ns. −1.4 ns is calculated with the normal single cycle, and +2.6 ns allows three cycles' worth of time. A multicycle path must be set only after the designer has confirmed that the circuit actually captures only every two cycles, for example via an enable signal.