A series of tests aimed at providing bug testing for the Biriq CPU.
More tests upcoming
To run:
git submodule init
git submodule update
make
make clean # For cleaning
Note that make
will fail on the first failing test, and trace.vcd
a trace dump of the failing test will be inside the folder of the test
plc8.mem is used for the population count instruction on the CPU. testtop.sv is the fake SOC top file used to test the CPU.
To run these tests you will need the riscv32-unknown-elf-gcc
, riscv32-unknown-elf-objdump
and riscv32-unknown-elf-objcopy
on your computer.