From: Florent Kermarrec Date: Mon, 7 Oct 2019 08:36:32 +0000 (+0200) Subject: xilinx/common: be sure language is not vhdl when yosys synthesis is used X-Git-Tag: 24jan2021_ls180~943 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e22d4b9e610d792b75bfaf2e1da42f93d91d33a;p=litex.git xilinx/common: be sure language is not vhdl when yosys synthesis is used --- diff --git a/litex/build/xilinx/common.py b/litex/build/xilinx/common.py index 9ddc165e..1b3f052b 100644 --- a/litex/build/xilinx/common.py +++ b/litex/build/xilinx/common.py @@ -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 += """\