From 814b625a78a20add121284ec7f9dabb3e754f3bf Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Fri, 15 Mar 2024 15:40:31 +0000 Subject: [PATCH] Fix FFT examples from example.py for dry runs --- example.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/example.py b/example.py index 6bcb0220..af18984a 100644 --- a/example.py +++ b/example.py @@ -1145,6 +1145,11 @@ def __init__(self, var="", arch=Arch_Armv81M, target=Target_CortexM55r1): rename=True, arch=arch, target=target) def core(self, slothy): + # This is default value, but it's overwritten in case of a dry-run. + # However, the symbolic registers in the FLT FFT cannot be resolved + # without reordering, so let's ignore the dry-run parameter here. + slothy.config.constraints.allow_reordering = True + slothy.config.sw_pipelining.enabled = True slothy.config.inputs_are_outputs = True slothy.config.sw_pipelining.minimize_overlapping = False @@ -1169,8 +1174,13 @@ def __init__(self, var="", arch=Arch_Armv81M, target=Target_CortexM55r1): rename=True, arch=arch, target=target) def core(self, slothy): + # This is default value, but it's overwritten in case of a dry-run. + # However, the symbolic registers in the FLT FFT cannot be resolved + # without reordering, so let's ignore the dry-run parameter here. + slothy.config.constraints.allow_reordering = True + slothy.config.sw_pipelining.enabled = True - # slothy.config.inputs_are_outputs = True + slothy.config.inputs_are_outputs = True slothy.config.sw_pipelining.minimize_overlapping = False slothy.config.sw_pipelining.optimize_preamble = False slothy.config.sw_pipelining.optimize_postamble = False