IR drop, EM analysis, and power grid verification
Power issues can cause chip failure even if timing is clean.
IR Drop = Current × Resistance
Average voltage drop based on average current draw.
Instantaneous drop during switching (much worse than static).
# Setup power analysis (Voltus/Innovus)
read_activity_file -format VCD design.vcd
# or
read_activity_file -format SAIF design.saif
# Set power pads
set_power_pads -net VDD -pad {PAD_VDD*}
set_power_pads -net VSS -pad {PAD_VSS*}
# Run analysis
analyze_power_grid -net VDD
analyze_power_grid -net VSS
# Check IR drop
report_power_rail_results
| Type | Limit |
|---|---|
| Static IR | < 5% of VDD |
| Dynamic IR | < 10% of VDD |
| Hot spots | Identify and fix |
High current density causes metal atoms to move, eventually breaking wires.
| Parameter | Description |
|---|---|
| Javg | Average current density limit |
| Jpeak | Peak current density limit |
| Jrms | RMS current density limit |
# EM analysis
analyze_rail -type em -net VDD
# Check EM violations
report_em_violations
# Typical limits (example):
# Javg: 1 mA/um for M1
# Javg: 2 mA/um for upper metals
Total Power = Dynamic Power + Static Power
Dynamic = α × C × V² × f
α = switching activity
C = capacitance
V = voltage
f = frequency
Static = I_leak × V
I_leak = leakage current
# Generate power report
report_power -hierarchy
Example output:
Module Switching Internal Leakage Total
─────────────────────────────────────────────────────────
top 125.3mW 85.2mW 5.1mW 215.6mW
cpu_core 80.1mW 52.3mW 3.2mW 135.6mW
cache 35.2mW 25.1mW 1.5mW 61.8mW
peripherals 10.0mW 7.8mW 0.4mW 18.2mW
| Technique | Reduces | Method |
|---|---|---|
| Clock gating | Dynamic | Turn off clock to idle blocks |
| Multi-Vt | Leakage | Use HVT on non-critical paths |
| Power gating | Both | Turn off power to idle blocks |
| DVFS | Both | Lower V and f when not needed |
| Operand isolation | Dynamic | Hold inputs stable |
| Vendor | Tool | Purpose |
|---|---|---|
| Cadence | Voltus | Power/IR/EM analysis |
| Synopsys | PrimeTime PX | Power analysis |
| Synopsys | RedHawk | IR/EM analysis |
| ANSYS | RedHawk-SC | IR/EM analysis |
| Check | Limit |
|---|---|
| Static IR drop | < 5% VDD |
| Dynamic IR drop | < 10% VDD |
| EM (Javg) | Per layer limit |
| Power consumption | Meet power budget |