Skip to content

Commit 002bb93

Browse files
authored
Merge pull request #4412 from The-OpenROAD-Project-staging/feature-MPL-cluster
flow: add RTLMP_KEEP_CLUSTERING option
2 parents 205191e + 6582e79 commit 002bb93

4 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ configuration file.
261261
| <a name="RTLMP_FENCE_LY"></a>RTLMP_FENCE_LY| Defines the lower left Y coordinate for the global fence bounding box in microns.| 0.0|
262262
| <a name="RTLMP_FENCE_UX"></a>RTLMP_FENCE_UX| Defines the upper right X coordinate for the global fence bounding box in microns.| 0.0|
263263
| <a name="RTLMP_FENCE_UY"></a>RTLMP_FENCE_UY| Defines the upper right Y coordinate for the global fence bounding box in microns.| 0.0|
264+
| <a name="RTLMP_KEEP_CLUSTERING"></a>RTLMP_KEEP_CLUSTERING| Set to 1 to store the RTL macro placer's clustering hierarchy in the ODB as nested dbGroups.| 0|
264265
| <a name="RTLMP_MAX_INST"></a>RTLMP_MAX_INST| Maximum number of standard cells in a cluster. If unset, rtl_macro_placer will calculate a value based on the design attributes.| |
265266
| <a name="RTLMP_MAX_LEVEL"></a>RTLMP_MAX_LEVEL| Maximum depth of the physical hierarchy tree.| 2|
266267
| <a name="RTLMP_MAX_MACRO"></a>RTLMP_MAX_MACRO| Maximum number of macros in a cluster. If unset, rtl_macro_placer will calculate a value based on the design attributes.| |
@@ -439,6 +440,7 @@ configuration file.
439440
- [RTLMP_FENCE_LY](#RTLMP_FENCE_LY)
440441
- [RTLMP_FENCE_UX](#RTLMP_FENCE_UX)
441442
- [RTLMP_FENCE_UY](#RTLMP_FENCE_UY)
443+
- [RTLMP_KEEP_CLUSTERING](#RTLMP_KEEP_CLUSTERING)
442444
- [RTLMP_MAX_INST](#RTLMP_MAX_INST)
443445
- [RTLMP_MAX_LEVEL](#RTLMP_MAX_LEVEL)
444446
- [RTLMP_MAX_MACRO](#RTLMP_MAX_MACRO)

‎flow/scripts/macro_place_util.tcl‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ 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+
append_env_var additional_rtlmp_args RTLMP_KEEP_CLUSTERING \
57+
-keep_clustering_data 0
5658
append_env_var additional_rtlmp_args RTLMP_FENCE_LX -fence_lx 1
5759
append_env_var additional_rtlmp_args RTLMP_FENCE_LY -fence_ly 1
5860
append_env_var additional_rtlmp_args RTLMP_FENCE_UX -fence_ux 1

‎flow/scripts/variables.json‎

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flow/scripts/variables.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,13 @@ RTLMP_ARGS:
14911491
Overrides all other RTL macro placer arguments.
14921492
stages:
14931493
- floorplan
1494+
RTLMP_KEEP_CLUSTERING:
1495+
description: >
1496+
Set to 1 to store the RTL macro placer's clustering hierarchy in the ODB as
1497+
nested dbGroups.
1498+
default: 0
1499+
stages:
1500+
- floorplan
14941501
GDS_ALLOW_EMPTY:
14951502
description: >
14961503
Single regular expression of module names of macros that have no .gds file

0 commit comments

Comments
 (0)