From ef67553bd37f3fb6969687a71e77f4954db61ecf Mon Sep 17 00:00:00 2001 From: Jack Luar Date: Mon, 26 Jan 2026 16:24:42 +0000 Subject: [PATCH] enable custom sdc/fr files for sweep mode Signed-off-by: Jack Luar --- tools/AutoTuner/src/autotuner/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/AutoTuner/src/autotuner/utils.py b/tools/AutoTuner/src/autotuner/utils.py index 722ad39b5a..1aad0a489c 100644 --- a/tools/AutoTuner/src/autotuner/utils.py +++ b/tools/AutoTuner/src/autotuner/utils.py @@ -271,10 +271,10 @@ def parse_config( print(f"[ERROR TUN-0017] Variable {key} is not tunable.") sys.exit(1) options += f" {key}={value}" - if sdc: + if sdc or sdc_original: write_sdc(sdc, path, sdc_original, constraints_sdc) options += f" SDC_FILE={path}/{constraints_sdc}" - if fast_route: + if fast_route or fr_original: write_fast_route(fast_route, path, platform, fr_original, fastroute_tcl) options += f" FASTROUTE_TCL={path}/{fastroute_tcl}" return options