Every SDC file has a line like set_clock_uncertainty, and most engineers copy it from the previous project without asking where the number came from. Clock uncertainty is the margin that stands in for everything the timer does not model about the clock: jitter, clock skew that does not exist yet before CTS, and plain safety margin. Set it too small and silicon fails at speed; set it too large and you spend weeks fixing violations that are not real.
This post covers jitter types, why uncertainty hits setup and hold differently, how a budget is built and changes after CTS, inter-clock uncertainty, and debugging. The STA numbers come from a small hand-written netlist on the open ASAP7 predictive 7 nm library, timed with OpenSTA 2.3.1 (FF corner, pre-layout, no wire parasitics). The uncertainty values typed into the SDC are demo inputs; any number that is not a tool result is labelled illustrative.
What clock uncertainty means in STA
Static timing analysis assumes perfectly periodic clocks. Real ones are not: the PLL output wanders from edge to edge, the clock tree adds supply noise, and before CTS the tool does not know how late each flop’s clock will arrive.
Clock uncertainty is a single number (per clock, per check type, or per clock pair) that the timer subtracts from the setup window and adds to the hold requirement to cover these effects. In SDC it is written as:
set_clock_uncertainty -setup 60 [get_clocks clk]
set_clock_uncertainty -hold 20 [get_clocks clk]
It typically represents three things:
- Jitter: cycle-by-cycle variation of the clock edges, mainly from the PLL and from supply noise in the clock tree.
- Skew estimate: before CTS, clocks are ideal and every flop gets the clock at the same time. Uncertainty reserves room for the skew that CTS will add later.
- Margin: extra guard band for effects the flow does not model, or that the project wants to cover conservatively.
Latency shifts edges by a known amount; uncertainty is a margin for what is unknown or varies from cycle to cycle. The SDC constraints guide covers the other clock commands.
Clock jitter: period, cycle-to-cycle and TIE
Jitter is the deviation of clock edges from their ideal positions. It is measured in several ways that are not interchangeable:

- Period jitter: how much each period deviates from the mean period, measured over many cycles and quoted as RMS (one standard deviation) or peak-to-peak.
- Cycle-to-cycle jitter: the difference between two adjacent periods. JEDEC JESD65B defines it over a random sample of adjacent cycle pairs (see the SiTime note in the references). It needs no ideal reference clock.
- Time interval error (TIE): how far each edge sits from its ideal position. Because it is relative to an ideal clock, it accumulates period errors over many cycles, which is why it is also linked to long-term jitter.
For a normal single-cycle setup check, the launch and capture edges are one period apart, so period jitter is the number that matters. For a multicycle path the edges are N periods apart, and the relevant quantity is the N-cycle (long-term) jitter, which can be larger than single-period jitter. For half-cycle paths the variation of the high or low phase, often called duty-cycle jitter or duty-cycle distortion, matters instead.
Random vs deterministic jitter, and RMS vs peak-to-peak
Random jitter (from thermal noise) is usually modelled as Gaussian, so it has no hard peak value. To turn an RMS number into a peak-to-peak number you choose a probability, expressed as a bit error rate (BER). The Maxim/ADI note HFAN-04.0.2 tabulates the multiplier: peak-to-peak = α × RMS, with α = 14.069 at BER 10⁻¹² and 12.723 at 10⁻¹⁰.
Deterministic jitter (supply ripple, crosstalk on the clock, spread-spectrum modulation) is bounded and adds linearly. A common practice is to add deterministic parts linearly, combine independent random parts as root-sum-square (RSS), and then add margin.
How uncertainty enters the setup and hold checks
The setup and hold equations gain one extra term each:
- Setup: required time = T + capture clock latency − setup uncertainty − library setup time
- Hold: required time = capture clock latency + hold uncertainty + library hold time

