Can you get PDN gen to not generate rails ? And ju...
# openroad
t
Can you get PDN gen to not generate rails ? And just straps ?
t
Did you try to remove the
rails
entry in the
pdn.tcl
file ?
t
yeah
crashes
Copy code
[INFO] [PDNG-0016]   config: /home/tnt/sky130/caravel/openlane/user_project_wrapper/pdn.tcl
-errorcode NONE -errorinfo Error:\ pdn.tcl,\ 20\ missing\ value\ to\ go\ with\ key\n\ \ \ \ while\ executing\n\"error\ \"Error:\ \[file\ tail\ \$error_sdc_file\],\ \$error_sdc_line\ \$error\"\"\n\ \ \ \ invoked\ from\ within\n\"if\ \[catch\ \{open\ \$filename\ r\}\ stream\]\ \{\n\ \ \ \ sta_error\ \"cannot\ open\ '\$filename'.\"\n\ \ \}\ else\ \{\n\ \ \ \ #\ Save\ file\ and\ line\ in\ recursive\ call\ to\ source.\n\ \ \ \ i...\"\n\ \ \ \ (procedure\ \"source_\"\ line\ 5)\n\ \ \ \ invoked\ from\ within\n\"source_\ \$filename\ \$echo\ \$verbose\ \"\n\ \ \ \ invoked\ from\ within\n\"source\ \$PDN_cfg\"\n\ \ \ \ (procedure\ \"init\"\ line\ 36)\n\ \ \ \ invoked\ from\ within\n\"init\ \$config\"\n\ \ \ \ (procedure\ \"apply\"\ line\ 4)\n\ \ \ \ invoked\ from\ within\n\"apply\ \$config\"\n\ \ \ \ (procedure\ \"pdngen::apply_pdn\"\ line\ 14)\n\ \ \ \ invoked\ from\ within\n\"pdngen::apply_pdn\ \$config_file\ \$verbose\ \" -code 1 -level 0 -errorstack {INNER {invokeStk1 source /home/tnt/sky130/caravel/openlane/user_project_wrapper/pdn.tcl} CALL {init /home/tnt/sky130/caravel/openlane/user_project_wrapper/pdn.tcl} CALL {apply /home/tnt/sky130/caravel/openlane/user_project_wrapper/pdn.tcl} CALL {pdngen::apply_pdn /home/tnt/sky130/caravel/openlane/user_project_wrapper/pdn.tcl 1} CALL {pdngen /home/tnt/sky130/caravel/openlane/user_project_wrapper/pdn.tcl -verbose}} -errorline 9
[CRIT] [PDNG-9999] Unexpected error: Error: pdn.tcl, 20 missing value to go with key
t
Sorry.
t
Oh wait no that was just a syntax error ... apparently can't have comments inside the definition ...
Now I get a segfault 😕
a
I think you just need to have an empty rails block:
Copy code
rails {
}
t
Ah yeah, indeed, needs to be present and empty.
No more rails 🙂

https://i.imgur.com/MMpWK15.png

a
Why does the routing on the left look so perfect?:D
t
Because I put the pins in the right order in my macro for that 😄 Although I think I'll switch to reverse order so it balances trace lengtht a bit.