NLDM vs CCS vs ECSM: Liberty Delay Models in STA Explained

NLDM vs CCS vs ECSM explained: Liberty delay tables and interpolation with real ASAP7 data, effective capacitance, CCS and ECSM current-source models and debug.

NLDM vs CCS vs ECSM: Liberty Delay Models in STA Explained
On this page 12 sections
  1. What a delay model has to do
  2. NLDM: the non-linear delay model
    1. Worked example A: bilinear interpolation on a real table
    2. Extrapolation: when the lookup leaves the table
  3. Where NLDM loses accuracy
    1. Worked example B: total C versus effective C (illustrative)
  4. CCS: the composite current source model
    1. Real example C: checking a CCS table with charge
  5. ECSM: the effective current source model
  6. NLDM vs CCS vs ECSM at a glance
  7. How tools use these models
  8. Debug flowchart: delay mismatch between tools
  9. Interview questions and answers
  10. FAQ
  11. Summary
  12. References

Every cell delay in a timing report comes from a model in a Liberty (.lib) file. Most of the time nobody looks at it. Then a path that met timing in place and route fails by 15 ps in sign-off, or a long net on a small driver shows a delay that does not match SPICE, and someone has to ask which delay model was used and what it assumed.

This guide explains the three Liberty delay models you will meet in practice, NLDM, CCS and ECSM: what each one stores, how an STA tool turns it into a delay, where NLDM loses accuracy, and how to debug delay mismatches between tools. The table values and current waveforms shown come from the open-source ASAP7 predictive 7 nm library shipped with OpenROAD-flow-scripts, so you can open the same files yourself. Worked examples that are not taken from those files are labelled illustrative.

What a delay model has to do#

Static timing analysis computes delay one stage at a time. A stage is a driving cell arc, the RC network on its output net, and the input pins of the cells that net drives. Given the slew (transition) at the driver input, the delay calculator has to produce:

  • the cell delay from the driver input to the driver output pin,
  • the slew at the driver output,
  • the net delay and slew at each receiver pin, which becomes the input slew of the next stage.

The library supplies the cell side; the interconnect comes from extraction (Parasitic Extraction and SPEF in VLSI). The delay model decides how well the two can be combined.

Figure 1. One timing stage, and what each Liberty delay model provides for the driver and the receivers.

NLDM: the non-linear delay model#

NLDM (non-linear delay model) is the table model declared in Liberty as delay_model : table_lookup;. For every timing arc it stores four two-dimensional tables: cell_rise, cell_fall, rise_transition and fall_transition. "Non-linear" refers to the fact that delay is not a straight-line function of load or slew; the tables capture the curve at a grid of points.

A template names the table axes. In the ASAP7 INVBUF library (RVT, FF corner) it looks like this:

Code
lu_table_template (delay_template_7x7_x1) { variable_1 : input_net_transition; variable_2 : total_output_net_capacitance; index_1 ("5, 10, 20, 40, 80, 160, 320"); index_2 ("0.72, 1.44, 2.88, 5.76, 11.52, 23.04, 46.08"); }

With time_unit : "1ps" and capacitive_load_unit (1,ff), index_1 is input slew in ps and index_2 is load in fF. The same library header also defines what "delay" and "slew" mean: delay is measured from the 50% point of the input to the 50% point of the output (input_threshold_pct_rise : 50, output_threshold_pct_rise : 50), and slew from 10% to 90% (slew_lower_threshold_pct_rise : 10, slew_upper_threshold_pct_rise : 90). Other libraries use other thresholds, so check these lines when you mix libraries.

Each input pin gets a single capacitance value (plus optional rise_capacitance and fall_capacitance). For the INVx1 cell in this library, pin A has capacitance : 0.683716 fF. That one number is the whole NLDM receiver model.

Worked example A: bilinear interpolation on a real table#