The important difference is which edges are compared:
- Setup compares a launch edge with the next capture edge. Those are different edges of the source clock, so any period jitter between them is real and must be covered.
- Hold compares launch and capture on the same source edge. Jitter generated at the PLL affects both flops identically, so it largely cancels. What remains is skew (estimated before CTS, real after), noise picked up on the non-common branches of the clock tree, and margin. That is why hold uncertainty is usually smaller than setup uncertainty.
Real example: watching uncertainty in OpenSTA
The demo netlist has a setup-limited path (r1 → 8 inverters → r2), a hold-limited path (r3 → r4, Q wired straight to D), and a small hand-built clock tree where the capture branch has one more buffer than the launch branch. A second clock clk2 (1000 ps) captures r2 in flop r5. The base constraints:
create_clock -name clk -period 500 [get_ports clk]
create_clock -name clk2 -period 1000 [get_ports clk2]
set_input_delay 50 -clock clk [get_ports {din din2}]
set_output_delay 50 -clock clk [get_ports {dout dout2 dout3}]
set_load 1.0 [all_outputs]
set_input_transition 20 [all_inputs]
Worked example 1: pre-CTS, ideal clocks (real OpenSTA result)
With no uncertainty (R0), the setup path r1 → r2 has 406.84 ps slack and the hold path r3 → r4 has 21.72 ps. Then we add a typical-looking pre-CTS budget (R1): -setup 60 and -hold 20. The setup report gains one line:
500.00 500.00 clock clk (rise edge)
0.00 500.00 clock network delay (ideal)
-60.00 440.00 clock uncertainty
0.00 440.00 clock reconvergence pessimism
440.00 ^ r2/CLK (DFFHQNx1_ASAP7_75t_R)
-14.98 425.02 library setup time
425.02 data required time
-78.18 data arrival time
346.84 slack (MET)
Setup slack drops by exactly 60 ps to 346.84 ps, and hold slack drops by exactly 20 ps to 1.72 ps, still met. The timing report guide walks through every line of reports like this one.
Now tighten the period to 400 ps (R2) with the same uncertainty. Setup slack falls by 100 ps to 246.84 ps, but hold slack stays at 1.72 ps: the hold check uses the same edge, so period and setup uncertainty do not touch it. This is the fastest way to check whether a hold violation is “real”: changing the clock period never fixes or breaks a single-cycle hold check.
Worked example 2: post-CTS, the hold budget was too small (real OpenSTA result)
After CTS, clocks become propagated, so the timer uses the real insertion delay of each flop and real skew. Following the usual practice, we remove the skew part of the budget and keep only jitter and margin (R3): set_propagated_clock [all_clocks], -setup 30, -hold 10.
Hold r3 -> r4 (R3), excerpt of the OpenSTA report
0.00 0.00 clock clk (rise edge)
37.41 37.41 clock network delay (propagated)
31.92 69.33 v r3/QN (DFFHQNx1_ASAP7_75t_R)
69.33 data arrival time
0.00 0.00 clock clk (rise edge)
54.25 54.25 clock network delay (propagated)
10.00 64.25 clock uncertainty
-0.25 63.99 clock reconvergence pessimism
9.90 73.89 library hold time
-4.56 slack (VIOLATED)
The capture flop’s clock arrives 54.25 − 37.41 = 16.84 ps later than the launch flop’s. Real skew plus the 10 ps post-CTS uncertainty is about 26.8 ps, more than the 20 ps hold budget we assumed before CTS. Flop clock-to-Q and hold time also moved a little because the clock slew at the flops is now real (clock-to-Q of r3 went from 29.84 to 31.92 ps; hold time from 8.12 to 9.90 ps). Net result: a hold path that passed pre-CTS with 1.72 ps now fails by −4.56 ps. OpenSTA’s report_clock_skew -hold reports −17.09 ps for this clock (launch latency minus capture latency, including the 0.25 ps CRPR term), so the negative sign means the capture clock is late.
The same late capture clock helps setup: r1 → r2 still has 396.72 ps slack, the effect that useful skew exploits on purpose.
The 0.25 ps CRPR credit appears because the max and min delays through the shared clock buffers differ slightly (slew-dependent) even without derates. With OCV derates this term becomes much larger; see OCV, AOCV and POCV. CRPR removes pessimism from the common clock path; it never removes the uncertainty you typed in.
Fix (R6, real result): inserting one ASAP7 hold buffer HB1xp67 (14.56 ps on this path) between r3 and r4 brings hold slack to +8.18 ps, with 429.72 ps of setup slack left on that path. In a real flow this is what the router-stage hold fixing or an ECO would do, usually at the worst hold corner.

