Skip to content

Commit 0b03d57

Browse files
authored
Merge pull request #2794 from Pinata-Consulting/synth-error-not-silence-sdc-file-clock-period
synth: invalid SDC_FILE_CLOCK_PERIOD now gives error instead of silence
2 parents 9325d2c + 5d2a1b5 commit 0b03d57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/scripts/synth_preamble.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if {[env_var_exists_and_non_empty DONT_USE_CELLS]} {
8787
}
8888
}
8989

90-
if {[env_var_exists_and_non_empty SDC_FILE_CLOCK_PERIOD] && [file isfile $::env(SDC_FILE_CLOCK_PERIOD)]} {
90+
if {[env_var_exists_and_non_empty SDC_FILE_CLOCK_PERIOD]} {
9191
puts "Extracting clock period from SDC file: $::env(SDC_FILE_CLOCK_PERIOD)"
9292
set fp [open $::env(SDC_FILE_CLOCK_PERIOD) r]
9393
set clock_period [string trim [read $fp]]

0 commit comments

Comments
 (0)