Skip to content

Commit 7bba822

Browse files
flow: always store the MPL clustering tree in the ODB
rtl_macro_placer now always runs with -keep_clustering_data, so the physical hierarchy its clustering engine builds is kept in the database as dbGroups and stays inspectable after the run: the web viewer's Clusters panel lists it, and `save_image -web -display_option {cluster_view true}` plots it headless. The clustering runs either way, so the only cost is storing it, and it is small enough not to be worth a variable: on nangate45/bp_quad (220 macros, 1.18M instances, the largest cluster tree in the ORFS designs at 98 clusters over 3 levels) the macro placer goes from 137.8s to 139.9s, inside the annealer's own run-to-run spread; the ODB grows ~22KB on 90MB, because dbInst already carries the group fields. Note that RTLMP_ARGS still replaces the whole argument list, so flows setting it must pass -keep_clustering_data themselves. Part of The-OpenROAD-Project/OpenROAD#7959 Signed-off-by: Jorge Ferreira <jorge.ferreira@precisioninno.com>
1 parent ab244fc commit 7bba822

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎flow/scripts/macro_place_util.tcl‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ if { [find_macros] != "" } {
5353
append_env_var additional_rtlmp_args RTLMP_BOUNDARY_WT -boundary_weight 1
5454
append_env_var additional_rtlmp_args RTLMP_NOTCH_WT -notch_weight 1
5555
append_env_var additional_rtlmp_args RTLMP_RPT_DIR -report_directory 1
56+
57+
append additional_rtlmp_args " -keep_clustering_data"
58+
5659
append_env_var additional_rtlmp_args RTLMP_FENCE_LX -fence_lx 1
5760
append_env_var additional_rtlmp_args RTLMP_FENCE_LY -fence_ly 1
5861
append_env_var additional_rtlmp_args RTLMP_FENCE_UX -fence_ux 1

0 commit comments

Comments
 (0)