File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,20 @@ Work environment uses Ubuntu 18.04 LTS. The software packages are installed dire
2020
2121The RISC-V compiler is built directly from https://github.com/riscv/riscv-gnu-toolchain using the following configuration:
2222
23+ ```
2324$ ./configure --prefix=/opt/rv32i --with-arch=rv32i --with-abi=ilp32
2425$ make
26+ ```
2527
2628## Verilator
2729
2830The Verilator model * MUST* first be built before running any of the tests.
2931To build the simulation model with Verilator, do the following:
3032
33+ ```
3134$ cd sim/
3235$ make
36+ ```
3337
3438This will produce an executable - "Vt5_rv32i.exe" in the * sim/* directory that is used for the rest of the tests.
3539
@@ -51,8 +55,10 @@ make RISCV_TARGET=tra5 RISCV_DEVICE=rv32i RISCV_ISA=rv32i RISCV_PREFIX=riscv32-u
5155
5256To build and run the tests:
5357
58+ ```
5459$ cd riscv-compliance-master/
5560$ ./t5_build.sh
61+ ```
5662
5763It should pass ALL the tests.
5864
@@ -71,8 +77,10 @@ export CROSS_COMPILE=/opt/rv32i/bin/riscv32-unknown-elf-
7177
7278To build and run the tests:
7379
80+ ```
7481$ cd zephyr-zephyr-v1.13.0/
7582$ ./t5_build.sh
83+ ```
7684
7785The 'console' output is piped to the * .out files - synchronization.out and philosophers.out.
7886
You can’t perform that action at this time.
0 commit comments