Fix for issue #5 (wrong endianness of data stream in test bed) #6

Merged
straumann_t merged 1 commits from fix_issue_#5 into master 2021-02-24 11:47:13 +01:00
1 Commits
Author SHA1 Message Date
till straumann 50860b9e20 Fix for issue #5 (wrong endianness of data stream in test bed)
The 'evr320_data_filter' entity presents data in little-endian format.
However, the test is written for big-endian; set the SWAP generic to
fix this.

Also; once this test passes events won't be detected because the checksum
timeout is not reached. Set to zero.

Last: ghdl complains about mem_data(x) indexing when x > C_MEM_DATA_WIDTH.
Replaced hard-coded statements by a simple loop that runs from
0 to C_MEM_DATA_WIDTH/8 - 1.
2021-02-24 11:08:05 +01:00