-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Description
Since upgrading to VUnit 4.1.0, I've got problems using with GHDL.
For example, I add in my run.py
test_lib = vu.add_library("test_lib")
test_lib.add_source_files("tests/hdl/*.vhd")
I get the following error when running run.py
File "/home/baumannt/devel/workspaceSigasi/vertical-lines-fpn/venv/lib/python3.8/site-packages/vunit/ui.py", line 838, in main
all_ok = self._main(post_run)
File "/home/baumannt/devel/workspaceSigasi/vertical-lines-fpn/venv/lib/python3.8/site-packages/vunit/ui.py", line 882, in _main
all_ok = self._main_run(post_run)
File "/home/baumannt/devel/workspaceSigasi/vertical-lines-fpn/venv/lib/python3.8/site-packages/vunit/ui.py", line 909, in _main_run
self._compile(simulator_if)
File "/home/baumannt/devel/workspaceSigasi/vertical-lines-fpn/venv/lib/python3.8/site-packages/vunit/ui.py", line 1042, in _compile
simulator_if.compile_project(self._project,
File "/home/baumannt/devel/workspaceSigasi/vertical-lines-fpn/venv/lib/python3.8/site-packages/vunit/simulator_interface.py", line 171, in compile_project
self.setup_library_mapping(project)
File "/home/baumannt/devel/workspaceSigasi/vertical-lines-fpn/venv/lib/python3.8/site-packages/vunit/ghdl_interface.py", line 157, in setup_library_mapping
raise RuntimeError("GHDL cannot handle mixed VHDL standards, found %r" % list(vhdl_standards))
RuntimeError: GHDL cannot handle mixed VHDL standards, found ['2008', VHDLStandard('2008')]
It seems that the default VHDL standard label isn't working anymore.
Metadata
Metadata
Assignees
Labels
No labels