Updated 5 min readTiming Closure
Timing closure automation guide
Timing closure automation for digital blocks: STA checks, optimization levers, CTS, MCMM corners, OCV/AOCV/POCV, extraction and scripted ECO loops.
By the SkyCadEda engineering teamHow these notes are written
On this page
Timing closure automation means scripting the loop of STA, analysis and fixing so each iteration runs the same way: the same scenarios, the same reports, the same ECO steps. The tools (PrimeTime or Tempus for signoff, Fusion Compiler, ICC2 or Innovus for implementation) already contain the optimization engines; the automation decides what to run, compares results between iterations and stops when a check regresses.
Static timing analysis in brief
STA checks every constrained path without simulation vectors. For each endpoint it computes arrival time from the launching clock edge and required time from the capturing edge, the setup or hold requirement, clock uncertainty and derates. Slack is required minus arrival; negative slack is a violation. Besides setup and hold, signoff STA covers clock gating checks, recovery and removal on asynchronous resets and sets, and design rule checks on maximum transition, capacitance and fanout.
The reports a scripted loop collects after every run are short and stable. In PrimeTime, for example:
check_timing -verbose
report_global_timing
report_constraint -all_violators -max_delay -min_delay
report_timing -delay_type max -max_paths 50 -nworst 1
report_timing -delay_type min -max_paths 50 -nworst 1Run check_timing first: unconstrained endpoints, missing clocks or unexpanded generated clocks make every slack number below it meaningless.
Optimization levers through the flow
- Synthesis: logic restructuring, retiming (moving registers across combinational logic), choice of Vt and drive strength.
- Placement: moving cells on critical nets closer together, timing-driven placement weights.
- Sizing and Vt swapping: larger or lower-Vt cells for speed, at the cost of area, leakage and dynamic power.
- Buffering: repeaters on long wires to cut RC delay and fix transition violations.
- Layer assignment: promoting critical nets to thicker, lower-resistance upper metals.
- Useful skew: shifting clock arrival at chosen flops to lend time from paths with positive slack to critical ones.
Each implementation tool applies these in its own optimization commands (for example optDesign in Innovus, with -postCTS or -postRoute and -hold variants). The automation layer's job is to run them in a fixed order with fixed settings, so a change in results can be traced to a change in inputs.
Clock tree synthesis and timing
CTS builds the network that delivers the clock to every sequential element. Skew between launching and capturing flops adds to or subtracts from the budget of each path, and clock insertion delay sets how much on-chip variation the clock paths accumulate. Typical CTS settings include skew and transition targets, clock gate placement, and non-default routing rules for clock nets: double width and spacing, sometimes shielding. Those NDRs lower clock-net resistance and crosstalk and reduce electromigration risk on high-activity nets; they do not address IR drop, which is a power grid problem. Practical skew targets are in the tens of picoseconds, set per clock and node.
Multi-corner multi-mode signoff
A design has to pass in every mode it operates in (functional, scan shift, scan capture, sleep, retention) and at every PVT and RC corner that applies. On older planar nodes, worst setup is usually slow process, low voltage and high temperature. On FinFET nodes, temperature inversion often makes low temperature the slower case at low voltage, so the slow corner has to be analysed at both temperature extremes. Hold is usually worst at fast process and high voltage, but is checked across corners because clock and data paths do not scale equally.
Large SoCs at advanced nodes can need dozens of scenarios. PrimeTime (distributed multi-scenario analysis) and Tempus both run scenarios across multiple hosts. The script's job is to define the scenario list in one file, launch them, and merge the violator reports into one table per check type.
Statistical STA: from OCV to POCV
Flat OCV derates all launch or capture path delays by fixed percentages, which is increasingly pessimistic at advanced nodes. AOCV replaces the flat number with tables indexed by path depth and distance. POCV goes further: each cell arc has a mean delay and a sigma, normally from Liberty Variation Format (LVF) data in the library, and the tool combines the sigmas statistically along the path instead of adding worst cases. In PrimeTime, POCV analysis is enabled with set timing_pocvm_enable_analysis true. The reduced pessimism recovers slack that would otherwise be fixed with extra area and power.
Delay calculation and parasitic extraction
After routing, an extraction tool such as StarRC or Quantus computes the resistance and capacitance of every net using the foundry's extraction tech files, and writes them as SPEF. The STA tool reads SPEF together with Liberty models for each cell. At advanced nodes, resistance of narrow lower-metal wires and vias dominates many delays, so the RC corner (Cworst, RCworst, Cbest, RCbest and their variants) matters as much as the device corner. Crosstalk (SI) analysis adds coupling-induced delay changes and noise checks on top.
IR drop and power-aware timing
Supply droop on the power grid slows cells. Signoff flows therefore check that dynamic and static IR drop stay within the budget the timing libraries assume, and some flows feed per-instance voltage back into STA. Electromigration limits constrain wire widths and via counts on high-current nets. Multi-Vt libraries, voltage islands and DVFS add more scenarios, because paths must close at each supported voltage point.
ECOs and incremental closure
Late fixes go in as engineering change orders that touch as little of the placed and routed database as possible: sizing within the same footprint, buffer insertion, using spare cells for metal-only changes. Signoff tools can generate these fixes from the full scenario set; in PrimeTime, for example, fix_eco_timing -type setup and fix_eco_timing -type hold produce changes that are written out with write_changes and applied in the implementation tool. A scripted ECO loop applies the changes, re-extracts, re-runs STA on all scenarios and compares violator counts against the previous iteration, stopping if any check gets worse.
We build and run these loops as part of ASIC platform support, for designs at all process nodes, from mature-node IoT chips to 5nm and below.
Frequently asked questions
What is timing closure in semiconductor design?
Timing closure is the work of making every constrained path meet its setup, hold, transition and other timing checks at the target frequency, in every required mode and PVT corner. It runs through synthesis, placement, CTS and routing, and ends with signoff STA, which is one of several checks (with physical verification, EM/IR and others) that must pass before tapeout.
What is the difference between setup time and hold time violations?
A setup violation means data arrives too late to be captured by the next clock edge, so the path is too slow. A hold violation means data changes too soon after the capturing edge, so the path is too fast and the flop may capture the new value instead of the old one. Setup is fixed by speeding the path (sizing, buffering, better placement or layers); hold is fixed by adding delay. Hold does not depend on clock period, so a hold failure cannot be fixed by slowing the clock.
How does multi-corner multi-mode analysis work?
Each scenario combines a mode (functional, scan shift, scan capture, low-power states) with a corner (process, voltage, temperature and RC extraction corner). The design must pass in every scenario that applies. Setup is usually worst at slow process and low voltage, at high temperature on older nodes and often at low temperature on FinFET nodes because of temperature inversion; hold is usually checked at fast corners. Large SoCs at advanced nodes can need dozens of scenarios.
What are OCV, AOCV, and POCV in STA?
They model on-chip variation. Flat OCV applies one derate to all delays on the launch or capture side, which is pessimistic. AOCV uses derate tables indexed by path depth and distance, recognising that random variation partly averages out over longer paths. POCV models each arc delay as a mean plus a sigma, usually read from Liberty Variation Format (LVF) data, and combines them statistically along the path.
Related reading
- noteMulti-corner multi-mode timing analysis
- noteOn-chip variation in STA
- noteTiming exceptions and SDC review
- serviceASIC platform support
More engineering notes
Working through a problem like this?
Tell us about your flow: the tools, the PDK, what is failing and when it needs to be clean.