SDF back-annotation is the step where delays calculated by a timing tool are written to a Standard Delay Format (SDF) file and loaded into another tool, usually a gate-level simulator, so the simulation runs with the real cell and wire delays of the placed and routed design instead of zero or unit delays. When it goes wrong, it rarely stops the run: the tool finishes, prints a few warnings, and reports results that look better than the silicon will be.
This post covers what an SDF file contains, how the simulator and STA tools use it, and the ways annotation fails quietly. All the numbers come from real runs: OpenSTA 2.3.1 and OpenROAD on the open ORFS aes_cipher_top design with the ASAP7 7 nm predictive libraries (RVT, FF corner, 380 ps clock, post-CTS, placement-based parasitics), and Icarus Verilog 13.0 on a small hand-written netlist. Anything that is not a tool result is labelled illustrative. If you are new to delay calculation, read static timing analysis and NLDM vs CCS vs ECSM delay models first.
What is SDF back-annotation?
A delay calculator (inside STA or a sign-off timer) takes the gate-level netlist, the Liberty timing libraries for one corner, and the extracted parasitics (SPEF). It computes a delay for every cell arc and every net arc. write_sdf dumps those numbers, plus the setup, hold and other check limits, into a text file. A simulator reads it with $sdf_annotate, and each value replaces the default delay in the matching specify block of the Verilog cell model. Another timing tool can also read it with read_sdf and use the numbers instead of calculating its own.

The key limit is in the last line of the figure. SDF holds delays and check limits only. It does not hold slews, loads, parasitics or the clock definitions. The reader cannot recompute anything. If an arc is not in the file, or cannot be matched to the netlist, it is simply not annotated, and the tool falls back to whatever default it has.
SDF was standardised as IEEE Std 1497-2001 (later adopted as IEC 61523-3:2004). Version 3.0 is what most tools write today, including OpenSTA.
Anatomy of an SDF file
Here is a trimmed real excerpt of the SDF that OpenSTA wrote for the aes design:

