Simple RISC-V rv64ima_zicsr_zifencei emulator.
The goal is run a minimal Linux distribution but we are still not there yet.
./autogen.sh
./configure --prefix=$OPTIONAL_PREFIX
make
$ ./aehneln --help
Usage: amaehneln RISCV-ELF
Make sure you have riscv64-unknown-elf-gcc
in your PATH (at least version 10.2.0
.
Install them by running
git submodule update --init --recursive
cd tests/riscv-tests
./configure --prefix=$(readlink -f ../riscv/target)
make
make install
Then you can execute them by calling
make run-riscv-tests
in the root folder of the project.
Generating headers from riscv-opcodes
make EXTENSIONS="rv*_i rv*_m rv*_a rv_zicsr rv_zifencei rv_s rv_system" everything