Skip to content

Commit 18e6e73

Browse files
author
1138-4EB
committed
remove 'array_pkg'
1 parent 4a3d64c commit 18e6e73

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 os.path import join, abspath, dirname, basename
1212
from glob import glob
13-
from warnings import warn
1413
from vunit.vhdl_standard import VHDL
1514
from vunit.sim_if.common import simulator_check
1615

@@ -33,7 +32,6 @@ def __init__(self, vunit_obj, vhdl_standard, 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")
@@ -122,21 +120,6 @@ def default_files(cond, type_str):
122120
for name in val:
123121
self._add_files(name)
124122

125-
def _add_array_util(self):
126-
"""
127-
Add array utility
128-
"""
129-
if not self._vhdl_standard >= VHDL.STD_2008:
130-
raise RuntimeError("Array util only supports vhdl 2008 and later")
131-
132-
arr_deprecation_note = (
133-
"'array_t' is deprecated and it will removed in future releases;"
134-
"use 'integer_array_t' instead"
135-
)
136-
warn(arr_deprecation_note, Warning)
137-
138-
self._vunit_lib.add_source_files(join(VHDL_PATH, "array", "src", "*.vhd"))
139-
140123
def _add_random(self):
141124
"""
142125
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)