Skip to content

Commit b8c21d7

Browse files
authored
Merge pull request #1736 from Pinata-Consulting/makefile-idempotent-sdc-files
makefile: reproducible/idempotent .sdc files
2 parents fb053e3 + fd32103 commit b8c21d7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

flow/scripts/cts.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if {[info exist ::env(CTS_CLUSTER_DIAMETER)]} {
2121
proc save_progress {stage} {
2222
puts "Run 'make gui_$stage.odb' to load progress snapshot"
2323
write_db $::env(RESULTS_DIR)/$stage.odb
24-
write_sdc $::env(RESULTS_DIR)/$stage.sdc
24+
write_sdc -no_timestamp $::env(RESULTS_DIR)/$stage.sdc
2525
}
2626

2727
set cts_args [list \
@@ -130,5 +130,5 @@ if {![info exists save_checkpoint] || $save_checkpoint} {
130130
write_def $::env(RESULTS_DIR)/4_1_cts.def
131131
}
132132
write_db $::env(RESULTS_DIR)/4_1_cts.odb
133-
write_sdc $::env(RESULTS_DIR)/4_cts.sdc
133+
write_sdc -no_timestamp $::env(RESULTS_DIR)/4_cts.sdc
134134
}

flow/scripts/floorplan.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,5 +164,5 @@ if {![info exists save_checkpoint] || $save_checkpoint} {
164164
write_def $::env(RESULTS_DIR)/2_1_floorplan.def
165165
}
166166
write_db $::env(RESULTS_DIR)/2_1_floorplan.odb
167-
write_sdc $::env(RESULTS_DIR)/2_floorplan.sdc
167+
write_sdc -no_timestamp $::env(RESULTS_DIR)/2_floorplan.sdc
168168
}

flow/scripts/write_ref_sdc.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if { [llength $clks] == 0 } {
2525
create_clock -name $clk_name -period $ref_period $sources
2626
# Undo the set_propagated_clock so SDC at beginning of flow uses ideal clocks.
2727
unset_propagated_clock [all_clocks]
28-
write_sdc [file join $env(RESULTS_DIR) "updated_clks.sdc"]
28+
write_sdc -no_timestamp [file join $env(RESULTS_DIR) "updated_clks.sdc"]
2929
# Reset
3030
create_clock -name $clk_name -period $period $sources
3131
set_propagated_clock [all_clocks]

0 commit comments

Comments
 (0)