File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ read_checkpoint $::env(RESULTS_DIR)/1_1_yosys_canonicalize.rtlil
33
44hierarchy -check -top $::env(DESIGN_NAME)
55
6- if { [env_var_equals SYNTH_GUT 1] } {
6+ if { $::env( SYNTH_GUT) } {
77 # /deletes all cells at the top level, which will quickly optimize away
88 # everything else, including macros.
99 delete $::env(DESIGN_NAME) /c:*
@@ -32,7 +32,7 @@ if { [env_var_exists_and_non_empty SYNTH_OPT_HIER] } {
3232 set synth_full_args [concat $synth_full_args -hieropt]
3333}
3434
35- if { ![env_var_equals SYNTH_HIERARCHICAL 1] } {
35+ if { !$::env( SYNTH_HIERARCHICAL) } {
3636 # Perform standard coarse-level synthesis script, flatten right away
3737 synth -flatten -run :fine {*}$synth_full_args
3838} else {
Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ proc hier_options { } {
193193 if {
194194 [env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] ||
195195 [env_var_exists_and_non_empty SWAP_ARITH_OPERATORS] ||
196- [env_var_equals OPENROAD_HIERARCHICAL 1]
196+ $::env( OPENROAD_HIERARCHICAL)
197197 } {
198198 return " -hier"
199199 } else {
You can’t perform that action at this time.
0 commit comments