From b69c4665da0212f41a8464112c8d7cd9fcb6a1c8 Mon Sep 17 00:00:00 2001 From: Lucas-KB <52254687+Lucas-KB@users.noreply.github.com> Date: Wed, 15 Oct 2025 09:06:12 -0300 Subject: [PATCH] Fix GHDL supports coverage and VHPI --- vunit/sim_if/ghdl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vunit/sim_if/ghdl.py b/vunit/sim_if/ghdl.py index fb7042a04..3046f8540 100644 --- a/vunit/sim_if/ghdl.py +++ b/vunit/sim_if/ghdl.py @@ -192,8 +192,8 @@ def supports_vhpi(cls): """ Returns True when the simulator supports VHPI """ - return (cls.determine_backend(cls.find_prefix_from_path()) != "mcode") or ( - cls.determine_version(cls.find_prefix_from_path()) > 0.36 + return (cls.determine_backend(cls.find_prefix()) != "mcode") or ( + cls.determine_version(cls.find_prefix()) > 0.36 ) @classmethod @@ -201,7 +201,7 @@ def supports_coverage(cls): """ Returns True when the simulator supports coverage """ - prefix = cls.find_prefix_from_path() + prefix = cls.find_prefix() return cls.determine_backend(prefix) == "gcc" or cls.determine_coverage(prefix) def _has_output_flag(self):