From 65dbadca2c7e08b67e24332433803905ba97fce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Wed, 22 Apr 2026 11:37:15 +0200 Subject: [PATCH] synth: expand SYNTH_RETIME_MODULES list into separate select args MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Tcl's `$var` substitution passes the whole value as a single argument, so `select $::env(SYNTH_RETIME_MODULES)` with a space-separated module list becomes `select "a b c"` — one bogus pattern that matches no module, silently disabling retime. Use `{*}` list-expansion so each pattern in the env var arrives as its own `select` argument. Signed-off-by: Øyvind Harboe --- flow/scripts/synth.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/scripts/synth.tcl b/flow/scripts/synth.tcl index f75772b6c1..a63995bdb8 100644 --- a/flow/scripts/synth.tcl +++ b/flow/scripts/synth.tcl @@ -122,7 +122,7 @@ exec -- $::env(PYTHON_EXE) $::env(SCRIPTS_DIR)/mem_dump.py \ --max-bits $::env(SYNTH_MEMORY_MAX_BITS) $::env(RESULTS_DIR)/mem.json if { [env_var_exists_and_non_empty SYNTH_RETIME_MODULES] } { - select $::env(SYNTH_RETIME_MODULES) + select {*}$::env(SYNTH_RETIME_MODULES) opt -fast -full memory_map opt -full