Skip to content

Commit

Permalink
grt: add logging
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
oharboe committed Jan 30, 2025
1 parent de2e957 commit 9c04ab4
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions flow/scripts/global_route.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ proc global_route_helper {} {

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

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

# Running DPL to fix overlapped instances
# Run to get modified net by DPL
global_route -start_incremental
detailed_placement
log_cmd global_route -start_incremental
log_cmd detailed_placement
# Route only the modified net by DPL
global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_timing.rpt
log_cmd global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_repair_timing.rpt
}

global_route -start_incremental
recover_power

log_cmd global_route -start_incremental
log_cmd recover_power
# Route the modified nets by rsz journal restore
global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_recover_power.rpt
log_cmd global_route -end_incremental -congestion_report_file $::env(REPORTS_DIR)/congestion_post_recover_power.rpt

if {![env_var_equals SKIP_ANTENNA_REPAIR 1]} {
puts "Repair antennas..."
Expand Down

0 comments on commit 9c04ab4

Please sign in to comment.