You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,21 +30,31 @@ make demo
30
30
The build script will then download data file for Doom automatically. SDL2 based window
31
31
should appear when Doom is loaded and executed.
32
32
33
-
## Run riscv-arch-test
33
+
## riscv-arch-test
34
34
35
-
Once the submodule `riscv-arch-test` is pulled, run all the available compliance test via command:
35
+
The RISC-V Architectural Tests, [riscv-arch-test](https://github.com/riscv-non-isa/riscv-arch-test) is basic set of tests that ensure software implemented can be match important aspects of the RISC-V specification.(not a **substitute for rigorous design verification**)
36
+
37
+
There has the **reference signatures** generate by [RISC-V SAIL](https://github.com/riscv/sail-riscv) and the test signatures, specific memory location can be written.Once the test be executed, the **test signatures** will be written by testing-model(rv32emu-next)during the test, and it will be compared to **reference signature**.The test will pass if both signatures exactly match.
38
+
39
+
[riscv-arch-test](https://github.com/riscv-non-isa/riscv-arch-test) is integrated with submodule, and the setup was done.Once the submodule `riscv-arch-test` is pulled, run all the available riscv-arch-test via command:
36
40
```shell
37
-
make compliance
41
+
make arch-test
38
42
```
39
43
40
44
* To run the tests for specific extension, set the environmental variable `RISCV_DEVICE` to one of `I`,`M`,`C`,`Zifencei`,`privilege`.
41
45
```shell
42
-
make compliance RISCV_DEVICE=I
46
+
make arch-test RISCV_DEVICE=I
43
47
```
44
48
* To run a specific test case,set both `RISCV_DEVICE` and `RISCV_TEST`.For example:
45
49
```shell
46
-
make compliance RISCV_DEVICE=M RISCV_TEST=div-01
50
+
make arch-test RISCV_DEVICE=M RISCV_TEST=div-01
47
51
```
52
+
The detail in setup enviroment variables is in [RISC-V Architectural Testing Framework](https://github.com/riscv-non-isa/riscv-arch-test/blob/master/doc/README.adoc)**5.1 Setup environment variables**.
[RISC-V Architecture Test Format Specification](https://github.com/riscv-non-isa/riscv-arch-test/blob/master/spec/TestFormatSpec.adoc)
0 commit comments