Skip to content

Commit e57c420

Browse files
committed
detaile_place: use default values
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent ddc4c20 commit e57c420

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flow/scripts/detail_place.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source $::env(PLATFORM_DIR)/setRC.tcl
77

88
proc do_dpl { } {
99
# Only for use with hybrid rows
10-
if { [env_var_equals BALANCE_ROWS 1] } {
10+
if { $::env(BALANCE_ROWS) } {
1111
balance_row_usage
1212
}
1313

@@ -16,7 +16,7 @@ proc do_dpl { } {
1616
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
1717
detailed_placement
1818

19-
if { [env_var_equals ENABLE_DPO 1] } {
19+
if { $::env(ENABLE_DPO) } {
2020
if { [env_var_exists_and_non_empty DPO_MAX_DISPLACEMENT] } {
2121
improve_placement -max_displacement $::env(DPO_MAX_DISPLACEMENT)
2222
} else {

0 commit comments

Comments
 (0)