OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

write_macro_placement does not write out snapped positions

Open oharboe opened this issue 1 year ago • 2 comments

Describe the bug

untar macro-place.tar.gz

./run-me-mock-array-asap7-base.sh

In GUI, run:

source macros.tcl

macros.tcl was written out by write_macro_placement for make DESIGN_CONFIG=designs/asap7/mock-array/config.mk gui_2_4_macro_place

The last line of macros.tcl is:

place_macro -macro_name ces_7_7 -location {309.024 339.264} -orientation R0
Label X Y
macros.tcl 309.024 339.264
XY 309.168 339.408
BBox 309.168 339.408
Log 309.168 339.408

image

Expected Behavior

The positions in the GUI are the snappedpositions, I would have expected the position written into macros.tcl to match up with the position in the GUI.

Environment

v2.0-16600-gb972b3473

To Reproduce

See above

Relevant log output

No response

Screenshots

No response

Additional Context

No response

oharboe avatar Oct 18 '24 12:10 oharboe

See https://github.com/The-OpenROAD-Project/OpenROAD/issues/5962

maliberty avatar Oct 19 '24 03:10 maliberty

So pin positions are snapped(adjusted), but why isn't write_macro_placement writing out the snapped(adjusted) positions then?

That would be my expectation, hence reopening.

oharboe avatar Oct 19 '24 07:10 oharboe