Updated 4 min readStatic Timing Analysis
On-chip variation in static timing
How OCV derates work in STA: setup and hold derate direction, CRPR, AOCV tables, POCV with LVF, and the PrimeTime and Tempus settings that control them.
By the SkyCadEda engineering teamHow these notes are written
On this page
On-chip variation (OCV) is how static timing analysis accounts for delay differences between paths inside one corner. The tool slows some arcs and speeds up others so that, for setup, the launch side is late and the capture clock is early, and the reverse for hold. Flat derates, AOCV tables and POCV with LVF data are three ways of choosing how much.
Why a single delay model breaks down
Corner-based STA times every path against one library view, for example a slow corner for setup and a fast one for hold, as if the whole die sat at one process point, voltage and temperature. On a real die, transistor thresholds, wire dimensions, local IR drop and temperature vary from region to region. A path's launch flop and capture flop may sit in different conditions. Timing that path with one flat corner ignores the difference; assuming every element is at its own worst extreme at once is physically impossible and wastes area and power.
Setup and hold derate direction
A setup check fails when data arrives too late, which is worst if the launch clock and data path are slow and the capture clock is fast. So setup analysis applies the late derate to launch clock and data arcs and the early derate to the capture clock. A hold check fails when new data arrives too early, which is worst with a fast launch and a slow capture clock, so the derates swap. A swapped pair can pass every check while covering none of the real risk, so derate settings deserve the same review as the SDC.
In PrimeTime, a flat OCV setup looks like this (values are placeholders; use your signoff plan's numbers):
# Flat OCV derates: slow the late side, speed up the early side
set_timing_derate -late 1.05 -cell_delay
set_timing_derate -early 0.95 -cell_delay
set_timing_derate -late 1.03 -net_delay
set_timing_derate -early 0.97 -net_delay
# Remove the pessimism on the shared clock path (CRPR)
set_app_var timing_remove_clock_reconvergence_pessimism true
report_timing_derateTempus and Innovus use the same set_timing_derate command name; OCV analysis and pessimism removal are switched on through the tool's analysis-mode settings. Cadence calls CRPR "CPPR" (clock path pessimism removal).
Choosing derate values
Derates estimate the spread that corner analysis misses, and they come from the foundry signoff guidelines, the library vendor, and silicon correlation data, not from guesswork during closure. Too small, and marginal paths escape to silicon; too large, and closure spends buffers, upsized cells and power on a modelling artefact. Keep derates in a versioned file that every run sources, change them only through review, and re-run affected corners when they change. Slack numbers are only comparable across runs made with the same variation settings.
Common path pessimism removal
Naive derating also applies to the part of the clock network that launch and capture share. That shared segment is counted slow on one side and fast on the other, although one piece of silicon cannot disagree with itself. CRPR finds the common point and credits back the difference. Without it, pessimism concentrates on paths with a large shared clock segment, often short paths where hold margin is tightest. Check that CRPR is enabled in every run and look at the CRPR credit in report_timing output on critical paths.
AOCV and POCV
A flat derate treats a two-stage path and a twenty-stage path alike, although random variation partly averages out over many stages. Advanced OCV (AOCV) looks up the derate from tables indexed by path depth and distance, so short, local paths get larger derates and long paths smaller ones. It needs well-characterized tables from the library provider.
Parametric OCV (POCV in PrimeTime, SOCV in Tempus) goes further: each timing arc carries a mean delay and a sigma, normally from Liberty Variation Format (LVF) tables in the .lib, and the tool combines sigmas along the path instead of multiplying by a fixed factor. At FinFET nodes this has largely replaced AOCV tables for signoff. In PrimeTime it is enabled with set_app_var timing_pocvm_enable_analysis true; the libraries must contain LVF data or a separate variation file must be read.
Keeping OCV settings auditable
OCV is one dimension of the signoff matrix of modes, corners and constraint sets (see multi-corner multi-mode timing analysis). Record the derate file or variation mode, the CRPR setting and the corner list in every run's log, so a slack change between two runs can be traced to a design change and not a settings change.
Common failure modes
- Derates applied for setup but not hold, leaving short paths exposed.
- CRPR disabled, so closure adds buffers to fix pessimism that is not physical.
- Different OCV settings between regression runs, which corrupts trend data.
- One chip-wide derate where the signoff plan specifies values per corner.
- POCV enabled with libraries that lack LVF data, so some arcs carry no variation at all. Check the tool's messages after linking.
Frequently asked questions
What problem does on-chip variation solve that best-case and worst-case corners do not?
A corner assumes the whole die sits at one process, voltage and temperature point. In reality the launch clock path, the capture clock path and the data path can each be slightly faster or slower. OCV models that local spread by timing launch and capture paths differently within one corner.
Why are setup and hold derated in opposite directions under OCV?
Setup is worst when the launch clock and data are slow and the capture clock is fast, so launch and data get the late derate and capture gets the early derate. Hold is worst when launch and data are fast and capture is slow, so the assignments swap.
What is the difference between AOCV and POCV?
AOCV looks up a derate from tables indexed by logic depth and distance, so short paths get larger derates than long ones. POCV (SOCV in Tempus) gives each timing arc a mean delay and a sigma, usually from Liberty Variation Format (LVF) data, and combines sigmas statistically along the path. At FinFET nodes POCV with LVF has largely replaced AOCV tables for signoff.
What should a team check before trusting an OCV signoff report?
That the derates or variation data match the signoff plan for each corner, that CRPR (CPPR in Cadence tools) is enabled, that hold was run with the same variation settings as setup, and that the run log records the libraries, derates and constraint files used.
Related reading
- noteMulti-corner multi-mode timing analysis
- noteClock Tree Synthesis Without Skew Traps
- noteTiming Exceptions Without Signoff Gaps
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.