Skip to content

Commit 17b85d1

Browse files
committed
flow: pass CTS_DPL_DISPLACEMENT to post-CTS detailed_placement
Seed `dpl_args` from `env_var_or_empty CTS_DPL_DISPLACEMENT` instead of the empty list, so callers can pass extra flags (typically `-max_displacement <row> <site>`) to the detailed_placement run immediately after CTS without having to fork the script. When the env var is unset, `env_var_or_empty` returns "" and the `{*}$dpl_args` expansion is a no-op — behavior matches the prior `{}` initialization exactly. Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
1 parent b23706a commit 17b85d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flow/scripts/cts.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ set_placement_padding -global \
4646
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
4747
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
4848

49-
set dpl_args {}
49+
set dpl_args [env_var_or_empty CTS_DPL_DISPLACEMENT]
5050
append_env_var dpl_args USE_NEGOTIATION -use_negotiation 0
5151
set result [catch { log_cmd detailed_placement {*}$dpl_args } msg]
5252
if { $result != 0 } {

0 commit comments

Comments
 (0)