Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TCL's failure to do short circuit eval properly #2469

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions flow/scripts/detail_route.tcl
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
utl::set_metrics_stage "detailedroute__{}"
source $::env(SCRIPTS_DIR)/load.tcl
if {[expr [file exists $::global_route_congestion_report] && \
[file size $::global_route_congestion_report] != 0]} {
error "Global routing failed, run `make gui_grt` and load $::global_route_congestion_report \
in DRC viewer to view congestion"
if {[file exists $::global_route_congestion_report]} {
if {[file size $::global_route_congestion_report] != 0]} {
error "Global routing failed, run `make gui_grt` and load $::global_route_congestion_report \
in DRC viewer to view congestion"
}
}
load_design 5_1_grt.odb 4_cts.sdc
erase_non_stage_variables route
Expand Down
Loading