Skip to content

Commit c5b6af3

Browse files
committed
global route: fix GENERATE_ARTIFACTS_ON_FAILURE use-case take 2
the .sdc file must be written out alongside the .odb file and .rpt file in the failing test case when GENERATE_ARTIFACTS_ON_FAILURE=1 Signed-off-by: Øyvind Harboe <[email protected]>
1 parent ebc809b commit c5b6af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/scripts/global_route.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ proc global_route_helper {} {
3131
if {[expr !$::env(GENERATE_ARTIFACTS_ON_FAILURE) || \
3232
![file exists $::global_route_congestion_report] || \
3333
[file size $::global_route_congestion_report] == 0]} {
34-
write_sdc -no_timestamp $::env(RESULTS_DIR)/5_1_grt.sdc
3534
write_db $::env(RESULTS_DIR)/5_1_grt-failed.odb
3635
error $errMsg
3736
}
37+
write_sdc -no_timestamp $::env(RESULTS_DIR)/5_1_grt.sdc
3838
write_db $::env(RESULTS_DIR)/5_1_grt.odb
3939
return
4040
}

0 commit comments

Comments
 (0)