<#596 Cannot generate pdn for my design> New issue...
# openlane
g
#596 Cannot generate pdn for my design New issue created by peijunh Hello, my design is stuck at 7-pdn when I using the flow.tcl of OpenLane. My design includes 5 macros, one is the sky130_sram_4kbyte_1rw1r_32x1024_8, the other four are my own sensors. All sensors use VDD and VSS instead of vccd1 stuff. I know the naming might cause issue, so I write my own pdn.tcl file, which is shown below. I also add a set ::env(PDN_CFG) $::env(DESIGN_DIR)/pdn.tcl in the config.tcl. But the openlane is giving me this error: [ERROR PSM-0020] Cannot find net VPWR in the design. Please provide a valid VDD/VSS net. Error: or_pdn.tcl, 39 PSM-0020
set ::power_nets "VDD"
set ::ground_nets "VSS"
set pdngen::global_connections {
VDD {
{inst_name .* pin_name VPWR}
{inst_name .* pin_name VPB}
{inst_name .* pin_name VDD}
{inst_name .* pin_name vccd1}
}
VSS {
{inst_name .* pin_name VGND}
{inst_name .* pin_name VNB}
{inst_name .* pin_name VSS}
{inst_name .* pin_name vssd1}
}
}
##===> Power grid strategy
pdngen::specify_grid stdcell {
name block
rails {
met1 {width 0.49 offset 0}
}
straps {
met4 {width 1.60 pitch 3820.0 offset 25}
met5 {width 1.60 pitch 56.0 offset 2}
}
connect {{met1 met4} {met4 met5} {met4_PIN_ver met5} {met4_PIN_hor met5} {met3_PIN_ver met5} {met3_PIN_hor met5} {met2_PIN_ver met5} {met2_PIN_hor met5} {met1_PIN_ver met5} {met1_PIN_hor met5} {met4 met5} {met4_PIN_ver met4} {met4_PIN_hor met4} {met3_PIN_ver met4} {met3_PIN_hor met4} {met2_PIN_ver met4} {met2_PIN_hor met4} {met1_PIN_ver met4} {met1_PIN_hor met4} {li1_PIN_ver met4} {li1_PIN_hor met4} {li1_PIN_ver met5} {li1_PIN_hor met5}}
obstructions {}
pins {met1 met2 met3 met4 met5}
pdngen::specify_grid macro {
orient {R0 R180 MX MY}
power_pins "VDD vccd1"
ground_pins "VSS vssd1"
blockages "met1 met2 met3 met4"
connect {{met3_PIN_hor met5} {met4_PIN_ver met5} {met3 met5} {met4 met5}}
}
After that, I try to us the common_pdn.tcl. so I eliminate the set ::env(PDN_CFG) $::env(DESIGN_DIR)/pdn.tcl in the config.tcl and add the following line in config.tcl. However, this is giving me another error: [ERROR PDN-9999] Unexpected error: key "vccd1" not known in dictionary PDN-9999
set ::env(DESIGN_IS_CORE) 1
set ::env(FP_PDN_CORE_RING) 1
set ::env(VDD_NETS) [list {vccd1} {vccd2} {vdda1} {vdda2}]
set ::env(GND_NETS) [list {vssd1} {vssd2} {vssa1} {vssa2}]
set ::env(SYNTH_USE_PG_PINS_DEFINES) "USE_POWER_PINS"
Does anyone have any idea? The-OpenROAD-Project/OpenLane