Skip to content

Commit d38f190

Browse files
1138-4EBeine
authored andcommitted
remove 'array_pkg'
1 parent 1bc9c37 commit d38f190

File tree

5 files changed

+0
-672
lines changed

5 files changed

+0
-672
lines changed

tests/acceptance/test_external_run_scripts.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ def test_verilog_user_guide_example_project(self):
204204
def test_vhdl_com_example_project(self):
205205
self.check(join(ROOT, "examples", "vhdl", "com", "run.py"))
206206

207-
def test_array_vhdl_2008(self):
208-
self.check(join(VHDL_PATH, "array", "run.py"))
209-
210207
def test_data_types_vhdl_2008(self):
211208
self.check(join(VHDL_PATH, "data_types", "run.py"))
212209

vunit/builtins.py

Lines changed: 0 additions & 17 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.sim_if.common import simulator_check
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, "_add_%s" % name), deps)
3534

36-
add("array_util")
3735
add("com")
3836
add("verification_components", ["com", "osvvm"])
3937
add("osvvm")
@@ -128,21 +126,6 @@ def default_files(cond, type_str):
128126
for name in val:
129127
self._add_files(name)
130128

131-
def _add_array_util(self):
132-
"""
133-
Add array utility
134-
"""
135-
if not self._vhdl_standard >= VHDL.STD_2008:
136-
raise RuntimeError("Array util only supports vhdl 2008 and later")
137-
138-
arr_deprecation_note = (
139-
"'array_t' is deprecated and it will removed in future releases;"
140-
"use 'integer_array_t' instead"
141-
)
142-
warn(arr_deprecation_note, Warning)
143-
144-
self._vunit_lib.add_source_files(VHDL_PATH / "array" / "src" / "*.vhd")
145-
146129
def _add_random(self):
147130
"""
148131
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)