Suppose the input slew at INVx1_ASAP7_75t_R is 30 ps and the output load is 4.0 fF. Neither value is on the grid, so the tool interpolates between the four surrounding points. From the library's cell_rise table:

Data table
load 2.88 fF load 5.76 fF
slew 20 ps 16.0743 ps 23.6779 ps
slew 40 ps 21.4407 ps 30.6086 ps

Step 1, interpolate along the load axis. The fraction is (4.0 − 2.88) / (5.76 − 2.88) = 0.389.

  • At slew 20 ps: 16.0743 + 0.389 × (23.6779 − 16.0743) = 19.03 ps
  • At slew 40 ps: 21.4407 + 0.389 × (30.6086 − 21.4407) = 25.01 ps

Step 2, interpolate along the slew axis. The fraction is (30 − 20) / (40 − 20) = 0.5, so the delay is 19.03 + 0.5 × (25.01 − 19.03) = 22.02 ps.

The same steps on the rise_transition table (21.2659, 37.0403, 26.5777 and 41.3033 ps at the same four points) give an output slew of about 29.85 ps, and that becomes the starting point for the next stage.

Figure 2. NLDM bilinear interpolation on the real ASAP7 INVx1 cell_rise table (worked example A).

Extrapolation: when the lookup leaves the table#

If the load or slew lies outside the table, the tool has to extrapolate from the last two points. For INVx1 at a 40 ps input slew, the last two load points are 23.04 fF (76.04 ps) and 46.08 fF (136.01 ps). A 60 fF load extrapolates to about 136.01 + (60 − 46.08) × (136.01 − 76.04) / 23.04 ≈ 172 ps. Nobody characterised that point. This is also why the pin's max_capacitance : 46.08 matches the last index in the table: the library's DRV limits mark the edge of the characterised region. A max-cap or max-transition violation is not only a reliability flag; it also means the delay of that arc is an extrapolated guess. Many STA tools can warn when they extrapolate; turn that on.

Where NLDM loses accuracy#

NLDM assumes the output of a cell drives a single lumped capacitor and that the output waveform can be summarised by one slew number. Both assumptions break as wires become more resistive.

1. Resistive shielding and effective capacitance. On a long, thin net, wire resistance shields the far-end capacitance, so while the driver switches it "sees" only part of it. The capacitance that reproduces the driver's real 50% delay is called the effective capacitance, C_eff, and it lies between the near-end capacitance and the total capacitance. Looking up the table at the total capacitance makes the driver look too slow.

NLDM-based delay calculation handles this with an iterative C_eff algorithm: reduce the net to a π model (C1, R, C2), guess C_eff, look up the driver tables there, check the charge that waveform delivers into the π load, adjust and repeat until it converges. The method most tools build on comes from Dartu, Menezes and Pileggi (IEEE TCAD, 1996). The open-source OpenSTA timer still names its default calculators after it (dmp_ceff_elmore, dmp_ceff_two_pole), and its source code cites that paper.

2. Waveform shape. On a resistive net, the near-end waveform rises fast and then has a long tail, because the far capacitance keeps charging through the wire. One slew value cannot describe that shape.

3. Receiver capacitance is not constant. The input capacitance of a real gate changes during the transition and depends on slew, on the state of the other inputs and, through the Miller effect, on how fast the output moves. A single pin capacitance cannot show any of this.

Worked example B: total C versus effective C (illustrative)#

Take the same INVx1 with a 40 ps input slew driving a long net whose total capacitance (wire plus pins) is 23.04 fF, and assume the C_eff iteration converges to 11.52 fF because much of the wire capacitance sits behind its resistance. Both values are table points, so no interpolation is needed:

  • Lookup at C_total = 23.04 fF: cell_rise = 76.04 ps
  • Lookup at C_eff = 11.52 fF: cell_rise = 45.88 ps

