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
+6-8
Original file line number
Diff line number
Diff line change
@@ -34,16 +34,14 @@ Install [Sail](https://github.com/rems-project/sail/). On Linux you can download
34
34
$ ./build_simulators.sh
35
35
```
36
36
37
-
will build the simulators in`build/c_emulator/riscv_sim_rv{32,64}d`.
37
+
will build the simulator at`build/c_emulator/riscv_sim_rv`.
38
38
39
39
If you get an error message saying `sail: unknown option '--require-version'.` it's because your Sail compiler is too old. You need version 0.19 or later.
40
40
41
-
By default the RV32D and RV64D emulators are built, without RVFI-DII support.
42
-
You can see a complete list of targets by running `make help` in the
43
-
build directory, then e.g.
41
+
By default the emulator is built without RVFI-DII support. For RVFI support run
44
42
45
43
```
46
-
$ make -C build riscv_sim_rv64f_rvfi
44
+
$ make -C build riscv_sim_rv_rvfi
47
45
```
48
46
49
47
By default `build_simulators.sh` will download and build [libgmp](https://gmplib.org/).
@@ -54,7 +52,7 @@ To use a system installation of libgmp, run `env DOWNLOAD_GMP=FALSE ./build_simu
54
52
The simulator can be used to execute small test binaries.
55
53
56
54
```
57
-
$ build/c_emulator/riscv_sim_<arch> <elf-file>
55
+
$ build/c_emulator/riscv_sim_rv <elf-file>
58
56
```
59
57
60
58
A suite of RV32 and RV64 test programs derived from the
@@ -66,13 +64,13 @@ can be run using `make test` or `ctest` in the build directory.
66
64
67
65
The model is configured using a JSON file specifying various tunable
68
66
options. The default configuration used for the model can be examined
69
-
using `build/c_emulator/riscv_sim_<arch> --print-default-config`. To
67
+
using `build/c_emulator/riscv_sim_rv --print-default-config`. To
70
68
use a custom configuration, save the default configuration into a
71
69
file, edit it as needed, and pass it to the simulator using the
72
70
`--config` option.
73
71
74
72
Information on other options for the simulator is available from
0 commit comments