Home › Practice › Timing Analysis › Timing: fewer gates, slower path

Timing: fewer gates, slower path

EasyTimingSTAsetup

Count the gates or add the delays? One of them gets it wrong.

Concept first. Setup timing asks one thing: does the data reach the next flop before the clock edge, with a little time to spare (the setup time)? The time you have left over is the slack. The path that arrives last has the smallest slack, and it limits how fast the clock can run. A route with many small gates can be quicker than a route with two slow ones, so count the time, not the cells.

FF1 sends data to FF2 down two routes that join at the OR gate. Click the route that limits the clock speed, then enter its setup slack. All delays are in ns. Cells have a fixed delay and no wire delay.

What to do.

Solve in your browser →

No install and no sign-up needed. You write your answer in the editor and Nishkam checks it.

More in this track

← Waveform: the shift register that shifts the wrong wayTiming: late clock, friend or foe? →