Module 7: Timing Closure & Static Timing Analysis · 7.2 Parasitic Extraction

Reading a SPEF File

A Standard Parasitic Exchange Format (SPEF) file represents the electrical parasitics of a physical integrated circuit layout. The file contains an explicit list of lumped and distributed resistors and capacitors for every routed net. Static timing analysis engines load SPEF files to compute precise interconnect delays and signal transition times.

Standard SPEF File Sections

A valid SPEF file contains the following primary blocks:

  • Header: Defines design name, tool version, hierarchy delimiters, and measurement units (time, capacitance, resistance, and inductance).
  • *NAME_MAP: Maps numerical aliases to long hierarchical net and instance names to reduce file size.
  • *PORTS: Lists top-level input and output design ports.
  • *D_NET Blocks: Defines the distributed RC network for each net. Each block contains pin connectivity (*CONN), node capacitances (*CAP), and branch resistances (*RES).

Analyzing a SPEF Excerpt: parity_net

Review this representative SPEF record for parity_net extracted from the routed UART design:

*SPEF "IEEE 1481-1999"
*DESIGN "uart_top"
*DATE "2026-09-14 10:14:02"
*VENDOR "OpenROAD"
*PROGRAM "OpenRCX"
*VERSION "1.0"
*DESIGN_FLOW "NAME_SCOPE LOCAL"
*DIVIDER /
*DELIMITER :
*BUS_DELIMITER [ ]
*T_UNIT 1 NS
*C_UNIT 1 FF
*R_UNIT 1 OHM
*L_UNIT 1 HENRY

*NAME_MAP
*1 rx_ctrl/parity_net
*2 rx_ctrl/_2204_
*3 rx_ctrl/parity_err_reg

*D_NET *1 118.6
*CONN
*I *2:X O
*I *3:D I
*CAP
1 *2:X 9.4
2 *1:1 14.1
3 *1:2 11.8
4 *3:D 83.3
*RES
1 *2:X *1:1 6.2
2 *1:1 *1:2 18.9
3 *1:2 *3:D 41.7
*END

Analyze the record line by line:

  • Header units establish time in nanoseconds (ns), capacitance in femtofarads (fF), and resistance in ohms ($\Omega$).
  • *NAME_MAP maps index *1 to net rx_ctrl/parity_net, *2 to instance _2204_, and *3 to register parity_err_reg.
  • *D_NET *1 118.6 declares total net capacitance as 118.6 fF.
  • *CONN lists output driver pin *2:X (O) and input load pin *3:D (I).
  • *CAP records nodal capacitances: driver pin (9.4 fF), internal route nodes (14.1 fF and 11.8 fF), and load pin (83.3 fF). The sum equals 118.6 fF.
  • *RES records three series resistors connecting these nodes: $6.2\ \Omega$, $18.9\ \Omega$, and $41.7\ \Omega$.

parity_net drawn as an RC ladder
Figure 1: The *CAP and *RES entries of parity_net drawn as a circuit, from the driving XOR to the flop's D pin

Figure 1 illustrates the resulting RC ladder network between driver _2204_ and flip-flop input parity_err_reg/D.

Calculating Interconnect Wire Delay

Calculate the Elmore delay of the physical wire network by summing resistor values multiplied by downstream capacitive loads:

$$\tau_{wire} = \sum_{k} R_k C_{\text{downstream},k}$$

$$\tau_{wire} = 6.2 \times (14.1 + 11.8 + 83.3) + 18.9 \times (11.8 + 83.3) + 41.7 \times 83.3$$

$$\tau_{wire} = (6.2 \times 109.2) + (18.9 \times 95.1) + (41.7 \times 83.3) \approx 5950\ \Omega\cdot\text{fF} \approx 6\text{ ps}$$

The wire RC network contributes only 6 ps of propagation delay. However, total stage delay measures 1.95 ns. The standard cell driver must charge all 118.6 fF through its internal output transistor resistance ($R_{out} \approx 2\text{ k}\Omega$). Driver delay dominates over wire delay.

Practice Exercise

A net exhibits 62.0 fF of total capacitance across three nodes: driver pin (45.0 fF), internal node (10.0 fF), and load pin (7.0 fF). Series branch resistors measure $5.0\ \Omega$ and $12.0\ \Omega$. Calculate the Elmore delay of this wire. Compare its sensitivity to driver upsizing against parity_net.

Solution

Calculate the Elmore delay: $$\tau_{wire} = 5.0 \times (10.0 + 7.0) + 12.0 \times 7.0 = (5.0 \times 17.0) + (12.0 \times 7.0) = 85 + 84 = 169\ \Omega\cdot\text{fF} \approx 0.17\text{ ps}$$

The wire RC delay (0.17 ps) is negligible compared to driver delay.

Both nets benefit from driver upsizing because a larger driver reduces $R_{out}$. However, parity_net gains more absolute delay reduction because its capacitive load (118.6 fF) is nearly twice as large as this net’s load (62.0 fF).

You can now parse SPEF records and calculate distributed RC delays. The next article executes extraction on the routed UART layout using OpenRCX.

← What RC Extraction Actually Produces Extracting Parasitics From the Routed UART →