tnt
07/29/2020, 7:51 PMAhmed Ghazy
07/30/2020, 1:47 PMadd_macro_placement <cell_instance_name> <x> <y>
and manual_macro_placement
knowing that you probably have access to most variables needed like SITE_HEIGHT, SITE_WIDTH, CORE_MARGIN, PDN pitches, etc..
For even lower-level access, you can use the very powerful OpenDB, which has a tcl and python interfaces. We have some scripts that make use of it that you can check out (e.g., https://github.com/efabless/openlane/blob/master/scripts/contextualize.py). You can read both designs and move the cells from the submacro to the one that contains it while maintaining their relative positions. You can then mark those cells as FIXED/FIRM so that the placer doesn't touch them.tnt
07/30/2020, 1:48 PM