build/xilinx/vivado: use VHDL 2008 as default
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 3 Dec 2019 14:27:20 +0000 (15:27 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 3 Dec 2019 14:27:20 +0000 (15:27 +0100)
litex/build/xilinx/vivado.py

index c64219924864d8bf09c75901b7e50d7a4d3ae761..aa3dca20ba729718d60e8419bc2bb4b50a072441 100644 (file)
@@ -131,7 +131,7 @@ class XilinxVivadoToolchain:
                 elif (language == "verilog"):
                     tcl.append("read_verilog " + filename_tcl)
                 elif (language == "vhdl"):
-                    tcl.append("read_vhdl " + filename_tcl)
+                    tcl.append("read_vhdl -vhdl2008 " + filename_tcl)
                     tcl.append("set_property library {} [get_files {}]"
                                .format(library, filename_tcl))
                 else: