Repository navigation
Commit 6582e79
committed
flow: add RTLMP_KEEP_CLUSTERING to store the MPL clustering tree
Set it to 1 and the macro placer runs with -keep_clustering_data, which
keeps the physical hierarchy its clustering engine builds in the ODB as
nested dbGroups. That is what makes the partitioning inspectable after
the run: the web viewer's Clusters panel lists it, and `save_image -web
-display_option {cluster_view true}` plots it headless.
Off by default, for two reasons. It is an inspection aid that most runs
do not need, and the clusters take ownership of the instances they hold --
an instance belongs to a single dbGroup -- so on a design with power
domains or region groups it would take them away from those. OpenROAD
leaves such instances alone and reports them (MPL-0078), but there is no
reason to spend the ODB on a tree nobody asked for.
The clustering itself runs either way, so the only cost of turning it on
is storing the result: measured on nangate45/bp_quad (220 macros, 1.18M
instances, 98 clusters over 3 levels -- the largest cluster tree among the
ORFS designs) the macro placer goes from 137.8s to 139.9s, inside the
annealer's own run-to-run spread, and the ODB grows ~22KB on 90MB.
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 6582e79
4 files changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
258 | 259 | | |
259 | 260 | | |
260 | 261 | | |
| |||
429 | 430 | | |
430 | 431 | | |
431 | 432 | | |
| 433 | + | |
432 | 434 | | |
433 | 435 | | |
434 | 436 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1448 | 1448 | | |
1449 | 1449 | | |
1450 | 1450 | | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
1451 | 1458 | | |
1452 | 1459 | | |
1453 | 1460 | | |
| |||
0 commit comments