Skip to content

Commit 4bc2c11

Browse files
committed
Revert "open.tcl: propagated clocks come from the .sdc, not the file name"
This reverts commit 2385fd3. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent 01ec2f9 commit 4bc2c11

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎flow/scripts/open.tcl‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ if { [env_var_exists_and_non_empty DEF_FILE] } {
3333
}
3434

3535
proc read_timing { input_file } {
36-
# The .sdc beside the design file says which clocks are propagated, so
37-
# its name need not say which stage it is from.
36+
set design_stage [lindex [extract_stage $input_file] 0]
3837
log_cmd read_sdc [sdc_file_of $input_file]
3938
if { [file exists $::env(PLATFORM_DIR)/derate.tcl] } {
4039
source $::env(PLATFORM_DIR)/derate.tcl
@@ -49,6 +48,10 @@ proc read_timing { input_file } {
4948
# OpenSTA applies a wire-load model only to nets without parasitics.
5049
log_cmd set_wire_load_model -name $::env(WIRE_LOAD_MODEL)
5150
}
51+
if { $design_stage >= 4 } {
52+
# CTS has run, so propagate clocks
53+
set_propagated_clock [all_clocks]
54+
}
5255

5356
orfs_load_parasitics [file rootname [file tail $input_file]]
5457

0 commit comments

Comments
 (0)