Skip to content

Commit bbc81ce

Browse files
committed
macro_place_util: fix checking of RTLMP_FLOW variable
would be interpreted as set if it as an empty string or 0 Signed-off-by: Øyvind Harboe <[email protected]>
1 parent bc9164d commit bbc81ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/scripts/macro_place_util.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ if {[find_macros] != ""} {
5151
source $::env(SCRIPTS_DIR)/read_macro_placement.tcl
5252
puts "Using manual macro placement file $::env(MACRO_PLACEMENT)"
5353
read_macro_placement $::env(MACRO_PLACEMENT)
54-
} elseif {[info exists ::env(RTLMP_FLOW)]} {
54+
} elseif {[env_var_equals RTLMP_FLOW 1]} {
5555
puts "HierRTLMP Flow enabled..."
5656
set additional_rtlmp_args ""
5757
if { [info exists ::env(RTLMP_MAX_LEVEL)]} {

0 commit comments

Comments
 (0)