Skip to content

Commit 0b7828e

Browse files
committed
variables: cleanup, fix errors
Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 11ef0f6 commit 0b7828e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

flow/scripts/global_place.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ proc do_placement {global_placement_args} {
3939
-pad_right $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)] \
4040
$global_placement_args]
4141

42-
lappend all_args {*}$::env(GLOBAL_PLACEMENT_ARGS)
42+
lappend all_args {*}[env_var_or_empty GLOBAL_PLACEMENT_ARGS]
4343

4444
log_cmd global_placement {*}$all_args
4545
}

flow/scripts/global_place_skip_io.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if { [env_var_exists_and_non_empty FLOORPLAN_DEF] } {
88
log_cmd global_placement -skip_io -density [place_density_with_lb_addon] \
99
-pad_left $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
1010
-pad_right $::env(CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) \
11-
{*}$::env(GLOBAL_PLACEMENT_ARGS)
11+
{*}[env_var_or_empty GLOBAL_PLACEMENT_ARGS]
1212
}
1313

1414
write_db $::env(RESULTS_DIR)/3_1_place_gp_skip_io.odb

flow/scripts/io_placement.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ if {![env_var_exists_and_non_empty FLOORPLAN_DEF] && \
88
log_cmd place_pins \
99
-hor_layers $::env(IO_PLACER_H) \
1010
-ver_layers $::env(IO_PLACER_V) \
11-
{*}$::env(PLACE_PINS_ARGS)
11+
{*}[env_var_or_empty PLACE_PINS_ARGS]
1212
write_db $::env(RESULTS_DIR)/3_2_place_iop.odb
1313
write_pin_placement $::env(RESULTS_DIR)/3_2_place_iop.tcl
1414
} else {

0 commit comments

Comments
 (0)