Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.

Commit bdaab0b

Browse files
committed
Fix the command to run compliance tests
Caution: it can not pass the compliant tests at the moment.
1 parent ac3dcbc commit bdaab0b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ How to compile it:
1313
$ gcc -O3 -Wall -lelf emu-rv32i.c -o emu-rv32i
1414
```
1515

16-
Passed RV32I compliance tests from https://github.com/riscv/riscv-compliance
16+
Run RV32I compliance tests.
17+
Assume `emu-rv32i` in `$PATH` environment variable.
1718
```shell
18-
$ make RISCV_TARGET=spike RISCV_DEVICE=rv32i TARGET_SIM=/full/path/emulator variant
19+
$ git clone https://github.com/riscv/riscv-compliance
20+
$ cd riscv-compliance
21+
$ make RISCV_PREFIX=riscv-none-embed- RISCV_DEVICE=rv32i TARGET_SIM=emu-rv32i variant
1922
```
2023

2124
Compiling and running simple code:

0 commit comments

Comments
 (0)