xilinx/common: be sure language is not vhdl when yosys synthesis is used
This commit is contained in:
parent
975bd9be8b
commit
3e22d4b9e6
|
@ -241,6 +241,7 @@ def _run_yosys(device, sources, vincpaths, build_name):
|
|||
for path in vincpaths:
|
||||
incflags += " -I" + path
|
||||
for filename, language, library in sources:
|
||||
assert language != "vhdl"
|
||||
ys_contents += "read_{}{} {}\n".format(language, incflags, filename)
|
||||
|
||||
ys_contents += """\
|
||||
|
|
Loading…
Reference in New Issue