VHDL-verification
Package to ease directed testing of HDL entities
|
Architecture accumulates input data in a vector and compares with contents of file lines. More...
Architecture accumulates input data in a vector and compares with contents of file lines.
Definition at line 50 of file datacompare.vhd.
Processes | |
datacompare_read | ( ) |
Reads the file line by line, accumulates data and compares. |
Constants | |
NUM_CHUNKS | integer := 4 * GOLD_OUTPUT_NIBBLES / DATA_WIDTH |
Each line in output file equals to NUM_CHUNKS data of DATA_WIDTH. |
Signals | |
received_data | integer := 0 |
Shared Variables | |
gold_file_isopen | shared boolean := := false |
Files | |
gold_file_pointer | text |
Define this outside the process so we can check endfile(gold_file_pointer) in a concurrent assertion. |
|
Process |
Reads the file line by line, accumulates data and compares.
Also reports errors and checks for unexpected conditions
Definition at line 86 of file datacompare.vhd.