That is a 30 ps difference in cell delay. It does not vanish: the far end still has to charge, so that time moves into the net delay. The split still matters, because cell and net delays can be derated differently under OCV and receiver slews depend on the waveform, not only the total. (The C_eff of 11.52 fF is an assumption for the example; the two table values are real ASAP7 numbers.)

Figure 3. Effective capacitance: wire resistance shields the far-end capacitance (waveform shapes illustrative).

CCS: the composite current source model#

CCS (Composite Current Source) is the current-source model added to Liberty by Synopsys, released in 2004 and later opened up through the Liberty Technical Advisory Board. It keeps the NLDM tables (so tools that only understand NLDM still work) and adds two things.

Driver model. For each characterised (input slew, load) pair, the library stores the cell's output current as a function of time, so delay calculation can drive the reduced RC network instead of one capacitor. The CCS template has a third axis, time:

Code
output_current_template (ccs_template) { variable_1 : input_net_transition; variable_2 : total_output_net_capacitance; variable_3 : time; }

and each table is a vector group like this one from INVx1_ASAP7_75t_R (output rise, input slew 5 ps, load 0.72 fF):

Code
vector (ccs_template) { reference_time : 2.49291; index_1 ("5"); index_2 ("0.72"); index_3 ("4.08084, 4.42304, 4.77624, 5.74045, ..."); values ("0.0140083, 0.0509375, 0.0618402, 0.0826074, ..."); }

reference_time is the time at which the input waveform crosses its delay threshold, index_3 lists the sample times in ps, and values are currents in mA (current_unit : "1mA").

Receiver model. Input pins can carry receiver_capacitance1_rise/fall and receiver_capacitance2_rise/fall tables. C1 applies to the first part of the input transition (up to the delay threshold) and C2 to the rest, so the load a driver sees can change during the edge. The Liberty reference allows these tables at the pin level (indexed by input slew) and inside timing arcs, where they can also depend on output load. The buffers in the ASAP7 CCS library use the timing-arc form; for example, BUFx10's receiver_capacitance2_rise values range from about 1.07 to 1.76 fF across its slew and load grid.

Real example C: checking a CCS table with charge#

A CCS table should conserve charge. When a cell output rises from 0 to VDD into a load C, the charge delivered is Q = C × VDD, and the area under the output current curve is that same charge. Units are convenient here: mA × ps = fC.

Integrating the INVx1 rise vectors (trapezoidal rule) at a 20 ps input slew from the ASAP7 RVT FF CCS file (VDD = 0.77 V):

Data table
Load Area under I(t) C × VDD Ratio
2.88 fF 2.20 fC 2.22 fC 0.99
11.52 fF 8.86 fC 8.87 fC 1.00
46.08 fF 35.41 fC 35.48 fC 1.00

The small shortfall at light load is the tail cut off by the last sample point. You can script this check on any CCS library; a vector far from C × VDD is a characterisation problem, not an STA one.

Figure 4. Real CCS output current vectors for INVx1 from the ASAP7 CCS library; the area under each curve matches C x VDD.

At light load the cell delivers a short current pulse; at heavy load the current stays near its peak longer. A delay calculator that drives the reduced RC network (for example an Arnoldi-type model) with these currents can reproduce near-end tails and far-end waveforms that one slew number cannot.

Real CCS libraries are large. In this ASAP7 set, the gzip-compressed INVBUF library is about 69 KB as NLDM and about 646 KB as CCS. That is why Liberty also defines a compact CCS format that stores normalised base curves instead of every raw vector, and why CCS libraries take noticeably longer to load.

The CCS family also has CCS Noise (for crosstalk glitch analysis) and CCS Power; statistical variation is added through LVF.

ECSM: the effective current source model#

ECSM (Effective Current Source Model) is Cadence's current-source model, introduced in 2001 and later handed to the Si2 Open Modeling Coalition, which released ECSM version 2.0 in 2006. It is written as an extension of standard Liberty syntax, so an ECSM library also carries normal NLDM tables.

