VLSI Concept · Timing
Setup & Hold Timing
Data must be stable around the clock edge — or it's a coin flip.
Setup time is how long the data input must be stable BEFORE the clock edge; hold time is how long it must stay stable AFTER the edge. Violate either and the flip-flop can enter metastability — an unresolved, unpredictable output that can propagate garbage through the chip.