File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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} {
Original file line number Diff line number Diff 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
109109setattr -mod -set abc9_box 1 A:arithmetic_operator
110110techmap -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}
You can’t perform that action at this time.
0 commit comments