The parts you need to read:
- Header.
SDFVERSION,DESIGN,DIVIDER(hierarchy separator) andTIMESCALE. A wrong divider breaks every hierarchical name. - CELL / CELLTYPE / INSTANCE. One block per instance. The instance path must match the netlist exactly, relative to the scope where the file is annotated.
- DELAY ABSOLUTE. Values replace the defaults (
INCREMENTwould add to them). - IOPATH. A cell arc from an input to an output. With two values, the first is the output rise delay and the second the output fall delay.
- INTERCONNECT. A wire delay from a driver pin to one load pin. In OpenSTA’s output these sit in the top-level cell block.
- COND. A state-dependent arc, for example the XNOR
B -> Ydelay whenAis 0. These come fromwhenconditions in Liberty (see timing arcs in STA). - TIMINGCHECK.
SETUP,HOLD,SETUPHOLD,RECOVERY,REMOVAL,WIDTH,PERIODand others. OpenSTA wrote separateSETUPandHOLDentries per data edge. - Triplets. Every number is
min:typ:max. OpenSTA writes the min (early) and max (late) values and leaves typ empty unless you usewrite_sdf -include_typ. That empty field matters later.
Some real counts from the aes file (7.47 MB, written with write_sdf -digits 3):
| SDF construct | Count in aes.sdf | Matches in the design |
|---|---|---|
| CELL blocks | 9,979 | 1 top-level block + one per cell instance |
| IOPATH lines | 64,660 | 64,660 cell arcs |
| INTERCONNECT lines | 28,249 | 27,529 internal + 591 input + 129 output net arcs |
| Lines with COND | 37,102 | state-dependent arcs |
| SETUP / HOLD | 1,124 / 1,124 | 562 flops x 2 data edges |
| SETUPHOLD, WIDTH, RECOVERY, REMOVAL, PERIOD | 0 | not written for these cells |
Note that some of the check values are negative (for example SETUP (negedge D) (posedge CLK) (-2.908::-2.577)). That is normal for flops with internal delays; see negative setup and hold time. Simulators need to support negative limits for these to work, and many need a switch to enable them.
How the simulator uses SDF
In a gate-level simulation, each Verilog cell model has a specify block with module paths ((A => Y) = ...) and timing checks ($setup, $hold, $setuphold, $width). $sdf_annotate("file.sdf", scope) matches each SDF entry to an instance below scope and overwrites those values. When a data change violates a check, the model’s notifier register toggles and the flop output usually goes to X. That is how timing simulation finds setup and hold problems.
This only works if specify delays are enabled, the selected triplet has values, and the simulator supports the checks. Our Icarus run hit all three.
Real run: a 10-cell chain in Icarus Verilog 13.0
The netlist is two DFFHQx4 flops with five INVx1 and five BUFx2 cells between them (r1 -> u1..u10 -> r2). We wrote our own minimal cell models with specify blocks for this demo (not the ASAP7 distribution models). OpenSTA timed it with the ASAP7 FF libraries, a 2 fF load on each net (an illustrative load, chosen to make delays visible), and wrote the SDF. The STA results:
- Max arrival at
r2/D: 194.76 ps (rising data), library setup 8.51 ps. Zero setup slack is reached at about 203.3 ps clock period (STA slack −1.27 ps at 202 ps, +0.73 ps at 204 ps). - Min arrival 190.94 ps, hold 6.36 ps, so hold is not a concern here.
What Icarus did with that SDF:
- Without
-gspecify, Icarus ignores specify-path delays. The run is a zero-delay simulation, SDF or not. - Without
-ginterconnect, every INTERCONNECT line failed withCould not find net. Did you run iverilog with '-ginterconnect'?. - With
-Ttyp(the default typical delays), nothing was annotated, because OpenSTA left typ empty. Icarus printedChosen value not definedonly for two header lines (VOLTAGE and TEMPERATURE), not for the delays. At a 180 ps period, far below the 203 ps limit, the simulation reported 0 mismatches. Rewriting the SDF with-include_typgave 94 mismatches at the same period. - With
-Tmax, delays were applied. The clock edge at 150 ps producedr1/Qat 196 ps (150 + 45.854 ps clock-to-Q fall from the SDF, rounded to the 1 ps precision) andr2/Dat 345 ps, matching STA’s 194.76 ps arrival. - Timing checks. Icarus 13.0 printed
Timing checks are not supportedfor the$setup/$holdlines andTIMINGCHECK not supportedfor the SDF checks. So the setup requirement never fired.
Then we swept the clock period and compared the captured data with the expected sequence over about 196 checked cycles:

| Clock period (ps) | STA setup slack (ps) | Zero-delay sim | SDF sim (-Tmax) |
|---|---|---|---|
| 180 | −23.27 | 0 mismatches | 94 mismatches |
| 194 | −9.27 | 0 | 96 |
| 196 | −7.27 | 0 | 0 |
| 202 | −1.27 | 0 | 0 |
| 204 | +0.73 | 0 | 0 |
Between 196 and 202 ps, the simulation passes while STA fails. The simulator only fails when the data arrives after the clock edge; it does not know the flop needs 8.51 ps of setup because the check is not modelled. In a commercial simulator with timing checks on, you would see a setup violation message and an X instead. An SDF simulation that passes is not timing sign-off. STA is.
One note on Icarus: its current development documentation describes new support for timing checks and some COND records. The 13.0 stable build we used does not have it, so check your version before relying on it.
How STA uses SDF (and where it differs)
read_sdf in an STA tool replaces the delay calculator with the file’s numbers. That is useful for checking an SDF, but it is not the same as native timing. We timed the aes design two ways: OpenROAD with its own parasitics (reference) and plain OpenSTA reading the written netlist, the SDC and the SDF.
- Coverage was complete: 92,909 of 92,909 delay arcs and 1,124 of 1,124 checks annotated (
report_annotated_delay,report_annotated_check). - WNS matched: −235.10 ps both ways.
- TNS did not: −25,501.22 ps native vs −25,244.23 ps from SDF. Per endpoint, 104 of 691 setup endpoints differed by more than 0.02 ps (up to 6.20 ps optimistic), and 540 of 691 hold endpoints differed (up to 2.16 ps).
Tracing one path showed why. On an XNOR2x2 (a non-unate cell), the native run used 49.07 ps for B rise -> Y fall, which equals the COND ~A entry in the SDF (49.067). After read_sdf, the same arc used 42.87 ps, the unconditional entry. On the hold side, a flop’s library hold time was 10.48 ps natively (the min field of HOLD (negedge D) ... (10.476::9.231)) and 9.23 ps after reading the SDF. We are describing what this OpenSTA 2.3.1 round trip did, not claiming every tool behaves the same. The point is that conditional arcs and triplet selection are where SDF round trips lose accuracy, so compare against native timing before you trust them. Also, slews printed in the report changed completely, because SDF carries no slews and the reader recomputes them without parasitics.
How annotation fails quietly (real aes results)
We then broke the SDF on purpose, in the ways it breaks in real projects:

