Skip to content

Commit eb9c629

Browse files
committed
global route: add GLOBAL_ROUTE_ARGS env variable
it defaults to the existing arguments. Adjusting GLOBAL_ROUTE_ARGS can be useful to terminate the global route, so as to get a congestion report early to figure out why global route is taking a long time. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent b34f40c commit eb9c629

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flow/scripts/global_route.tcl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ if {[info exist env(FASTROUTE_TCL)]} {
1414
}
1515

1616
global_route -guide_file $env(RESULTS_DIR)/route.guide \
17-
-congestion_iterations 100 \
1817
-congestion_report_file $env(REPORTS_DIR)/congestion.rpt \
19-
-verbose
18+
{*}[expr {[info exists ::env(GLOBAL_ROUTE_ARGS)] ? $::env(GLOBAL_ROUTE_ARGS) : {-congestion_iterations 100 -verbose}}]
2019

2120
set_propagated_clock [all_clocks]
2221
estimate_parasitics -global_routing

0 commit comments

Comments
 (0)