Skip to content

Commit

Permalink
Merge pull request The-OpenROAD-Project#283 from Manarabdelaty/guard_…
Browse files Browse the repository at this point in the history
…pdn_node_check

Allow for enabling or disabling PDN check for unconnected nodes
  • Loading branch information
shalan authored Apr 21, 2021
2 parents a95f56d + ce95285 commit bee14bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ These variables are optional that can be specified in the design configuration f
| `RIGHT_MARGIN_MULT` | The core margin, in multiples of site widths, from the right boundary. <br> (Default: `12`) |
| `FP_PDN_CORE_RING` | Enables adding a core ring around the design. More details on the control variables in the pdk configurations documentation. 0=Disable 1=Enable. <br> (Default: `0`) |
| `FP_PDN_ENABLE_RAILS` | Enables the creation of rails in the power grid. 0=Disable 1=Enable. <br> (Default: `1`) |
| `FP_PDN_CHECK_NODES` | Enables checking for unconnected nodes in the power grid. 0=Disable 1=Enable. <br> (Default: `1`) |
| `FP_HORIZONTAL_HALO` | Sets the horizontal halo around the tap and decap cells. The value provided is in microns. <br> Default: `10` |
| `FP_VERTICAL_HALO` | Sets the vertical halo around the tap and decap cells. The value provided is in microns. <br> Default: set to the value of `FP_HORIZONTAL_HALO` |
| `DESIGN_IS_CORE` | Controls the layers used in the power grid. Depending on whether the design is the core of the chip or a macro inside the core. 1=Is a Core, 0=Is a Macro <br> (Default: `1`)|
Expand Down
2 changes: 2 additions & 0 deletions configuration/floorplan.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ set ::env(FP_PDN_AUTO_ADJUST) 1
set ::env(FP_PDN_CORE_RING) 0
set ::env(FP_PDN_ENABLE_RAILS) 1

set ::env(FP_PDN_CHECK_NODES) 1

set ::env(FP_IO_MODE) 1; # 0 matching mode - 1 random equidistant mode
set ::env(FP_IO_HLENGTH) 4
set ::env(FP_IO_VLENGTH) 4
Expand Down
6 changes: 4 additions & 2 deletions scripts/openroad/or_pdn.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ if {[catch {pdngen $::env(PDN_CFG) -verbose} errmsg]} {
}

# checks for unconnected nodes (e.g., isolated rails or stripes)
check_power_grid -net $::env(VDD_NET)
check_power_grid -net $::env(GND_NET)
if { $::env(FP_PDN_CHECK_NODES) } {
check_power_grid -net $::env(VDD_NET)
check_power_grid -net $::env(GND_NET)
}

write_def $::env(SAVE_DEF)

0 comments on commit bee14bb

Please sign in to comment.