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];

View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -eu
python3 gen_memories.py
python3 mem_gen.py
source ../../../gen-tests-makefile.sh
run_tests --yosys-scripts --bash