Skip to content

Commit 215005d

Browse files
committed
route: fix error message after failed global route
detailed route now happens immediately after global route. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent f54b1aa commit 215005d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

flow/scripts/detail_route.tcl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if {[expr [file exists $::env(REPORTS_DIR)/congestion.rpt] && \
2+
[file size $::env(REPORTS_DIR)/congestion.rpt] != 0]} {
3+
error "Global routing failed, run `make gui_grt` and load $::env(REPORTS_DIR)/congestion.rpt \
4+
in DRC viewer to view congestion"
5+
}
6+
17
utl::set_metrics_stage "detailedroute__{}"
28
source $::env(SCRIPTS_DIR)/load.tcl
39
load_design 5_1_grt.odb 4_cts.sdc

flow/scripts/fillcell.tcl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
if {[expr [file exists $::env(REPORTS_DIR)/congestion.rpt] && \
2-
[file size $::env(REPORTS_DIR)/congestion.rpt] != 0]} {
3-
error "Global routing failed, run `make gui_grt` and load $::env(REPORTS_DIR)/congestion.rpt \
4-
in DRC viewer to view congestion"
5-
}
6-
71
source $::env(SCRIPTS_DIR)/load.tcl
82
if {[env_var_exists_and_non_empty FILL_CELLS]} {
93
load_design 5_2_route.odb 4_cts.sdc

0 commit comments

Comments
 (0)