| Scenario | Warnings | Arcs not annotated | WNS (ps) | TNS (ps) |
|---|---|---|---|---|
| Native timing with parasitics | – | – | −235.10 | −25,501.22 |
| Full SDF | 0 | 0 | −235.10 | −25,244.23 |
| One instance renamed (post-ECO netlist, old SDF) | 2 | 6 cell arcs | −233.80 | −25,242.93 |
All 562 DFFHQx4 blocks removed |
0 | 562 cell arcs, 1,124 checks | −235.87 | −27,143.95 |
| All INTERCONNECT lines removed | 0 | 28,249 net arcs | −127.53 | −11,652.83 |
Wrong scope (read_sdf -path u_top) |
66,476 | everything | −79.62 | −5,759.34 |
Three things stand out:
- Missing wire delays almost halve the violation. On the worst path, arrival at
_19113_/Ddropped from 706.12 ps to 595.44 ps: 110.68 ps of wire delay disappeared, with no warning. A stripped or partial SDF is easy to get when a script filters the file or a tool writes only cell delays. - A wrong scope annotates nothing, and the run still finishes. The result equals timing with no SDF at all (−79.62 ps, the same as a run without parasitics). 66,476 warnings scroll past; the summary looks like an improvement.
- A stale SDF after an ECO leaves the changed cells unannotated. Here it was one cell and 1.30 ps, but on a real ECO it is every changed or new cell. See ECO in physical design.
The pattern: incomplete annotation never makes timing worse. It makes it look better. So always check the annotation coverage report (or the simulator’s SDF log), and fail the run on any unannotated arc you did not expect.
Debugging SDF back-annotation: flowchart

