Skip to content

Commit 8c37024

Browse files
committed
route: global route now writes out .sdc file
Since global route can run timing repair, it must write out an .sdc file and it must be used going forward. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 3d80791 commit 8c37024

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ $(eval $(call do-step,5_3_fillcell,$(RESULTS_DIR)/5_2_route.odb,fillcell))
786786

787787
$(eval $(call do-copy,5_route,5_3_fillcell.odb))
788788

789-
$(eval $(call do-copy,5_route,4_cts.sdc,,.sdc))
789+
$(eval $(call do-copy,5_route,5_1_grt.sdc,,.sdc))
790790

791791
.PHONY: do-route
792792
do-route:

flow/scripts/detail_route.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
utl::set_metrics_stage "detailedroute__{}"
22
source $::env(SCRIPTS_DIR)/load.tcl
3-
load_design 5_1_grt.odb 4_cts.sdc
3+
load_design 5_1_grt.odb 5_1_grt.sdc
44
if {![grt::have_routes]} {
55
error "Global routing failed, run `make gui_grt` and load $::global_route_congestion_report \
66
in DRC viewer to view congestion"

flow/scripts/fillcell.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source $::env(SCRIPTS_DIR)/load.tcl
22
erase_non_stage_variables route
33
if {[env_var_exists_and_non_empty FILL_CELLS]} {
4-
load_design 5_2_route.odb 4_cts.sdc
4+
load_design 5_2_route.odb 5_1_grt.sdc
55

66
set_propagated_clock [all_clocks]
77

flow/scripts/global_route.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ proc global_route_helper {} {
109109

110110
write_guides $::env(RESULTS_DIR)/route.guide
111111
write_db $::env(RESULTS_DIR)/5_1_grt.odb
112+
write_sdc -no_timestamp $::env(RESULTS_DIR)/5_1_grt.sdc
112113
}
113114

114115
global_route_helper

0 commit comments

Comments
 (0)