Work out setup and hold slack instantly with clear inputs, formula shown and shareable results.
Setup slack is clock period minus data path delay minus setup time minus skew: it must be positive or the flip-flop samples before the data arrives. Hold slack is the opposite constraint — the data must not arrive too early — and it cannot be fixed by slowing the clock.
Timing slack
setup slack = T - t_data - t_setup - skew; hold slack = t_data - t_hold - skew
Hold checks compare paths within the same clock edge, so the period does not appear in the equation. The only fix is adding delay to the data path.
The path cannot run at that frequency. Options are logic restructuring, gate upsizing, pipelining or lowering the clock frequency.