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

What RC Extraction Actually Produces

In detailed routing, all electrical connections become physical metal geometries. Every routed trace possesses finite resistance and parasitic capacitance to the silicon substrate, adjacent tracks, and crossing layers. Parasitic extraction tools calculate these physical electrical values. This article explains how OpenRCX extracts layout parasitics.

Inputs and Outputs of Extraction

OpenRCX operates inside the OpenROAD environment. It requires two primary inputs:

  1. The routed physical DEF database containing exact wire coordinates, widths, and layer assignments.
  2. The PDK extraction rule deck containing sheet resistance tables and dielectric capacitance coefficients.

The extraction engine parses every net in the design. It calculates wire resistance and capacitance for every segment and via. OpenRCX outputs these values into a Standard Parasitic Exchange Format (SPEF) file.

Cross-section of a routed wire and its parasitic capacitances
Figure 1: One routed segment in cross-section: resistance along its length, capacitance to ground, to neighbours and to the layer above

Figure 1 shows parasitic components on a single metal track:

  • Series resistance along the wire length.
  • Area capacitance to the underlying ground plane or lower metal layers.
  • Sidewall coupling capacitance to adjacent parallel wires on the same layer.
  • Overlap capacitance to perpendicular traces on the layer above.

Calculating Interconnect Resistance and Capacitance

The electrical resistance of a rectangular metal trace is:

$$R = R_s \times \frac{L}{W}$$

Where $R_s$ is the sheet resistance in ohms per square ($\Omega/\square$), $L$ is wire length, and $W$ is wire width.

In the SkyWater 130nm process, met1 and met2 feature a sheet resistance of approximately $0.125\ \Omega/\square$. Consider a segment on met2 measuring $20\ \mu\text{m}$ long and $0.14\ \mu\text{m}$ wide:

$$\text{Squares} = \frac{20.0}{0.14} \approx 143\ \text{squares}$$

$$R \approx 0.125 \times 143 \approx 18\ \Omega$$

For a minimum-pitch wire flanked by neighbors, typical capacitance is approximately $0.2\text{ fF}/\mu\text{m}$. A $20\ \mu\text{m}$ trace adds approximately 4 fF of parasitic capacitance.

A driving logic gate typically has an effective output resistance of $2\text{ k}\Omega$. Charging a 4 fF load through $2\text{ k}\Omega$ requires approximately 8 ps. The 18 $\Omega$ wire resistance contributes less than 1 ps of delay. Therefore, interconnect capacitance loading on standard cell drivers dominates timing degradation on short wires.

Inspecting PDK Extraction Rules

Verify that the OpenRCX extraction rules exist in your PDK installation directory:

ls $PDK_ROOT/sky130A/libs.tech/openlane/ | grep -i openrcx

The directory contains rule files for different extraction corners, including minimum, nominal, and maximum capacitive models (rules.openrcx.sky130A.nom.calibre). These files define layer-by-layer thickness and spacing coefficients.

Practice Exercise

A local interconnect segment on layer li1 is $8\ \mu\text{m}$ long and $0.17\ \mu\text{m}$ wide. The sheet resistance of li1 is approximately $12.8\ \Omega/\square$. Calculate its electrical resistance. Compare this value with the $20\ \mu\text{m}$ met2 segment analyzed above.

Solution

Calculate the square count: $$\text{Squares} = \frac{8.0}{0.17} \approx 47\ \text{squares}$$

Calculate resistance: $$R \approx 12.8 \times 47 \approx 602\ \Omega$$

The $8\ \mu\text{m}$ li1 segment has a resistance of approximately $602\ \Omega$. This value is more than 30 times higher than the $18\ \Omega$ measured on the longer met2 segment. Because li1 titanium nitride is highly resistive, routers restrict li1 usage to short cell-internal connections and pin access hops.

OpenRCX compiles these calculated values into a standardized text format. The next article analyzes the syntax and hierarchy of a SPEF file.

← Path-Based vs. Graph-Based Timing Analysis Reading a SPEF File →