This seems similar to the following issues:
#898
#901
I got the same error running Windows 11 Enterprise and version 4.7.0 of vunit with GHDL 4.1.0.
AssertionError: No known GHDL back-end could be detected from running 'ghdl --version'
Output of ghdl --version is:
GHDL 4.1.0 (4.0.0.r39.g7188e92cf) [Dunoon edition]
Compiled with GNAT Version: 13.2.0
static elaboration, mcode JIT code generator
Written by Tristan Gingold.
Copyright (C) 2003 - 2024 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I resolved it for myself using the suggestions from the previous issue. I changed the ghdl.py in the sim_if subdirectory to:
mapping = {
r"mcode JIT code generator": "mcode",
r"llvm (\d+\.\d+\.\d+ )?code generator": "llvm",
r"GCC (back-end|\d+\.\d+\.\d+) code generator": "gcc",
}
For the actual release, you probably want something less brittle.