3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-02 04:27:53 +00:00

qlf_tests: minor adjustment

Renamed python script so that it sits next to the testbench file when alphabetically sorted.
Reverted `MAX_WIDTH` to full precision for truncation testing.
This commit is contained in:
Krystine Sherwin 2023-12-04 09:24:19 +13:00 committed by Martin Povišer
parent 33ca6994b7
commit 215a777eb3
3 changed files with 5 additions and 2 deletions

View file

@ -8,7 +8,10 @@ parameter DATA_WIDTH_A = DATA_WIDTH;
parameter DATA_WIDTH_B = DATA_WIDTH;
parameter VECTORLEN = 16;
parameter SHIFT_VAL = 0;
localparam MAX_WIDTH = DATA_WIDTH;
// intentionally keep expected values at full width precision to allow testing
// of truncation
localparam MAX_WIDTH = 36;
reg rce_a_testvector [VECTORLEN-1:0];
reg [ADDRESS_WIDTH_A-1:0] ra_a_testvector [VECTORLEN-1:0];