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.

In shortHow tools prove that a chip meets its clock speed without simulating.

Theory in plain words

Timing pathlaunch FF (clk-to-Q)combinational logic + wirescapture FF setupslack = required - arrival
Timing path

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

Is the path fast enough?Try it Yourself

Setup violations are fixed by slower clocks or faster logic. Hold violations are independent of the clock period and are fixed by adding delay.

CornerProcess / Voltage / TempUsed to check
Slow (SS)slow transistors, low V, hotsetup (max delay)
Fast (FF)fast transistors, high V, coldhold (min delay)
Typical (TT)nominalpower estimates
OCV / AOCV / POCVon-chip variation modelsmargin on real silicon

Quick quiz

1. Hold violations are fixed by...

2. Slack = ?