Skip to content

Commit f35c12e

Browse files
precisionmoonmaliberty
authored andcommitted
gemini code review fix
Signed-off-by: Cho Moon <cmoon@precisioninno.com> Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
1 parent 2cec131 commit f35c12e

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ configuration file.
197197
| <a name="MIN_ROUTING_LAYER"></a>MIN_ROUTING_LAYER| The lowest metal layer name to be used in routing.| |
198198
| <a name="NUM_CORES"></a>NUM_CORES| Passed to `openroad -threads $(NUM_CORES)`, defaults to numbers of cores in system as determined by system specific code in Makefile, `nproc` is tried first. OpenROAD does not limit itself to this number of cores across OpenROAD running instances, which can lead to overprovisioning in contexts such as bazel-orfs where there could be many routing, or place jobs running at the same time.| |
199199
| <a name="OPENROAD_HIERARCHICAL"></a>OPENROAD_HIERARCHICAL| Feature toggle to enable to run OpenROAD in hierarchical mode, otherwise considered flat. Will eventually be the default and this option will be retired.| 0|
200+
| <a name="OPT_POST_GRT_WNS"></a>OPT_POST_GRT_WNS| Optimize WNS after global routing by additional repair_timing that uses VT swap and wire rerouting only to minimize placement and routing disturbance| 1|
200201
| <a name="OR_K"></a>OR_K| Passed as -or_k to detailed routing.| |
201202
| <a name="OR_SEED"></a>OR_SEED| Passed as -or_seed to detailed routing.| |
202203
| <a name="PDN_TCL"></a>PDN_TCL| File path which has a set of power grid policies used by pdn to be applied to the design, such as layers to use, stripe width and spacing to generate the actual metal straps.| |
@@ -545,6 +546,7 @@ configuration file.
545546
- [MAX_REPAIR_TIMING_ITER](#MAX_REPAIR_TIMING_ITER)
546547
- [MAX_ROUTING_LAYER](#MAX_ROUTING_LAYER)
547548
- [MIN_ROUTING_LAYER](#MIN_ROUTING_LAYER)
549+
- [OPT_POST_GRT_WNS](#OPT_POST_GRT_WNS)
548550
- [POST_GLOBAL_ROUTE_TCL](#POST_GLOBAL_ROUTE_TCL)
549551
- [PRE_GLOBAL_ROUTE_TCL](#PRE_GLOBAL_ROUTE_TCL)
550552
- [REPORT_CLOCK_SKEW](#REPORT_CLOCK_SKEW)

‎flow/scripts/global_route.tcl‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,14 @@ proc global_route_helper { } {
9595
log_cmd global_route -end_incremental {*}$res_aware \
9696
-congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_timing_opt_wns.rpt
9797

98-
repair_timing -setup -sequence "vt_swap reroute" -skip_last_gasp -repair_tns 0 -verbose
98+
set repair_timing_args [list -setup -sequence "vt_swap reroute" -skip_last_gasp -repair_tns 0 -verbose]
99+
if { $::env(MATCH_CELL_FOOTPRINT) } {
100+
lappend repair_timing_args -match_cell_footprint
101+
}
102+
if { $::env(SETUP_SLACK_MARGIN) != 0 } {
103+
lappend repair_timing_args -setup_margin $::env(SETUP_SLACK_MARGIN)
104+
}
105+
repair_timing {*}$repair_timing_args
99106

100107
if { $::env(DETAILED_METRICS) } {
101108
report_metrics 5 "global route post repair timing_opt_wns"

0 commit comments

Comments
 (0)