tinyriscv/tests/isa
liangkangnan 18de7f2e00 test: use csr_sstatus for test result
Signed-off-by: liangkangnan <liangkangnan@163.com>
2021-07-10 14:49:36 +08:00
..
generated test: use csr_sstatus for test result 2021-07-10 14:49:36 +08:00
rv32ui first release 2019-12-04 08:47:19 +08:00
rv32um add div inst 2020-01-13 08:26:41 +08:00
Makefile tests: isa: add support 2021-06-05 15:11:33 +08:00
README.md tests: isa: add support 2021-06-05 15:11:33 +08:00
link.ld first release 2019-12-04 08:47:19 +08:00
riscv_test.h test: use csr_sstatus for test result 2021-07-10 14:49:36 +08:00
test_macros.h first release 2019-12-04 08:47:19 +08:00

README.md

RV32I instruction source code which copy from riscv(github). I have modified it so can run on tinyriscv. compile: type make under the cmd windows recompile: type make after make clean under the cmd windows

编译方法:

1.修改Makefile里GNU工具链的路径

RISCV_PREFIX ?= /opt/riscv32/bin/riscv32-unknown-elf-

2.修改Makefile里bin文件转men文件工具的路径

BIN_TO_MEM    := $(src_dir)/../../tools/BinToMem.py

3.编译

make

4.重新编译

make clean
make