Hi all, Im trying to learn to work with openlane. ...
# openlane
a
Hi all, Im trying to learn to work with openlane. I coded a simple updown counter. I stucked in generating PDN step. Here are my config and log files below. How can I solve this situation? [ERROR PDN-0185] Insufficient width to add straps on layer met4 in grid "stdcell_grid". My config file:
Copy code
# User config
set ::env(DESIGN_NAME) updown_counter

# Change if needed
set ::env(VERILOG_FILES) [glob $::env(DESIGN_DIR)/src/*.v]

# Fill this
set ::env(CLOCK_PERIOD) "10.0"
set ::env(CLOCK_PORT) "CLK_i"
set ::env(PL_TARGET_DENSITY) "0.7"
set ::env(CELL_PAD) 0.7
set ::env(DIE_AREA) "0 0 100 100"

set ::env(FP_PDN_AUTO_ADJUST) 0
set ::env(FP_PDN_VOFFSET) "5.0"
set ::env(FP_PDN_HOFFSET) "5.0"

#set ::env(FP_PDN_ENABLE_MACROS_GRID) 0

set ::env(FP_PDN_IRDROP) 1

set filename $::env(DESIGN_DIR)/$::env(PDK)_$::env(STD_CELL_LIBRARY)_config.tcl
if { [file exists $filename] == 1} {
	source $filename
}
logs:
Copy code
OpenROAD 0b8b7ae255f8fbbbefa57d443949b84e73eed757 
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
[INFO ODB-0222] Reading LEF file: /openlane/designs/mydesigns/1_UpDown_Counter_4bit/runs/RUN_2022.06.17_14.09.55/tmp/merged.unpadded.nom.lef
[INFO ODB-0223]     Created 13 technology layers
[INFO ODB-0224]     Created 25 technology vias
[INFO ODB-0225]     Created 441 library cells
[INFO ODB-0226] Finished LEF file:  /openlane/designs/mydesigns/1_UpDown_Counter_4bit/runs/RUN_2022.06.17_14.09.55/tmp/merged.unpadded.nom.lef
[INFO ODB-0127] Reading DEF file: /openlane/designs/mydesigns/1_UpDown_Counter_4bit/runs/RUN_2022.06.17_14.09.55/results/floorplan/updown_counter.def
[INFO ODB-0128] Design: updown_counter
[INFO ODB-0130]     Created 11 pins.
[INFO ODB-0131]     Created 72 components and 398 component-terminals.
[INFO ODB-0133]     Created 44 nets and 134 connections.
[INFO ODB-0134] Finished DEF file: /openlane/designs/mydesigns/1_UpDown_Counter_4bit/runs/RUN_2022.06.17_14.09.55/results/floorplan/updown_counter.def
[ERROR PDN-0185] Insufficient width to add straps on layer met4 in grid "stdcell_grid".
Error: pdn_cfg.tcl, 127 PDN-0185
r
Hmm, I haven't seen the error message before, but it from what I can see, you get this while compiling the counter macro itself, not its wrapper. Perhaps the macro is too small to fit all four power distribution networks in the macro? You can try this by increasing the die size from set ::env(DIE_AREA) "0 0 100 100" to set ::env(DIE_AREA) "0 0 400 400". Note that you may have to change some other values to try this out.
a
I've already tried with various DIE_AREA values. Now I added lines below and It solved [ERROR PDN-0185].
Copy code
set ::env(FP_PDN_VPITCH) "25.0"
set ::env(FP_PDN_HPITCH) "25.0"
Thanks for your concern sir.
a
I think the problem is that the DIE AREA alone is ignored, you might also need to set the absolute size of the area not relaitve
... or decrease FP UTIL
a
@Arman Avetisyan Thanks sir, I setted FP_UTIL as 30.
281 Views