Skip to content

Commit 6c5495f

Browse files
committed
remove 'array_pkg'
1 parent d1956b0 commit 6c5495f

File tree

5 files changed

+0
-671
lines changed

5 files changed

+0
-671
lines changed

tests/acceptance/test_external_run_scripts.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,6 @@ def test_vhdl_user_guide_93_example_project(self):
225225
def test_vhdl_com_example_project(self):
226226
self.check(ROOT / "examples/vhdl/com/run.py")
227227

228-
def test_array_vhdl_2008(self):
229-
self.check(VHDL_PATH / "array/run.py")
230-
231228
def test_data_types_vhdl_2008(self):
232229
self.check(VHDL_PATH / "data_types/run.py")
233230

vunit/builtins.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
from pathlib import Path
1212
from glob import glob
13-
from warnings import warn
1413
from vunit.vhdl_standard import VHDL, VHDLStandard
1514
from vunit.ui.common import get_checked_file_names_from_globs
1615

@@ -33,7 +32,6 @@ def __init__(self, vunit_obj, vhdl_standard: VHDLStandard, simulator_class):
3332
def add(name, deps=tuple()):
3433
self._builtins_adder.add_type(name, getattr(self, f"_add_{name!s}"), deps)
3534

36-
add("array_util")
3735
add("com")
3836
add("verification_components", ["com", "osvvm"])
3937
add("osvvm")
@@ -90,20 +88,6 @@ def _add_data_types(self, external=None):
9088
allow_empty=False,
9189
)
9290

93-
def _add_array_util(self):
94-
"""
95-
Add array utility
96-
"""
97-
if not self._vhdl_standard >= VHDL.STD_2008:
98-
raise RuntimeError("Array util only supports vhdl 2008 and later")
99-
100-
arr_deprecation_note = (
101-
"'array_t' is deprecated and it will removed in future releases; use 'integer_array_t' instead"
102-
)
103-
warn(arr_deprecation_note, Warning)
104-
105-
self._vunit_lib.add_source_files(VHDL_PATH / "array" / "src" / "*.vhd")
106-
10791
def _add_random(self):
10892
"""
10993
Add random pkg

vunit/vhdl/array/run.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

vunit/vhdl/array/src/array_pkg.vhd

Lines changed: 0 additions & 252 deletions
This file was deleted.

0 commit comments

Comments
 (0)