⏱️ Library Characterization: The Data Behind Every Timing Report
U17/Y reports an incremental cell delay of 38 ps. If you opened the .lib and wanted to reproduce that increment, what would you look for? We follow the number from the simulator to the timing report.
EDA Academy

U17/Y reports an incremental cell delay of 38 ps. Its input rose, its output fell, and the arrival time moved from 120 ps at A to 158 ps at Y. This is a simple example, but it poses a practical question. If you opened the .lib and wanted to reproduce that increment, what would you look for?
We’ll follow the number from the simulator to the timing report. The values below are teaching examples. We use nominal NLDM for the calculation and then discuss how the result can change in a signoff flow.
1 - Find the arc before opening the table
Start with the reference cell, INV_X1, for instance U17. In Liberty, look under the output pin Y for the timing group whose related_pin is A. The inverter arc is negative unate. As A rises, Y falls, so the output transition tells you to inspect cell_fall and fall_transition.
This is easy for an inverter. Add a second input and the state can matter.
For a NAND2, a change on A produces an output transition when B is high.
With B low, the Boolean output stays high.
In a more complex cell, several timing groups may share a pin pair and have different conditions. Check which arc and state the analysis used before you compare values.
2 - Measure delay and slew on the same SPICE waveforms
A typical characterization run starts from a transistor-level cell netlist, foundry device models, and simulation conditions for the intended PVT point. Extracted cell netlists can include internal parasitics. The simulator drives the selected input with a controlled transition and applies a defined load at the output.
In our first simulated point, the load is 4 fF.
A rises through 20%, 50%, and 80% of the signal swing at 10, 20, and 30 ps.
Y falls through 80%, 50%, and 20% at 34, 46, and 58 ps.
With these example thresholds:
Input slew = 30 − 10 = 20 ps.
Falling propagation delay = 46 − 20 = 26 ps.
Falling output slew = 58 − 34 = 24 ps.
The delay uses one crossing from each waveform. The slew uses two crossings from the same waveform. When comparing against your own SPICE run, check the input and output delay thresholds and the slew thresholds, including any slew convention used by the flow.
3 - Build the model and reproduce the report
We run the inverter at two input slews and two output loads. Each point yields a delay and an output slew.
Input slew | Load | Delay | Output slew |
|---|---|---|---|
20 ps | 4 fF | 26 ps | 24 ps |
20 ps | 8 fF | 34 ps | 36 ps |
60 ps | 4 fF | 40 ps | 30 ps |
60 ps | 8 fF | 52 ps | 46 ps |
For this example, the lookup template defines input_net_transition as the first index and total_output_net_capacitance as the second. The timing group stores the falling delay in cell_fall and the falling transition in fall_transition. If the library units are ns and pF, the row indices are 0.020 and 0.060, and the column indices are 0.004 and 0.008. Read the template and units before treating the first table dimension as slew.
Now return to U17. The input slew is 40 ps and the effective load used for this lookup is 6 fF. Both are exactly halfway between adjacent indices.
Interpolating across the load first gives 30 ps at 20 ps input slew and 46 ps at 60 ps input slew.
Interpolating between those two gives 38 ps.
Do the same for fall_transition. The two row results are 30 ps and 38 ps, so the interpolated output slew is 34 ps.
Other points inside a table cell generally use unequal weights. Lookups outside the table range deserve a separate check. Inspect the operating point and the tool’s handling of it. A computed number can come from a region with no measured samples.
4 - Follow the output into the next stage
Our 34 ps result is the transition at U17/Y in the simplified model. The receiver connected to Y can see a different slew. The routed network’s resistance and capacitance shape the transition as it propagates. The design’s receiver loading also influences the driver calculation.
This matters when you try to reverse-engineer a report. The capacitance printed in one column may be a total net capacitance, while a delay calculation for a distributed RC network may use an effective capacitance. Likewise, a slew printed at a receiving pin belongs to a different point in the path than the driver’s output pin.
Compare pin-by-pin.
A discrepancy that first shows up at U17/Y points you toward the cell calculation and its inputs.
A discrepancy that first appears at the next input pin points you toward the net calculation or how the receiver waveform was evaluated.
5 - A setup value comes from a different experiment
For a positive-edge flip-flop, start by measuring a reference clock-to-Q delay with the data stable well ahead of the active clock edge. Use a specific data transition, clock slew, supply condition, and output load under the chosen characterization procedure.
Suppose this reference clock-to-Q delay is 60 ps, and the experiment allows up to 10% pushout. That gives a limit of 66 ps for this teaching example. Keep the same measurement conditions and move the data edge closer to the clock edge.
Data crosses 30 ps before CLK. The flop captures correctly and clock-to-Q is 63 ps. This point passes the example criterion.
Data crosses 20 ps before CLK. The flop captures correctly and clock-to-Q is 68 ps. This point fails the example criterion.
We now have a bracket. Search inside it to refine the boundary at this combination of data and clock slew.
A failure can also be a wrong capture or an unusable output transition. Real characterization uses its own criteria and search settings. The setup value is published as a constraint for the corresponding clock and data transitions. The nominal clock-to-Q value belongs to a separate propagation arc. Hold characterization moves the data transition relative to the same capture edge using the appropriate stimulus and boundary test.
One debugging consequence follows. If setup slack moves after a library change, inspect the endpoint constraint as well as the data path delay. The clock slew and data slew at the capture flop can change the applicable setup value.
6 - Check what the analysis view changed
The same named cell can have different tables across process, voltage, and temperature conditions. Even if the arc, slew, and load were held constant, a different library view can change the nominal cell delay. In full STA, a scenario change can also alter the input slew, the effective load, and the selected RC network.
The delay model matters too.
NLDM returns delay and transition from lookup tables in our worked example.
A current-based model such as CCS provides driver data that the engine can use with an interconnect and receiver model to calculate a voltage waveform and its crossing times.
A nominal NLDM calculation is easiest to compare with a report when the analysis is actually using that model.
Liberty Variation Format can add statistical information to nominal delay, transition, and constraint values. Check the signoff methodology to see how the engine applies it. An arc-level sigma alone does not establish path margin. To compare results between runs, keep the analysis view and variation settings explicit.
7 - Validate the library where it will be used
Check arc coverage, sense, type, conditions, units, and table dimensions. Then test representative points in SPICE, including points between the grid nodes. An exact match at a grid point mainly tests that the stored value and conditions agree. An off-grid comparison also tests the behavior of the model between sampled conditions.
For instance, if a matched SPICE run gives 38.5 ps where the table predicts 38.0 ps, the absolute difference is 0.5 ps. Compare it with the project’s criterion and look at nearby points. An isolated discrepancy may have a different cause from a systematic error over a large slew or load range.
Finish with an STA smoke test using the delivered library view. Confirm that the test uses the intended arcs, units, and delay models. Check that representative design operating points are within the expected table ranges.
A debug sequence to keep by your timing report
Identify the instance, related pin, output pin, transition, and any state condition.
Confirm the selected library, PVT condition, RC corner, and delay model.
Get the input slew at the related pin and the load used by the calculator.
Reproduce the nominal lookup where applicable, then reconcile any variation treatment, derates, or other analysis adjustments.
If the timing path still differs, locate the first pin or net where it diverges and inspect the inputs to that calculation.
Comments