Home / Learn Chip Programming / Static Timing Analysis (STA): Setup, Hold, Slack, Corners
Static Timing Analysis (STA): Setup, Hold, Slack, Corners
How tools prove that a chip meets its clock speed without simulating.
Theory in plain words
What it is
STA analyses every path between flip-flops. Setup check: the data must arrive before the next clock edge minus setup. Hold check: the data must not change too soon after the edge. Slack = required time - arrival time.
Why we use it
Timing closure decides final clock frequency. Timing questions appear in every VLSI interview.
How it works
For each path: arrival = clock-to-Q + logic delay + wire delay. Required = period + capture clock arrival - setup. Check at several PVT corners (process, voltage, temperature).
Where it is used
- Physical design engineers
- FPGA timing closure
- Interview questions
Slack calculator
Setup violations are fixed by slower clocks or faster logic. Hold violations are independent of the clock period and are fixed by adding delay.
| Corner | Process / Voltage / Temp | Used to check |
|---|---|---|
| Slow (SS) | slow transistors, low V, hot | setup (max delay) |
| Fast (FF) | fast transistors, high V, cold | hold (min delay) |
| Typical (TT) | nominal | power estimates |
| OCV / AOCV / POCV | on-chip variation models | margin on real silicon |
- Fix setup: pipeline, retime, resize cells, reduce load, use faster VT cells.
- Fix hold: insert buffers on short paths (clock skew makes it worse).
- Multi-cycle and false paths must be declared in SDC constraints.
- OpenSTA is the free signoff-quality STA engine inside OpenROAD.
Quick quiz
1. Hold violations are fixed by...
They are independent of clock period.
2. Slack = ?
Positive slack means timing is met.