Configuring a Power Grid in OpenLane
The previous articles described the physical structure and electrical behavior of power rings and straps. This article maps these concepts directly to OpenLane configuration parameters.
OpenLane PDN Configuration Parameters
OpenLane uses the FP_PDN_* configuration variables in config.json to define the power grid:
| Field | Controls |
|---|---|
FP_PDN_CORE_RING |
Enables or disables the peripheral core power ring |
FP_PDN_VWIDTH / FP_PDN_HWIDTH |
Defines the width of vertical and horizontal straps |
FP_PDN_VPITCH / FP_PDN_HPITCH |
Defines the center-to-center pitch between adjacent straps |
FP_PDN_VOFFSET / FP_PDN_HOFFSET |
Specifies the distance from the core boundary to the first strap |
FP_PDN_VERTICAL_LAYER / FP_PDN_HORIZONTAL_LAYER |
Selects metal layers for vertical and horizontal straps |
For the $40\ \mu\text{m} \times 40\ \mu\text{m}$ counter8 core, configure the power grid in config.json:
{
"FP_PDN_CORE_RING": 1,
"FP_PDN_VWIDTH": 1.6,
"FP_PDN_HWIDTH": 1.6,
"FP_PDN_VPITCH": 13.3,
"FP_PDN_HPITCH": 13.3,
"FP_PDN_VOFFSET": 6.5,
"FP_PDN_HOFFSET": 6.5,
"FP_PDN_VERTICAL_LAYER": "met4",
"FP_PDN_HORIZONTAL_LAYER": "met5"
}
A pitch of $13.3\ \mu\text{m}$ across a $40\ \mu\text{m}$ core places straps at approximately $6.5\ \mu\text{m}$, $19.8\ \mu\text{m}$, and $33.1\ \mu\text{m}$.
This produces three vertical straps on met4 and three horizontal straps on met5.
Strap width and pitch must satisfy design rules for metal width and spacing in the SKY130 process.
OpenLane reports an error if strap dimensions violate design rules.
Executing PDN Generation
In interactive mode, run the floorplan command:
% prep -design counter8
% run_floorplan
[INFO]: Generating floorplan...
[INFO]: Core area set to 5.00 5.00 45.00 45.00 (die 0.00 0.00 50.00 50.00)
[INFO]: Generating power distribution network...
[INFO]: Core ring: met4/met5, width 1.60, offset 2.00
[INFO]: Vertical straps (met4): 3 straps, pitch 13.30, width 1.60
[INFO]: Horizontal straps (met5): 3 straps, pitch 13.30, width 1.60
[INFO]: Writing floorplan DEF to runs/<tag>/results/floorplan/counter8.floorplan.def
The tool generates physical ring and strap geometry based on the specified parameters.
The output DEF file defines SPECIALNETS entries for VPWR and VGND on met4 and met5.
These definitions establish the power mesh before standard cell placement.
Strap density represents a trade-off between power integrity and routing capacity. Smaller strap pitch reduces IR drop by shortening resistive paths to standard cells. However, dense straps consume routing tracks required for signal interconnects.
Practice Exercise
An engineer sets FP_PDN_VPITCH to $60\ \mu\text{m}$ for a $40\ \mu\text{m}$ wide core.
Determine the number of internal vertical straps created and evaluate the configuration.
Solution
A pitch of $60\ \mu\text{m}$ exceeds the $40\ \mu\text{m}$ core width.
The tool will generate no internal vertical straps between the peripheral rings.
This configuration creates high IR drop risk because center cells lack nearby power connections.
Set FP_PDN_VPITCH to a value significantly smaller than the core dimension, such as $13.3\ \mu\text{m}$.
The power grid configuration is complete. Section 3.3 addresses I/O pin placement along the die boundaries.