Skip to content

Commit 9c04ab4

Browse files
committed
grt: add logging
global routing normally fails in the main global route, but it can fail incremental global routing and power recovery. Add logging of all global route invocations to reduce confusion upon these more rare failures and also make it easier to follow the incremental global routing. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent de2e957 commit 9c04ab4

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

flow/scripts/global_route.tcl

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ proc global_route_helper {} {
5858

5959
# Running DPL to fix overlapped instances
6060
# Run to get modified net by DPL
61-
global_route -start_incremental
62-
detailed_placement
61+
log_cmd global_route -start_incremental
62+
log_cmd detailed_placement
6363
# Route only the modified net by DPL
64-
global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_design.rpt
64+
log_cmd global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_design.rpt
6565

6666
# Repair timing using global route parasitics
6767
puts "Repair setup and hold violations..."
@@ -75,16 +75,17 @@ proc global_route_helper {} {
7575

7676
# Running DPL to fix overlapped instances
7777
# Run to get modified net by DPL
78-
global_route -start_incremental
79-
detailed_placement
78+
log_cmd global_route -start_incremental
79+
log_cmd detailed_placement
8080
# Route only the modified net by DPL
81-
global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_timing.rpt
81+
log_cmd global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_timing.rpt
8282
}
8383

84-
global_route -start_incremental
85-
recover_power
84+
85+
log_cmd global_route -start_incremental
86+
log_cmd recover_power
8687
# Route the modified nets by rsz journal restore
87-
global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_recover_power.rpt
88+
log_cmd global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_recover_power.rpt
8889

8990
if {![env_var_equals SKIP_ANTENNA_REPAIR 1]} {
9091
puts "Repair antennas..."

0 commit comments

Comments
 (0)