From 58a759e00c5b2bc84bbad9bb13f3b3bc34f0b82c Mon Sep 17 00:00:00 2001 From: Joppe Blondel Date: Sun, 19 Oct 2025 15:36:10 +0200 Subject: [PATCH] Fixedcoregen ISE --- remotesyn/toolchains/util_ISE/coregen.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/remotesyn/toolchains/util_ISE/coregen.py b/remotesyn/toolchains/util_ISE/coregen.py index 404b723..1b8d5c6 100644 --- a/remotesyn/toolchains/util_ISE/coregen.py +++ b/remotesyn/toolchains/util_ISE/coregen.py @@ -10,7 +10,7 @@ def coregen(config, target, log, subprocesses, prefix='.') -> int: package = config.get(f'target.{target}', 'package', fallback='') speedgrade = config.get(f'target.{target}', 'speedgrade', fallback='') coregen_opts = config.get(f'target.{target}', 'coregen_opts', fallback='') - files_def = config.get(f'target.{target}', 'files_def', fallback='').split() + files_def = config.get(f'target.{target}', 'files_xco', fallback='').split() build_dir = config.get(f'project', 'build_dir', fallback='build') out_dir = config.get(f'project', 'out_dir', fallback='out') @@ -72,6 +72,10 @@ def coregen(config, target, log, subprocesses, prefix='.') -> int: shutil.copy(f'{build_dir}/{cname}.xco', f'{out_dir}/{cname}.xco') except FileNotFoundError: pass + try: + shutil.copy(f'{build_dir}/{cname}.ucf', f'{out_dir}/{cname}.ucf') + except FileNotFoundError: + pass else: return res