We are trying to connect our hardened design macro...
# openlane
e
We are trying to connect our hardened design macro to the user project wrapper, and we got this error message during PDN. We tried to modify 
common_pdn.tcl
 in pdks but it still didn’t help. Any idea how to fix this?
Copy code
[INFO] [PDNG-0016] Power Delivery Network Generator: Generating PDN
[INFO] [PDNG-0016]   config: /tmp/estel/openlane/pdks/sky130A/libs.tech/openlane/common_pdn.tcl
[INFO] [PDNG-0008] Design Name is user_analog_project_wrapper
[INFO] [PDNG-0009] Reading technology data
[INFO] [PDNG-0011] ****** INFO ******
Type: stdcell, grid
    Core Rings
      Layer: met4 -  width: 3.000  spacing: 1.700  core_offset: 14.000 
      Layer: met5 -  width: 3.000  spacing: 1.700  core_offset: 14.000 
    Stdcell Rails
      Layer: met1 -  width: 0.480  pitch: 3.330  offset: 0.000 
    Straps
      Layer: met4 -  width: 3.000  pitch: 180.000  offset: 5.000 
      Layer: met5 -  width: 3.000  pitch: 180.000  offset: 5.000 
    Connect: {met4 met5} {met1 met4}
Type: macro, macro_1
    Macro orientation: R0
    Straps
      Layer: met5 -  width: 1.000  pitch: 3.000  offset: 2.000 
    Connect: {met4 met5}
[INFO] [PDNG-0012] **** END INFO ****
[INFO] [PDNG-0013] Inserting stdcell grid - grid
[INFO] [PDNG-0010] Inserting macro grid for 1 macros
[INFO] [PDNG-0034]   - grid for instance mprj.prbs
[INFO] [PDNG-0015] Writing to database
-code 1 -level 0 -errorcode NONE -errorinfo {invalid command name "NULL"
    while executing
"builtin_unknown NULL setSpecial"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 builtin_unknown $args"
    (procedure "sta_unknown" line 36)
    invoked from within
"$bterm setSpecial"
    (procedure "export_opendb_power_pin" line 9)
    invoked from within
"export_opendb_power_pin $net_name "POWER""
    (procedure "export_opendb_power_pins" line 6)
    invoked from within
"export_opendb_power_pins"
    (procedure "opendb_update_grid" line 5)
    invoked from within
"opendb_update_grid"
    (procedure "apply" line 7)
    invoked from within
"apply $config"
    (procedure "pdngen::apply_pdn" line 14)
    invoked from within
"pdngen::apply_pdn $config_file $verbose "} -errorline 9
[CRIT] [PDNG-9999] Unexpected error: invalid command name "NULL"
[ERROR]: during executing: "openroad -exit /openLANE_flow/scripts/openroad/or_pdn.tcl |& tee >&@stdout /project/openlane/user_analog_project_wrapper/runs/user_analog_project_wrapper/logs/floorplan/10-pdn.log"
[ERROR]: Exit code: 1
[ERROR]: Last 10 lines:
child process exited abnormally
m
@Estelle He Do you have
USE_POWER_PINS
macro guarding the power pins in the user_project_wrapper verilog ?
e
Yes we do. And we did it for the macro we are trying to insert as well
m
If you can provide a test case I suggest filing an issue with https://github.com/The-OpenROAD-Project/OpenROAD/issues