The main difference from CCS is what is stored. ECSM characterises the cell's output voltage waveform (voltage against time) for each input slew and load, and the delay calculator converts it into an equivalent current source when it drives the RC network. CCS stores the current directly. On the receiver side, ECSM also uses a multi-piece capacitance model, so input capacitance can change across the transition.

Which one you use depends on what your library provider characterises and what your tools read. What matters more than the name is that implementation and sign-off read the same model flavour, corners and library version.

NLDM vs CCS vs ECSM at a glance#

Data table
NLDM CCS ECSM
Driver data Delay and output slew tables vs (input slew, load) Output current I(t) vectors per (slew, load), plus NLDM tables Output voltage V(t) waveforms per (slew, load), plus NLDM tables
Receiver data One pin capacitance (rise/fall) C1/C2 receiver capacitance tables Multi-piece receiver capacitance
Resistive nets Through C_eff iteration on a π model Current drives the reduced RC network directly Waveform converted to a current source
Library size, load time Smallest, fastest Large (compact CCS helps) Large
Typical use Synthesis, early placement, older nodes Sign-off and advanced-node implementation Sign-off and advanced-node implementation
Origin Liberty table model Synopsys, opened via Liberty TAB Cadence, opened via Si2 OMC

How tools use these models#

A CCS library does not mean every run uses current-source calculation; the delay calculator decides. OpenSTA, whose source is public, registers these calculators: unit, lumped_cap, dmp_ceff_elmore, dmp_ceff_two_pole, arnoldi, ccs_ceff and prima. The DMP ones are the Dartu-Menezes-Pileggi effective-capacitance method on NLDM data with different net models, arnoldi and prima use reduced-order models of the full RC network, and ccs_ceff uses the CCS current data.

Practical rules that hold across flows:

  • Read the same library flavour everywhere. If place and route uses NLDM and sign-off uses CCS, expect differences on resistive nets and weak drivers. Compare the two only after allowing for that difference, or make implementation use CCS as well.
  • Keep thresholds consistent. Slew thresholds are part of the library. A 10–90% slew passed to a pin characterised at 20–80% must be converted, and tools do this using the slew_derate_from_library and threshold attributes. Wrong headers give wrong slews without any error.
  • One corner, one library set. Each MMMC view should point to libraries of the same model type at that PVT. A corner that silently falls back to an NLDM library for a few cells is a common correlation bug.
  • Use characterised corners. Tables are characterised at fixed PVT, and effects such as temperature inversion mean you cannot guess an intermediate corner from two others.

To see what a library contains, a few greps go a long way:

Code
zgrep -m1 "delay_model" lib.lib.gz zgrep -c "output_current_rise" lib.lib.gz # >0 means CCS driver data zgrep -c "receiver_capacitance1_rise" lib.lib.gz # CCS receiver data zgrep "slew_.*_threshold_pct\|_threshold_pct" lib.lib.gz | head

Debug flowchart: delay mismatch between tools#

When a cell or net delay differs between place and route and sign-off STA, or between STA and SPICE, work through these causes in order:

Figure 5. Debug flowchart for delay mismatches between tools.
  1. Library flavour or corner: report the library file each tool used for that instance.
  2. Extrapolation: compare the slew and load with the table indices; tools may extrapolate differently.
  3. Resistive net: weak driver plus long net means NLDM and CCS will differ; upsize, buffer, split the net or use a lower-resistance layer.
  4. Receiver capacitance: CCS receiver tables can give a different load than the single NLDM value.
  5. Parasitics: same SPEF corner, coupling treatment and reduction settings.

Only when these match is it worth looking for a real timing problem on the path.

Interview questions and answers#

1. What are the axes of an NLDM delay table? Usually input transition (input_net_transition) and total output net capacitance (total_output_net_capacitance), as defined in the lu_table_template. The order of variable_1 and variable_2 is set by the template, so always read it rather than assuming.

