T. Meissner
0f6380698d
Add new testcases
New testcases for checking correctness of removing and overwriting
entries in dictionary. Furthermore the hasKey() method is tested and
the clearing of the dictionary with the clear() method
9 years ago
T. Meissner
5dc214deb1
Add DictP tests; replace osvvm_2.1 by 2014.01; refactoring
9 years ago
T. Meissner
b42ee6e1ec
Add package & testbench for simple dictionary protected type
A new packae DictP.vhd is added which contains a simple implementation
of a dictionary type. It consists of a protected type t_dict which
contains procedures & functions which serve as methods to interact with
the protected type. The t_dict type is realised by a (double)
linked-list using access types.
The key type is string of arbitrary size, the data type is
std_logic_vector of arbitrary size. The t_dict type provides following
interface methods:
* set: set a key/value pair
* get: get a key/value pair
* del: remove a key/value pair
* init: initialise the dictionary
* clear: remove all key/value pairs
* hasKey: check if a key exists in the dictionary
* size: get number of key/value pairs
9 years ago
T. Meissner
7ed623fb4a
including UtilP package for and_reduce() function
9 years ago
T. Meissner
f9361cc0d0
Outcomment VHDL-08 proposal library including & uses
By using an actual version of GHDL, we don't need the VHDL-08
proposal libraries anymore. Enough features of VHDL-08 are integrated
in GHDL to compile OSVVM and our testbenches
9 years ago
T. Meissner
41f76efd9b
Switched to OSVVM 2014.01
9 years ago
T. Meissner
6d57c594ed
Queue can store data with type slv with arbitrary length
By using an std_logic_vector access type for the data field in the
queue record, we cann now push data with any arbitrary length in the
t_queue object. Mixed lengths are also possible now :)
9 years ago
T. Meissner
500f41f4b7
add init() procedure to t_list_queue type to configure the maximal depth of the linked-list queue
10 years ago
T. Meissner
dfa39921bb
add forgotten vhdl2008 dependenciy to queuet target
10 years ago
T. Meissner
7d60f0ae1b
add simple wishbone master and slave with support of classic single write and read as specified in the wishbone spec b4; add unit tests for wishbone m,aster & slave
10 years ago
T. Meissner
b038131ccf
add reset value for s_miso in SpiMasterE unit test
10 years ago
T. Meissner
8369ba705e
add tests for new direction generics/parameters
10 years ago
T. Meissner
5c06158fac
add generic G_DATA_DIR to set if we want transfer from LSB to MSB ore vice versa
10 years ago
T. Meissner
034b10cdc9
change G_SCLK_DIVIDER range start to 6 (lowest working divider value) and adapt assertion to new range
10 years ago
T. Meissner
4acbb3c425
using osvvm randompkg to randomize stimuli in SimT tests
10 years ago
T. Meissner
81ed8e8928
moved deleting of vhdl-2008 packaged from clean to distclean target
10 years ago
T. Meissner
d8f1bf228c
fixed fileendings of VHDL-2008 packages
10 years ago
T. Meissner
79cc8ce4b3
add script to download VHDL-2008 proposed packages & patch file for env_c.vhdl to get it compiled by GHDL
10 years ago
T. Meissner
595cee0200
fixed location of vhdl 2008 package files
10 years ago
T. Meissner
db5dfc76b0
fixed broken test for t_list_queue (data width mismatch)
10 years ago
T. Meissner
9af05ea4af
better comments, add report when wait_cycles() test finished
10 years ago
T. Meissner
592893ab2b
add version 2.1 of OSVVM library; using osvvm randompkg to randomize stimuli in SpiT tests
10 years ago
T. Meissner
54168ab07e
removed, using string function of VHDL-08 instead
10 years ago
T. Meissner
3dd69f2d16
fixed stopping of clock when all tests are done
10 years ago
T. Meissner
cd72e16a7e
removed forgotten references to deleted StringP.vhd package
10 years ago
T. Meissner
76f15e8c76
integrate VHDL-08 libraries
10 years ago
T. Meissner
5dd42b80a2
add synthesizable and configurable SPI master component and enhance unit test
10 years ago
T. Meissner
c9fc7388c9
add synthesizable configurable SPI slave component and unit test
10 years ago
T. Meissner
ac5925c717
add synthesizable configurable SPI slave component and unit test
10 years ago
T. Meissner
389b3470f1
add cpha parameter do spi_master & spi_slave; change unit test to check all combinations of cpol & cpha
10 years ago
T. Meissner
58478fa5f0
add new SimP package with various general useful testbench procedures like spi master & slave
10 years ago
T. Meissner
990a511776
compile all packages in library 'libvhdl' now & use the library in the testbenches
10 years ago
T. Meissner
e70325aa62
use new overloaded procedures with added report string parameter
10 years ago
T. Meissner
1314da2738
add StringP & AssertP source files to Queuet target
10 years ago
T. Meissner
b02ec5e6b5
replaced assert statements by procedures defined in AssertP package
10 years ago
T. Meissner
97b6596e83
add test for ascending slv; add info about successfully finished simulation
10 years ago
T. Meissner
fe2e5a5c7e
added new StringP (string conversion functions) and unit test for it
10 years ago
T. Meissner
faac81128b
removed useless v_count variable and replaced it by using i loop variable
10 years ago
T. Meissner
1b9408fda2
added new queue t_list_queue, implemented as linked list
10 years ago
T. Meissner
f4d72942b0
initial commit of simple queue design file & testbench
10 years ago