Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion vunit/builtins.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ def _add_data_types(self):
"""
Add data types packages
"""
self._add_files(join(VHDL_PATH, "data_types", "src", "types", "*.vhd"))
self._add_files(join(VHDL_PATH, "data_types", "src", "*.vhd"))

def _add_array_util(self):
Expand Down
3 changes: 1 addition & 2 deletions vunit/vhdl/data_types/src/integer_vector_ptr_pkg.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
-- into a singleton datastructure of integer vector access types.
--

use work.integer_vector_pkg.all;

use work.types_pkg.all;
use work.codec_pkg.all;
use work.codec_builder_pkg.all;

Expand Down
3 changes: 1 addition & 2 deletions vunit/vhdl/data_types/src/string_ptr_pkg.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
-- into a singleton datastructure of string access types.
--

use work.string_pkg.all;

use work.types_pkg.all;
use work.codec_pkg.all;
use work.codec_builder_pkg.all;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
--
-- Copyright (c) 2014-2019, Lars Asplund lars.anders.asplund@gmail.com

package integer_vector_pkg is
package types_pkg is
subtype byte_t is integer range 0 to 255;

type string_access_t is access string;
type string_access_vector_t is array (natural range <>) of string_access_t;
type string_access_vector_access_t is access string_access_vector_t;

type integer_vector_t is array (natural range <>) of integer;
type integer_vector_access_t is access integer_vector_t;
type integer_vector_access_vector_t is array (natural range <>) of integer_vector_access_t;
Expand Down
11 changes: 0 additions & 11 deletions vunit/vhdl/data_types/src/types/string_pkg.vhd

This file was deleted.

4 changes: 2 additions & 2 deletions vunit/vhdl/verification_components/src/memory_pkg.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
library ieee;
use ieee.std_logic_1164.all;

use work.integer_vector_ptr_pkg.all;
use work.types_pkg.all;
use work.string_ptr_pkg.all;
use work.integer_vector_ptr_pkg.all;
use work.logger_pkg.all;

package memory_pkg is
Expand Down Expand Up @@ -51,7 +52,6 @@ package memory_pkg is
-----------------------------------------------------
-- Memory data read and write functions
-----------------------------------------------------
subtype byte_t is integer range 0 to 255;
procedure write_byte(memory : memory_t;
address : natural;
byte : byte_t);
Expand Down
1 change: 1 addition & 0 deletions vunit/vhdl/verification_components/test/tb_memory.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use ieee.std_logic_1164.all;
library vunit_lib;
context vunit_lib.vunit_context;

use work.types_pkg.byte_t;
use work.memory_pkg.all;
use work.string_ptr_pkg.all;
use work.random_pkg.all;
Expand Down