Module 8: Physical Verification · 8.4 Electrical Checks & IR Drop

Running an IR Drop Analysis on the UART's Power Grid

In the previous two articles, we calculated voltage drop and electromigration manually for individual wire segments. A full chip layout contains thousands of power segments and via arrays. Operating current also varies spatially across the floorplan based on switching activity. Manual calculations cannot evaluate this complexity. In this article, we use OpenROAD to analyze the complete power distribution network of the UART design.

Executing Power Grid Analysis

OpenROAD includes PDNSim, an integrated power grid solver. PDNSim extracts the physical power mesh, applies current loads calculated for each standard cell, and solves the resistive network for node voltages. Cell current values originate from OpenSTA. Therefore, the analysis session requires timing libraries, the placed netlist, and extracted parasitic files:

openroad
% read_liberty $PDK_ROOT/sky130A/libs.ref/sky130_fd_sc_hd/lib/sky130_fd_sc_hd__tt_025C_1v80.lib
% read_lef $PDK_ROOT/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd__nom.tlef
% read_lef $PDK_ROOT/sky130A/libs.ref/sky130_fd_sc_hd/lef/sky130_fd_sc_hd.lef
% read_def runs/uart_full/results/routing/uart_top.eco.def
% read_sdc runs/uart_full/results/routing/uart_top.sdc
% read_spef runs/uart_full/results/extraction/uart_top.nom.eco.spef
% set_propagated_clock [all_clocks]

% set_power_activity -input -activity 0.2
% report_power

% set_pdnsim_net_voltage -net VPWR -voltage 1.8
% analyze_power_grid -net VPWR -outfile vpwr_voltages.rpt \
                     -enable_em -em_outfile vpwr_em.rpt

Understand the primary commands in this script:

  • The set_power_activity command defines an estimated toggle rate for primary inputs, which OpenSTA propagates across the design. This command provides a vectorless power estimate. Signoff analysis typically uses switching activity files (VCD or SAIF) generated from post-route logic simulation.
  • The report_power command outputs total dynamic and static leakage power. Review this report to verify total current requirements.
  • The analyze_power_grid command solves the electrical mesh for the specified power net (VPWR). OpenROAD places voltage sources automatically on the top-level metal grid. The flag -enable_em generates current density reports for all segments and vias.

Execute the same analysis for ground net VGND. Ground bounce is the electrical inverse of supply voltage drop and requires identical verification.

Interpreting the Voltage Drop Report

For the UART design operating at 250 MHz, the analysis summary displays:

########## IR report #################
Corner: default
Supply voltage          : 1.80e+00 V
Worstcase voltage       : 1.7959e+00 V
Average voltage         : 1.7978e+00 V
Average IR drop         : 2.2e-03 V
Worstcase IR drop       : 4.1e-03 V
######################################

The maximum voltage drop anywhere on VPWR is 4.1 mV. This drop represents approximately 0.23% of the nominal 1.8 V supply, which is far below the 90 mV (5%) budget. The UART passes verification with wide margin. Figure 1 shows the spatial voltage distribution across the core area.

Static IR drop map of the UART
Figure 1: Static IR drop on VPWR across the UART core, highest in the receive logic and midway between the supply straps

Two observations explain this result:

First, the design current is very small. The UART contains approximately one thousand standard cells and consumes only about 1 mW of power under typical activity. Total supply current remains well below 1 mA. The default power grid sized by OpenLane provides far more metal cross-section than required for this current. Voltage drop becomes critical in large system-on-chip (SoC) designs where thousands of flip-flops switch concurrently.

Second, observe the spatial location of maximum drop. The highest drop occurs midway between power straps, as predicted by resistive ladder models. The drop peaks in the receiver logic blocks because those cells switch continuously during data reception. A uniform activity model would not display these localized peaks.

The accompanying electromigration report lists currents through all strap segments and vias. For the UART design, maximum branch currents are fractions of a milliampere, which remain safely below SkyWater 130 nm electromigration thresholds.

Resolving Power Grid Violations

When a design reports an unacceptable voltage drop, diagnose the root cause before modifying the layout. Local violations typically stem from three physical causes:

Root Cause Diagnostic Procedure Corrective Action
High Local Switching Current Check instance-level power in report_power output Spread high-activity cells or add local decoupling capacitance
Sparse Power Grid Coverage Inspect strap density and via arrays near macros or blockages Insert supplementary power straps or restore missing vias
Long Path to Supply Source Measure distance to nearest supply pad or primary ring Add power straps or reposition external power pins

The solution depends directly on the identified cause. In OpenLane, you adjust power grid parameters defined in Module 3: vertical strap pitch (FP_PDN_VPITCH), horizontal strap pitch (FP_PDN_HPITCH), vertical strap width (FP_PDN_VWIDTH), and horizontal strap width (FP_PDN_HWIDTH). Decreasing pitch places straps closer together, which shortens standard cell rail runs. Increasing width lowers strap resistance. For localized hotspots, OpenROAD can add localized straps without penalizing routing resources across the entire floorplan.

Do not widen the entire global power grid to fix a localized hotspot. Excessively wide power straps consume routing tracks across all layers and worsen signal routing congestion.

Any power grid modification requires repeating subsequent design stages: detailed routing, parasitic extraction, timing analysis, and physical signoff checks.

Practice Exercise

An IR drop report displays three distinct violating regions across the die. Each region contains only slightly higher switching activity than the design average. Power strap density is uniform across the entire floorplan. Identify the most probable root cause and the appropriate corrective strategy.

Solution

Because grid density is uniform and multiple distributed regions fail under moderate switching activity, the global power grid is undersized for total chip current demand. The failing areas simply represent the longest resistive paths from supply sources.

This condition requires a global grid modification. Revisit the power budget calculations from Module 3. Decrease strap pitch or increase strap width uniformly across the core floorplan. Applying localized patches to three separate regions would leave adjacent areas near failure limits and risk future violations under higher switching workloads.

The power grid is now verified. The final section of this module covers metal fill insertion, which ensures uniform layer density during chemical-mechanical planarization (CMP).

← Electromigration: Why Current Density Limits Exist Why Chemical-Mechanical Polishing Needs Metal Fill →