Commit 9cafae1c authored by Robert Jordens's avatar Robert Jordens
Browse files

vivado: create project explicitly

parent 00c6f582
...@@ -88,6 +88,7 @@ class XilinxVivadoToolchain: ...@@ -88,6 +88,7 @@ class XilinxVivadoToolchain:
def _build_batch(self, platform, sources, build_name): def _build_batch(self, platform, sources, build_name):
tcl = [] tcl = []
tcl.append("create_project -in_memory -part {}".format(platform.device))
for filename, language, library in sources: for filename, language, library in sources:
filename_tcl = "{" + filename + "}" filename_tcl = "{" + filename + "}"
tcl.append("add_files " + filename_tcl) tcl.append("add_files " + filename_tcl)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment