Skip to content

Commit

Permalink
Fix FFT examples from example.py for dry runs
Browse files Browse the repository at this point in the history
  • Loading branch information
hanno-becker committed Mar 15, 2024
1 parent 913bebb commit 814b625
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 814b625

Please sign in to comment.