2. How does the tool find a delay between table points? By interpolating between the surrounding points, normally bilinear interpolation across the two axes. Outside the table it extrapolates from the last two points, which is less trustworthy.

3. What is effective capacitance? The single capacitance that, driven by the cell, gives the same delay (at the measured thresholds) as the real RC load. On resistive nets it is smaller than the total capacitance because the wire resistance shields the far-end capacitance.

4. Why is NLDM less accurate at advanced nodes? Wires are more resistive, so the driver no longer sees a lumped load; waveforms have long tails that one slew value cannot describe; and receiver capacitance varies during the transition. NLDM can only approximate these through C_eff iteration.

5. What does a CCS library store that NLDM does not? Output current vs time for each (input slew, load) point, and receiver capacitance tables (C1 for the first part of the input transition, C2 for the rest).

6. What is the main difference between CCS and ECSM? CCS stores the output current waveform; ECSM stores the output voltage waveform and converts it to a current source during delay calculation. Both add receiver models and both keep NLDM tables for compatibility.

For more timing questions, see the setup and hold violations guide and GBA vs PBA in STA.

FAQ#

Is NLDM obsolete? No. Every CCS and ECSM library also contains NLDM tables, and NLDM is still used widely in synthesis, early placement and on older nodes where nets are less resistive.

Where can I see real libraries of both kinds? OpenROAD-flow-scripts ships the ASAP7 standard-cell libraries in both NLDM and CCS form (flow/platforms/asap7/lib/NLDM and .../CCS), and the Nangate45 platform has an NLDM library. They are for learning, not production.

Summary#

NLDM describes a cell arc with delay and slew tables indexed by input slew and lumped load, and one capacitance per input pin; with effective-capacitance iteration it handles moderately resistive nets well. CCS and ECSM add current-source driver models and richer receiver models, so the delay calculator can drive the real RC network and handle tails, shielding and Miller effects more accurately. Whatever model you use, keep the same library flavour, thresholds and corners in implementation and sign-off, keep slews and loads inside the characterised tables, and when delays disagree, check the library and the extrapolation before you touch the design.

The cell libraries themselves are described in Timing Library (.lib), and the timing flow that uses these delays in Static Timing Analysis (STA) in VLSI.

References#

  • ASAP7 standard-cell libraries in OpenROAD-flow-scripts, NLDM and CCS versions (INVBUF RVT FF files used for the tables, vectors and charge check in this article): https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts/tree/master/flow/platforms/asap7/lib
  • OpenSTA source, list of registered delay calculators (dcalc/DelayCalc.cc) and the Dartu–Menezes–Pileggi effective-capacitance implementation (dcalc/DmpCeff.cc): https://github.com/parallaxsw/OpenSTA
  • F. Dartu, N. Menezes and L. Pileggi, "Performance Computation for Precharacterized CMOS Gates with RC Loads," IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, vol. 15, no. 5, pp. 544–553, May 1996 (as cited in the OpenSTA source).
  • Cadence, ECSM Library Format: https://www.cadence.com/en_US/home/alliances/standards-and-languages/ecsm-library-format.html
  • EE Times, "Si2 releases current-source model standard for design libraries" (ECSM 2.0 and the CCS background), March 2006: https://www.eetimes.com/si2-releases-current-source-model-standard-for-design-libraries/
  • Synopsys news release on the Liberty Technical Advisory Board and CCS: https://news.synopsys.com/home?item=122676

Written by

Swasti Pujari

Associate Director, Backend Engineering at CoreIC Technologies, with 15+ years in VLSI Physical Design and backend engineering. Previously Practice Head at UST Global, leading Physical Design, STA, EMIR, DFT, and Physical Verification. Delivered 3nm, 6nm and 7nm projects for AMD, Intel, and Microchip, and published IEEE research on hybrid AI-EDA floorplanning.