Worked example 3: inter-clock uncertainty and precedence (real OpenSTA result)
Paths between two clocks can need a different margin, for example when the clocks come from different PLL outputs. SDC lets you set it per clock pair:
set_clock_uncertainty -from [get_clocks clk] -to [get_clocks clk2] -setup 80
set_clock_uncertainty -from [get_clocks clk] -to [get_clocks clk2] -hold 25
On r2 → r5 (clk launch at 500 ps, clk2 capture at 1000 ps) the report shows -80.00 inter-clock uncertainty and setup slack 325.94 ps; hold slack is 47.38 ps with 25 ps inter-clock uncertainty. In a second run we also put a simple -setup 100 on clk2. The report still used 80 ps: the inter-clock value took precedence over the simple clock value. AMD’s UG903 documents the same rule for Vivado (“The inter-clock uncertainty always takes precedence over simple clock uncertainty, regardless of the order of the constraints”), and also reminds you to constrain both directions (clk→clk2 and clk2→clk).
Building an uncertainty budget
There is no universal number. A budget is built from your own inputs: the PLL datasheet, clock-tree analysis, and sign-off rules. The structure, though, is common:

Worked example 4: turning a PLL spec into a setup budget (illustrative)
Assume a PLL datasheet quotes 3 ps RMS period jitter (illustrative). At BER 10⁻¹², α = 14.069, so peak-to-peak period jitter ≈ 42.2 ps. Peak-to-peak spans both sides of the mean period; a setup check is hurt only by the short side, so many teams budget half of it, about 21.1 ps. Others use the full peak-to-peak value to be safe. Pick one and write it down.
Add illustrative terms:
| Term | Setup pre-CTS | Setup post-CTS | Hold pre-CTS | Hold post-CTS |
|---|---|---|---|---|
| PLL period jitter (one-sided) | 21 | 21 | 0 (cancels) | 0 (cancels) |
| Clock-tree / supply-induced jitter | 10 | 10 | 4 | 4 |
| Skew estimate (ideal clocks only) | 40 | 0 (real skew now) | 20 | 0 |
| Margin | 10 | 10 | 5 | 5 |
| Total (linear sum, ps) | 81 | 41 | 29 | 9 |
All numbers in this table are illustrative. The point is the shape: setup uncertainty is dominated by jitter and the skew estimate, hold uncertainty by the skew estimate, and the skew part disappears once clocks are propagated.
Two practical cautions:
- Do not double count. After CTS, real skew is already in the report as clock network delay. Leaving the pre-CTS skew estimate in the uncertainty penalises every path twice. The same applies to derates: if OCV/POCV derates already model clock-path variation, margin that was meant for that variation should come out of the uncertainty.
- Keep per-mode and per-corner values. In MMMC setups, jitter and margin can differ by mode (for example, a test mode with a different clock source) and by corner. Supply-induced jitter grows with IR drop on the clock tree.
Where the uncertainty value changes through the flow
| Stage | Clock model | What uncertainty covers |
|---|---|---|
| Synthesis | ideal | jitter + skew estimate + margin (often a little extra for unknown wires) |
| Placement | ideal | jitter + skew estimate + margin |
| Post-CTS | propagated | jitter + margin (skew now real) |
| Post-route / sign-off | propagated, with SI | jitter + sign-off margin; crosstalk on clock nets is analysed, not budgeted |
Block-level SDC should carry the same agreed values (time budgeting); a block timed with smaller uncertainty than the top level will fail on interface paths.
Uncertainty with generated clocks and other special cases
- Generated clocks are separate clock objects, so do not assume they inherit the master’s uncertainty; check in the report that divided and gated clocks get the value you intend (generated clocks in STA).
- Half-cycle paths are hit by duty-cycle variation, which a rise-to-rise uncertainty does not fully represent. Some flows add
-rise_from/-fall_tostyle inter-clock edge uncertainty or model duty cycle through the clock waveform. - Multicycle paths get one uncertainty value, not N, so if the PLL has significant long-term jitter, review the margin on long MCPs.
- Asynchronous crossings are not timed once clock groups are set (metastability and synchronizers).
- Clock gating checks on ICG cells are clock-to-clock-pin checks, so review what uncertainty your tool applies to them; tight gating checks are often hard to meet because the ICG sits early in the clock tree, so its clock arrives before the clock at the flops that launch the enable.
Debugging uncertainty-related violations

