Skip to content

Commit f49ce27

Browse files
committed
fixed Tcl lint
Signed-off-by: Cho Moon <[email protected]>
1 parent d7c0f07 commit f49ce27

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

flow/scripts/synth.tcl

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ opt
119119
# Replace undef values with defined constants
120120
setundef -zero
121121

122-
if { ![env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] &&
123-
![env_var_exists_and_non_empty SWAP_ARITH_OPERATORS] } {
122+
if {
123+
![env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] &&
124+
![env_var_exists_and_non_empty SWAP_ARITH_OPERATORS]
125+
} {
124126
log_cmd abc {*}$abc_args
125127
} else {
126128
scratchpad -set abc9.script $::env(SCRIPTS_DIR)/abc_speed_gia_only.script
@@ -152,8 +154,10 @@ tee -o $::env(REPORTS_DIR)/synth_stat.txt stat {*}$lib_args
152154

153155
# check the design is composed exclusively of target cells, and
154156
# check for other problems
155-
if { ![env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] &&
156-
![env_var_exists_and_non_empty SWAP_ARITH_OPERATORS] } {
157+
if {
158+
![env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] &&
159+
![env_var_exists_and_non_empty SWAP_ARITH_OPERATORS]
160+
} {
157161
check -assert -mapped
158162
} else {
159163
# Wrapped operator synthesis leaves around $buf cells which `check -mapped`

0 commit comments

Comments
 (0)