Skip to content

Commit

Permalink
vhpidirect: VUnit needs add_vhdl_builtins
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Jun 6, 2024
1 parent 623f17f commit a72ca74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions vhpidirect/arrays/matrices/vunit_axis_vcs/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from vunit import VUnit

VU = VUnit.from_argv(vhdl_standard="2008")
VU.add_vhdl_builtins()
VU.add_verification_components()

ROOT = Path(__file__).resolve().parent
Expand Down
1 change: 1 addition & 0 deletions vhpidirect/shared/py/vunit/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def post_func(results):
ROOT = Path(__file__).resolve().parent

vu = VUnit.from_argv(vhdl_standard=getenv('VUNIT_VHDL_STANDARD', '2008'))
vu.add_vhdl_builtins()

lib = vu.add_library('lib').add_source_files(str(ROOT / 'tb.vhd'))

Expand Down
1 change: 1 addition & 0 deletions vhpidirect/vffi_user/xyce/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
RUN = Path(__file__).parent.resolve()

VU = VUnit.from_argv(vhdl_standard="2008")
VU.add_vhdl_builtins()

for PRJ in ["runACircuitInSteps", "runWithDACs"]:
LIB = VU.add_library(PRJ)
Expand Down
1 change: 1 addition & 0 deletions vhpidirect/vffi_user/xyce/run_minimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
SRC = Path(__file__).parent.resolve() / "runACircuit"

VU = VUnit.from_argv(vhdl_standard="2008")
VU.add_vhdl_builtins()

VU.add_library("lib").add_source_files(SRC / "*.vhd")

Expand Down

0 comments on commit a72ca74

Please sign in to comment.