Skip to content

Commit 109db4d

Browse files
committed
fixed Tcl lint errors
Signed-off-by: Cho Moon <cmoon@precisioninno.com>
1 parent 550b08d commit 109db4d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎flow/scripts/synth.tcl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ if {
157157
[env_var_exists_and_non_empty ADDER_MAP_FILE] &&
158158
(
159159
(![env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] &&
160-
![env_var_exists_and_non_empty SWAP_ARITH_OPERATORS]) ||
160+
![env_var_exists_and_non_empty SWAP_ARITH_OPERATORS]) ||
161161
(([env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] ||
162-
[env_var_exists_and_non_empty SWAP_ARITH_OPERATORS]) &&
162+
[env_var_exists_and_non_empty SWAP_ARITH_OPERATORS]) &&
163163
![design_has_extracted_operators])
164164
)
165165
} {

‎flow/scripts/synth_wrap_operators.tcl‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ foreach info $deferred_cells {
7373
foreach modname [tee -q -s result.string select -list-mod A:arithmetic_operator A:copy_pending %i] { # tclint-disable-line line-length
7474
setattr -mod -unset copy_pending $modname
7575
set base [rtlil::get_attr -string -mod $modname implements_operator]
76-
setattr -set implements_operator \"$base\" t:$modname
76+
setattr -set implements_operator \"$base\" t:$modname
7777

7878
# iterate over non-default architectures
7979
foreach arch [lrange $info 3 end] {
@@ -109,7 +109,7 @@ setattr -mod -set abc9_script {"+&dch;&nf -R 5;"} A:arithmetic_operator
109109
setattr -mod -set abc9_box 1 A:arithmetic_operator
110110
techmap -map +/techmap.v -map +/choices/han-carlson.v
111111

112-
proc design_has_extracted_operators {} {
112+
proc design_has_extracted_operators { } {
113113
set no_extracted [yosys select -count a:implements_operator]
114-
return [expr {[lindex $no_extracted 0] > 0}]
114+
return [expr { [lindex $no_extracted 0] > 0 }]
115115
}

0 commit comments

Comments
 (0)