Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating readme for running ibex with riscv-compliance #1410

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions dv/riscv_compliance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ How to run RISC-V Compliance on Ibex
- Verilator
- fusesoc
- srecord (for `srec_cat`)
- A RV32 compiler
- A RV32 compiler # Toolchain provided with ibex will work
haseebazaz-10xe marked this conversation as resolved.
Show resolved Hide resolved

On Ubuntu/Debian, install the required tools like this:

```sh
sudo apt-get install srecord python3-pip
pip3 install --user -U fusesoc
sudo apt install libelf-dev
haseebazaz-10xe marked this conversation as resolved.
Show resolved Hide resolved
```

We recommend installing Verilator from source as versions from Linux
Expand All @@ -50,7 +51,7 @@ How to run RISC-V Compliance on Ibex
The upstream RISC-V compliance test suite supports Ibex out of the box.

```
git clone https://github.com/riscv/riscv-compliance.git
git clone https://github.com/riscv/riscv-arch-test.git
cd riscv-compliance
```

Expand All @@ -62,7 +63,7 @@ How to run RISC-V Compliance on Ibex
# give the absolute path to the simulation binary compiled in step 1
export TARGET_SIM=/path/to/your/Vibex_riscv_compliance

export RISCV_DEVICE=rv32imc
export RISCV_DEVICE=I # Other targets for compliance can be C & M
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm: IMC is not a valid option anymore?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Targets in riscv-compliance have changed from rv32imc to I, M, C, Zifencei etc.

export RISCV_TARGET=ibex

# Note: rv32imc does not include the I and M extension tests
Expand Down