Skip to content

Commit

Permalink
Merge branch 'hotfix/18.48a'
Browse files Browse the repository at this point in the history
  • Loading branch information
sybreon committed Nov 27, 2018
2 parents 975337c + 970d74d commit 27e6594
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,20 @@ Work environment uses Ubuntu 18.04 LTS. The software packages are installed dire

The RISC-V compiler is built directly from https://github.com/riscv/riscv-gnu-toolchain using the following configuration:

```
$ ./configure --prefix=/opt/rv32i --with-arch=rv32i --with-abi=ilp32
$ make
```

## Verilator

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

```
$ cd sim/
$ make
```

This will produce an executable - "Vt5_rv32i.exe" in the *sim/* directory that is used for the rest of the tests.

Expand All @@ -51,8 +55,10 @@ make RISCV_TARGET=tra5 RISCV_DEVICE=rv32i RISCV_ISA=rv32i RISCV_PREFIX=riscv32-u

To build and run the tests:

```
$ cd riscv-compliance-master/
$ ./t5_build.sh
```

It should pass ALL the tests.

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

To build and run the tests:

```
$ cd zephyr-zephyr-v1.13.0/
$ ./t5_build.sh
```

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

Expand Down

0 comments on commit 27e6594

Please sign in to comment.