Skip to content

Commit 970d74d

Browse files
committed
Updated README.
1 parent 975337c commit 970d74d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,20 @@ Work environment uses Ubuntu 18.04 LTS. The software packages are installed dire
2020

2121
The 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

2830
The Verilator model *MUST* first be built before running any of the tests.
2931
To build the simulation model with Verilator, do the following:
3032

33+
```
3134
$ cd sim/
3235
$ make
36+
```
3337

3438
This 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

5256
To build and run the tests:
5357

58+
```
5459
$ cd riscv-compliance-master/
5560
$ ./t5_build.sh
61+
```
5662

5763
It should pass ALL the tests.
5864

@@ -71,8 +77,10 @@ export CROSS_COMPILE=/opt/rv32i/bin/riscv32-unknown-elf-
7177

7278
To build and run the tests:
7379

80+
```
7481
$ cd zephyr-zephyr-v1.13.0/
7582
$ ./t5_build.sh
83+
```
7684

7785
The 'console' output is piped to the *.out files - synchronization.out and philosophers.out.
7886

0 commit comments

Comments
 (0)