A practical checklist:
- Same netlist, same SDF. Write the SDF from exactly the netlist the simulator reads, after the last ECO. Check names with escaped characters and bus bits.
- Scope and divider. The second argument of
$sdf_annotate(orread_sdf -path) must be the instance the SDF’sDESIGNrefers to, for exampletb.dut. - Triplet selection. Know which field your simulator uses and whether your writer fills it. Our empty typ field gave a zero-delay run with no delay error.
- Specify and interconnect enabled. Some simulators need switches for path delays, interconnect delays, pulse handling and negative checks.
- Checks on. Make sure the cell models have the checks and the simulator has not disabled them (for example with a no-timing-check switch used to speed up regressions).
- One SDF per corner. A slow-corner SDF for setup-like behaviour, a fast-corner SDF for hold and races. Match the SDC mode as well. See MMMC in STA.
Worked example: reading an SDF path by hand (illustrative)
The numbers here are illustrative, not from a tool. A flop launches through a wire, a NAND2 and another wire into a capture flop, with ideal clocks. Using the max field of each triplet:
- Launch flop
IOPATH CLK Q (40::45) (38::43): Q rises in 45 ps. INTERCONNECT u1/Q u2/A (3::4): 4 ps.- NAND2
IOPATH A Y (20::25) (18::23): the output falls, so use the second triplet, 23 ps. INTERCONNECT u2/Y u3/D (6::8): 8 ps.- Capture flop
SETUP (negedge D) (posedge CLK) (11::12): D is falling, so the limit is 12 ps.
Arrival = 45 + 4 + 23 + 8 = 80 ps. At a 100 ps period, D settles 20 ps before the edge, which meets the 12 ps limit. At 90 ps it settles 10 ps before the edge: a simulator with timing checks reports a setup violation and the notifier drives the flop to X. A simulator without timing checks still captures the right value, because the data did arrive before the edge. That is exactly the gap our Icarus run showed.
Interview questions and answers
1. What is SDF back-annotation and why is it used?
It loads delays and check limits calculated from the netlist, libraries and parasitics into a simulator or another timing tool, so gate-level simulation checks resets, X-propagation, asynchronous paths, exceptions and test patterns with realistic delays.
2. What is the difference between IOPATH and INTERCONNECT?
IOPATH is a cell arc (input pin to output pin of one instance). INTERCONNECT is a wire arc from a driver pin to a load pin.
3. What does a triplet like (1.2:1.5:1.9) mean?
Min, typ and max values. The simulator or tool picks one field. If the chosen field is empty, the value is not annotated.
4. If SDF simulation passes, is timing signed off?
No. Sign-off is STA across all modes and corners. In our run the simulation passed at 196 to 202 ps while STA showed up to −7.27 ps of setup slack, because the simulator did not model the setup check.
5. Why might an STA run that reads SDF differ from native STA?
SDF has no slews or parasitics, and conditional or non-unate arcs may be resolved differently. In our aes round trip, WNS matched but TNS differed by about 257 ps, with up to 6.20 ps per endpoint.
6. How do you know the annotation is complete?
Check the annotation report (report_annotated_delay and report_annotated_check in OpenSTA) or the simulator’s SDF log. Any unannotated arc or “not found” warning needs an explanation.
7. What happens to negative setup or hold values in SDF?
They are legal and common. The simulator must support negative limits, which it usually does by internally delaying the data or clock signal in $setuphold/$recrem. Without that support, negative values are typically treated as zero.
8. Why do we need separate SDF files per corner?
Delays and check limits change with process, voltage, temperature and RC corner. Setup-style problems show at slow corners and hold races at fast corners.
FAQ
Is SDF still used if STA does sign-off?
Yes. STA proves timing; SDF simulation catches things STA does not model, such as wrong timing exceptions, reset and initialisation problems and X-propagation. For clock domain crossings, use structural CDC checks as well; see metastability and synchronizers.
Can SDF hold clock definitions or constraints?
No. It holds delays and check limits. Clocks, exceptions and modes stay in the SDC.
Does SDF include crosstalk delay?
Only if the writer folded it into the delays it wrote. SDF has no separate field for it. See crosstalk in VLSI.
Why are some SDF values negative?
Flop internal delays can make setup or hold negative. See negative setup and hold time.
What does a “pin not found” or “instance not found” warning mean?
The SDF names do not match the netlist below the annotation scope. Fix the scope, the divider, escaped names, or regenerate the SDF after an ECO.
Summary
- SDF carries cell (IOPATH) and wire (INTERCONNECT) delays, conditional arcs (COND) and check limits (TIMINGCHECK) as min:typ:max triplets, but no slews, loads, parasitics or clocks.
- Incomplete annotation makes results look better: no INTERCONNECT changed WNS from −235.10 to −127.53 ps; a wrong scope annotated nothing and gave −79.62 ps, with only warnings.
- In Icarus Verilog 13.0, you need
-gspecifyand-ginterconnect, the right triplet (-Tmaxfor an OpenSTA min::max file), and you get no timing checks. A pass at 196 to 202 ps hid a real setup failure. - A
read_sdfround trip matched WNS but not TNS (conditional arcs, check-value selection). - Always read the annotation coverage report and sign off with STA. For reading the reports themselves, see how to read a timing report and setup and hold violations.
References
- IEEE Std 1497-2001, IEEE Standard for Standard Delay Format (SDF) for the Electronic Design Process (later IEC 61523-3:2004): standards.ieee.org/ieee/1497/2235
- 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
- ASAP7 libraries and the
aesdesign as packaged in OpenROAD-flow-scripts: github.com/The-OpenROAD-Project/OpenROAD-flow-scripts - OpenSTA static timing analyzer, Parallax Software (
write_sdf,read_sdf,report_annotated_delay,report_annotated_check): github.com/parallaxsw/OpenSTA - Icarus Verilog documentation, command-line flags (
-gspecify,-Tmin/typ/max): steveicarus.github.io/iverilog/usage/command_line_flags.html






