Estelle He

06/14/2021, 1:45 AM
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 
 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/
[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 
      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
      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
    (procedure "opendb_update_grid" line 5)
    invoked from within
    (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

Manar Abdelatty

06/14/2021, 10:38 AM
@Estelle He Do you have
macro guarding the power pins in the user_project_wrapper verilog ?

Estelle He

06/16/2021, 8:37 PM
Yes we do. And we did it for the macro we are trying to insert as well

Matt Liberty

06/17/2021, 3:55 PM
If you can provide a test case I suggest filing an issue with