@@ -8,10 +8,13 @@ load_design 4_cts.odb 4_cts.sdc
88proc global_route_helper { } {
99 source_env_var_if_exists PRE_GLOBAL_ROUTE_TCL
1010
11- proc do_global_route { } {
11+ set res_aware " "
12+ append_env_var res_aware ENABLE_RESISTANCE_AWARE -resistance_aware 0
13+
14+ proc do_global_route { res_aware } {
1215 set all_args [concat [list \
1316 -congestion_report_file $::global_route_congestion_report ] \
14- $::env(GLOBAL_ROUTE_ARGS) ]
17+ $::env(GLOBAL_ROUTE_ARGS) {*} $res_aware ]
1518
1619 log_cmd global_route {*}$all_args
1720 }
@@ -22,7 +25,7 @@ proc global_route_helper { } {
2225
2326 pin_access {*}$additional_args
2427
25- set result [catch { do_global_route } errMsg]
28+ set result [catch { do_global_route $res_aware } errMsg]
2629
2730 if { $result != 0 } {
2831 if { !$::env(GENERATE_ARTIFACTS_ON_FAILURE) } {
@@ -61,7 +64,7 @@ proc global_route_helper { } {
6164 log_cmd global_route -start_incremental
6265 log_cmd detailed_placement
6366 # Route only the modified net by DPL
64- log_cmd global_route -end_incremental \
67+ log_cmd global_route -end_incremental {*} $res_aware \
6568 -congestion_report_file $::env(REPORTS_DIR) /congestion_post_repair_design.rpt
6669
6770 # Repair timing using global route parasitics
@@ -79,15 +82,15 @@ proc global_route_helper { } {
7982 log_cmd global_route -start_incremental
8083 log_cmd detailed_placement
8184 # Route only the modified net by DPL
82- log_cmd global_route -end_incremental \
85+ log_cmd global_route -end_incremental {*} $res_aware \
8386 -congestion_report_file $::env(REPORTS_DIR) /congestion_post_repair_timing.rpt
8487 }
8588
8689
8790 log_cmd global_route -start_incremental
8891 recover_power_helper
8992 # Route the modified nets by rsz journal restore
90- log_cmd global_route -end_incremental \
93+ log_cmd global_route -end_incremental {*} $res_aware \
9194 -congestion_report_file $::env(REPORTS_DIR) /congestion_post_recover_power.rpt
9295
9396 if {
0 commit comments