Hi all, Is this a bug and should I report it? ```[...
# openlane
m
Hi all, Is this a bug and should I report it?
Copy code
[INFO]: Running Floorplanning...
[INFO]: Running Initial Floorplanning...
[INFO]: current step index: 3
OpenROAD 1 f0e6c04818f120fcd15c29735a398d3cd420bd78
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_flow/designs/adder/runs/09-09_00-39/tmp/merged_unpadded.lef
[WARNING ODB-0220] WARNING (LEFPARS-2036): SOURCE statement is obsolete in version 5.6 and later.
The LEF parser will ignore this statement.
To avoid this warning in the future, remove this statement from the LEF file with version 5.6 or later. See file /openLANE_flow/designs/adder/runs/09-09_00-39/tmp/merged_unpadded.lef at line 68127.

[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_flow/designs/adder/runs/09-09_00-39/tmp/merged_unpadded.lef
[INFO IFP-0001] Added 212 rows of 1932 sites.
[INFO]: Core area width: 888.96
[INFO]: Core area height: 578.24
[INFO]: Final Vertical PDN Offset: 16.32
[INFO]: Final Horizontal PDN Offset: 16.65
[INFO]: Final Vertical PDN Pitch: 153.6
[INFO]: Final Horizontal PDN Pitch: 153.18
[INFO]: Changing layout from 0 to /openLANE_flow/designs/adder/runs/09-09_00-39/tmp/floorplan/3-verilog2def_openroad.def
[INFO]: current step index: 4
OpenROAD 1 f0e6c04818f120fcd15c29735a398d3cd420bd78
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_flow/designs/adder/runs/09-09_00-39/tmp/merged.lef
[WARNING ODB-0220] WARNING (LEFPARS-2036): SOURCE statement is obsolete in version 5.6 and later.
The LEF parser will ignore this statement.
To avoid this warning in the future, remove this statement from the LEF file with version 5.6 or later. See file /openLANE_flow/designs/adder/runs/09-09_00-39/tmp/merged.lef at line 68127.

[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_flow/designs/adder/runs/09-09_00-39/tmp/merged.lef
[INFO ODB-0127] Reading DEF file: /openLANE_flow/designs/adder/runs/09-09_00-39/tmp/floorplan/3-verilog2def_openroad.def
[INFO ODB-0128] Design: adder
[INFO ODB-0130]     Created 5 pins.
[INFO ODB-0131]     Created 6 components and 47 component-terminals.
[INFO ODB-0133]     Created 9 nets and 23 connections.
[INFO ODB-0134] Finished DEF file: /openLANE_flow/designs/adder/runs/09-09_00-39/tmp/floorplan/3-verilog2def_openroad.def
Top-level design name: adder
Block boundaries: 0 0 900000 600000
Traceback (most recent call last):
  File "/openLANE_flow/scripts/io_place.py", line 288, in <module>
    origin, count, step = odb.new_int(0), odb.new_int(0), odb.new_int(0)
AttributeError: module 'opendb' has no attribute 'new_int'
Looks like the main error is
AttributeError: module 'opendb' has no attribute 'new_int'
.
u
yes, they removed the helper functions, try updating io_place.py to this: https://gist.github.com/20Mhz/be34125a6747a559b4da7f073043ee9f
1
m
Hi @20Mhz, Thanks a lot for your help. I put a comment on your Gist, please check that out.
👍 1