- Introduced by
- Harish Bhatnagar
- Year
- 1995
- Type
- Non-simulation timing verification for digital circuits
- Family
- Digital circuit verification
What does it do?
Static Timing Analysis (STA) is a non-simulation method for checking whether a synchronous digital circuit meets its timing requirements, such as clock period, setup and hold constraints, and propagation delays.
It computes path delays from the gate-level netlist and the timing library rather than from simulated input vectors.
The intuition behind the method
Data launched from one register must arrive at the next register before the capturing clock edge, minus a setup requirement, and must not change too soon after that edge, which is the hold requirement. Instead of simulating input vectors to expose violations, STA traverses the circuit graph and sums cell and wire delays along each path. The slowest path bounds setup and the fastest path bounds hold. Because the delays come from the netlist and the timing library, the result does not depend on which input patterns are applied, although it can be pessimistic about paths that would never be sensitised in operation.
History
STA is a non-simulation approach to timing verification of digital circuits, and Bhatnagar and Bhatnagar (1995) is a primer that covers the subject. As circuit complexity grew, exhaustive simulation became impractical for timing sign-off, which helped STA come into wide use. Shen et al. (2003) present fast algorithms for static timing analysis. OpenTimer is an open-source software implementation of the method, and STA tools, both commercial and open-source, are now standard in mainstream digital design flows.
When to use it
Use STA for sign-off timing checks of synchronous digital designs once a gate-level netlist, a timing library and timing constraints exist, and repeat it after each change to the design during timing closure. It is best suited to asking whether every path meets its constraints across the modelled operating conditions. Do not rely on STA alone to confirm functional behaviour; simulation or formal methods answer that question. Do not use it as the main check for designs with asynchronous behaviour, or where the constraints are incomplete, because the results then depend on assumptions that are not stated in the netlist. Physical design rule checks are a separate step.
Limitations and considerations
- Pessimistic by construction: worst-case slews, loads and operating conditions can overestimate delays for paths that do not switch in that way
- Multicycle paths, false paths and other exceptions are not inferred from the netlist; they must be specified as constraints, and an incorrect constraint silently changes the result
- Accuracy depends on the timing library; inaccurate cell delay models propagate directly into slack values
- STA checks timing only; it says nothing about whether the logic computes the intended function
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Fast: the whole circuit is analysed without simulating input vectors, so turnaround is short enough to repeat during design iterations
- Covers every structural path in the timing graph rather than only the paths exercised by a test set
- Slack and critical-path reports show which paths to optimise, making changes targeted
- Works from the netlist and library alone, so timing can be checked before silicon is available
Applications
- Timing closure and sign-off verification in digital IC design
- Critical-path identification to guide cell sizing, buffering and routing changes
- Clock skew and clock tree timing checks
- Timing checks across multiple operating conditions, such as process, voltage and temperature corners
How it works
How it works
Obtain the gate-level netlist, the timing library (cell delays and transition times), and the design constraints, such as the clock period and the input and output delays.
Build a timing graph in which nodes represent pins or nets and edges carry cell and wire delays. Assign input transition times and output load capacitances, since these set each gate's delay.
Propagate arrival times through the graph in topological order, tracking the latest arrival for setup and the earliest arrival for hold at each node. The path with the maximum arrival time defines the critical path.
Apply the constraint checks. For setup, the latest data arrival plus the setup requirement must not exceed the capturing clock edge. For hold, the earliest data arrival must not fall before the hold requirement after the same clock edge. In a single-clock design, the setup check is made against the capturing edge that follows the launching edge by one cycle, and the hold check against the same edge as the launch. Skew is the difference in clock arrival time at the capturing and launching registers, and it enters both checks.
Report the slack on each path, in time units such as picoseconds, for each analysed corner and mode (for example setup and hold under each process, voltage and temperature corner). Negative slack marks a violation. Also report the critical paths and the paths that most limit the worst slack, so that cell sizing, routing or buffering changes can be targeted. A clean report holds only for the corners, modes and constraints that were analysed. Corners that were not run, and paths left unconstrained, are outside the result.
Common pitfalls
- Estimating delays from one operating point: cell delay depends on input transition and output load, so a value read at one point can be wrong elsewhere
- Treating only the single worst path as the target: after a fix, other paths can become critical, so the timing report must be re-run and reranked
- Trusting library data without checking it: errors in timing libraries pass into every reported slack
- Optimising one path at the cost of others: a local improvement can worsen neighbouring paths, so the global slack distribution needs to be checked
Frequently asked questions
What is the difference between setup and hold violations?
A setup violation means data arrives too late relative to the capturing clock edge to meet the setup requirement. A hold violation means data changes too soon after the same edge to meet the hold requirement. Both must be met for the circuit to operate correctly.
What is timing slack and why does it matter?
Slack is the margin between the timing requirement and the actual delay. Non-negative slack means the constraint is met; negative slack is a violation. Non-negative slack meets the constraint at each analysed corner. Additional margin beyond what the design corners require is not needed and may cost area or power.
How do I optimise a critical path?
Reduce cell delays by resizing transistors or choosing faster cells, reduce parasitic capacitance through routing or placement changes, or reduce fanout by adding buffers or duplicating logic. Re-running STA after each change shows its effect on the worst slack.
How accurate is STA compared with actual silicon?
STA uses conservative assumptions, so silicon can run faster than the reported worst case. Process variation, temperature and voltage can also make silicon slower than a nominal analysis predicts. Derating and corner analysis are used to account for these effects, and the margin needed depends on the design and the libraries.
Related methods
Sources
Bhatnagar, H., & Bhatnagar, R. (1995). Static timing analysis: A primer. In VLSI Handbook (pp. 1-25). CRC Press.
Open publication referenceShen, A., Ghosh, A., Madden, S. H., & Sorkin, F. (2003). Fast algorithms for static timing analysis. In Proc. ICCAD (pp. 126-131). IEEE.
Open publication referenceBerkelaar, M., Duffack, M., Flach, G., & Hartoog, R. (2007). OpenTimer: An open-source static timing analyzer. Proc. International Symposium on Circuits and Systems.
Open publication reference