diff --git a/bfasst/tools/impl/vivado_impl.py b/bfasst/tools/impl/vivado_impl.py index bc2d0920..7d1a4bd8 100644 --- a/bfasst/tools/impl/vivado_impl.py +++ b/bfasst/tools/impl/vivado_impl.py @@ -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