Skip to content

Commit 34602ee

Browse files
committed
detail route: more direct check on having global routes
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent c64e96e commit 34602ee

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

flow/scripts/detail_route.tcl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
utl::set_metrics_stage "detailedroute__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
if {[file exists $::global_route_congestion_report]} {
4-
if {[file size $::global_route_congestion_report] != 0} {
5-
error "Global routing failed, run `make gui_grt` and load $::global_route_congestion_report \
6-
in DRC viewer to view congestion"
7-
}
8-
}
93
load_design 5_1_grt.odb 4_cts.sdc
4+
if {![grt::have_routes]} {
5+
error "Global routing failed, run `make gui_grt` and load $::global_route_congestion_report \
6+
in DRC viewer to view congestion"
7+
}
108
erase_non_stage_variables route
119
set_propagated_clock [all_clocks]
1210

0 commit comments

Comments
 (0)