From f2edee64de9d31f75708b1f5c2f98772a6f4ed5f Mon Sep 17 00:00:00 2001 From: haseebazaz-10xe Date: Mon, 26 Jul 2021 09:49:23 +0500 Subject: [PATCH 1/2] Updating readme for running ibex with riscv-compliance --- dv/riscv_compliance/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dv/riscv_compliance/README.md b/dv/riscv_compliance/README.md index 94b76480ea..3b2939e032 100644 --- a/dv/riscv_compliance/README.md +++ b/dv/riscv_compliance/README.md @@ -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 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 ``` We recommend installing Verilator from source as versions from Linux @@ -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 ``` @@ -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 export RISCV_TARGET=ibex # Note: rv32imc does not include the I and M extension tests From b32c31bb93f07980ff11ddb5d23f9f287f74e131 Mon Sep 17 00:00:00 2001 From: haseebazaz-10xe Date: Tue, 31 Aug 2021 19:51:40 +0500 Subject: [PATCH 2/2] Removing toolchain comment and putting package installing in single file --- dv/riscv_compliance/README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dv/riscv_compliance/README.md b/dv/riscv_compliance/README.md index 3b2939e032..e3af387202 100644 --- a/dv/riscv_compliance/README.md +++ b/dv/riscv_compliance/README.md @@ -19,14 +19,13 @@ How to run RISC-V Compliance on Ibex - Verilator - fusesoc - srecord (for `srec_cat`) - - A RV32 compiler # Toolchain provided with ibex will work + - A RV32 compiler On Ubuntu/Debian, install the required tools like this: ```sh - sudo apt-get install srecord python3-pip + sudo apt-get install srecord python3-pip libelf-dev pip3 install --user -U fusesoc - sudo apt install libelf-dev ``` We recommend installing Verilator from source as versions from Linux