Skip to content

Commit

Permalink
Fix empty string bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jgoeders committed Sep 18, 2024
1 parent ba61437 commit f0e881e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bfasst/tools/impl/vivado_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
class VivadoImpl(ImplTool):
"""Tool to create Vivado implementation ninja snippets."""

def __init__(self, flow, design, synth_edf, constraints_files=None, ooc=False, impl_options=""):
def __init__(self, flow, design, synth_edf, constraints_files="", ooc=False, impl_options=""):
super().__init__(flow, design)
self.ooc = ooc

self.constraints_file = [
str(f) for f in ensure_tuple(constraints_files if not self.ooc else None)
str(f) for f in ensure_tuple(constraints_files if not self.ooc else "")
]
self.synth_edf = synth_edf

Expand Down

0 comments on commit f0e881e

Please sign in to comment.