diff --git a/edalize/tools/vivado.py b/edalize/tools/vivado.py index 6736b1e5d..86c84900d 100644 --- a/edalize/tools/vivado.py +++ b/edalize/tools/vivado.py @@ -105,6 +105,7 @@ def setup(self, edam): has_xci = False unused_files = [] bd_files = [] + netlist_flow = False dep_files = [] for f in self.files: @@ -119,6 +120,8 @@ def setup(self, edam): elif file_type == "edif": cmd = "read_edif" edif_files.append(f["name"]) + if not 'no_link_design' in f.get('tags', []): + netlist_flow = True elif file_type.startswith("vhdlSource"): cmd = "read_vhdl" if file_type == "vhdlSource-2008": @@ -176,7 +179,7 @@ def setup(self, edam): "vlogparam": self.vlogparam, "vlogdefine": self.vlogdefine, "generic": self.generic, - "netlist_flow": bool(edif_files), + "netlist_flow": netlist_flow, "has_vhdl2008": has_vhdl2008, "has_xci": has_xci, "bd_files": bd_files,