A practical checklist:
- Read the uncertainty line in the report. If it is not the value you expect, find which SDC file set it last; the
inter-clock uncertaintylabel tells you which form was applied. - Look for inter-clock overrides. A stale
-from/-tovalue wins over the simple value. Check both directions. - Check the CTS state. Ideal clocks with a post-CTS budget will be optimistic; propagated clocks with a pre-CTS budget double count skew.
- Separate real skew from budget. If hold fails only after CTS, compare the real skew (
report_clock_skew) with the skew you budgeted pre-CTS. A large mismatch means either the CTS skew target or the budget was wrong. - Do not trim margin to close timing without the sign-off lead’s agreement.
- Fix the real path (sizing, restructuring, placement, useful skew), then re-time every mode and corner.
Interview questions and answers
1. What is clock uncertainty and what does it include?
A margin applied to clock edges in STA to cover jitter, the skew estimate before CTS, and extra guard band. It reduces the setup window and increases the hold requirement.
2. Why is hold uncertainty usually smaller than setup uncertainty?
Hold compares launch and capture on the same source clock edge, so PLL jitter is common to both flops and largely cancels. Setup compares consecutive edges, so period jitter is fully visible.
3. Does changing the clock period affect hold slack?
Not for a single-cycle path. In the OpenSTA demo, going from 500 ps to 400 ps cut setup slack by 100 ps and left hold slack at 1.72 ps.
4. Why should uncertainty change after CTS?
Before CTS, clocks are ideal and uncertainty must reserve room for skew. After CTS, real skew is in the clock network delay, so keeping the skew estimate in uncertainty counts it twice.
5. A hold path passes pre-CTS and fails post-CTS. Why?
Real skew on that pair is larger than the pre-CTS hold budget, and clock slew changes clock-to-Q and hold time. In the demo, 16.84 ps of real skew plus 10 ps uncertainty exceeded the 20 ps budget: 1.72 ps became −4.56 ps.
6. What is inter-clock uncertainty?
Uncertainty set for a specific launch/capture clock pair with -from/-to (or -rise_from, -fall_to). It takes precedence over the simple per-clock value.
7. How do you convert RMS jitter to a peak-to-peak value?
Multiply by a BER-dependent factor: 14.069 at BER 10⁻¹² for Gaussian random jitter. Deterministic jitter is added linearly.
8. Does CRPR remove clock uncertainty?
No. CRPR removes the pessimism from different early/late delays on the common clock path. User-specified uncertainty stays in the report.
FAQ
Is clock uncertainty the same as clock skew?
No. Skew is the difference in clock arrival between two flops. Uncertainty is a margin that, before CTS, includes an estimate of skew along with jitter and margin.
Where do jitter numbers come from?
From the PLL or oscillator datasheet (or the PLL IP’s characterisation), plus clock-tree analysis for supply-induced jitter. Teams then agree a budget in their sign-off guidelines.
Can I set uncertainty on a pin instead of a clock?
SDC allows set_clock_uncertainty on clock pins or ports as well as clocks, for local margin. Use it sparingly; it is easy to forget.
Summary
- Clock uncertainty is a margin for jitter, the pre-CTS skew estimate and guard band. It subtracts from setup and adds to hold.
- Use period jitter for single-cycle setup checks; source jitter largely cancels on hold checks.
- Remove the skew estimate once clocks are propagated, and do not double count margin that derates already cover.
- Hold uncertainty and real skew must be checked together: in the OpenSTA demo, 16.84 ps of real skew turned a +1.72 ps pre-CTS hold slack into −4.56 ps, fixed with one hold buffer (+8.18 ps).
- Inter-clock uncertainty overrides the simple value; keep both directions current.
References
- SiTime, AN10007: Clock Jitter Definitions and Measurement Methods: sitime.com application note
- Maxim Integrated / Analog Devices, HFAN-04.0.2: Converting between RMS and Peak-to-Peak Jitter at a Specified BER: analog.com application note
- AMD, Vivado Design Suite User Guide: Using Constraints (UG903), sections “Clock Uncertainty” and “Additional Clock Uncertainty”: UG903 v2023.1 PDF
- OpenSTA static timing analyzer, Parallax Software: github.com/parallaxsw/OpenSTA
- L. T. Clark et al., “ASAP7: A 7-nm finFET predictive process design kit,” Microelectronics Journal, vol. 53, pp. 105–115, 2016. DOI: 10.1016/j.mejo.2016.04.006






