mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 17:44:09 +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:
parent
33ca6994b7
commit
215a777eb3
|
@ -8,7 +8,10 @@ parameter DATA_WIDTH_A = DATA_WIDTH;
|
||||||
parameter DATA_WIDTH_B = DATA_WIDTH;
|
parameter DATA_WIDTH_B = DATA_WIDTH;
|
||||||
parameter VECTORLEN = 16;
|
parameter VECTORLEN = 16;
|
||||||
parameter SHIFT_VAL = 0;
|
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 rce_a_testvector [VECTORLEN-1:0];
|
||||||
reg [ADDRESS_WIDTH_A-1:0] ra_a_testvector [VECTORLEN-1:0];
|
reg [ADDRESS_WIDTH_A-1:0] ra_a_testvector [VECTORLEN-1:0];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -eu
|
set -eu
|
||||||
python3 gen_memories.py
|
python3 mem_gen.py
|
||||||
source ../../../gen-tests-makefile.sh
|
source ../../../gen-tests-makefile.sh
|
||||||
run_tests --yosys-scripts --bash
|
run_tests --yosys-scripts --bash
|
||||||
|
|
Loading…
Reference in a new issue