lowRISC / lowRISC/ibex

Facing issue while running using Questa

Open
#2,235 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:Question
Dominant language
SystemVerilog
Stars
2.1k
Forks
810
Avg merge
5d 23h
Merged PRs (30d)
9

Description

1) I've installed QuestaSim on my windows...invoking it in WSL(Ubuntu 24.04).

2) Following Ibex documentation, i installed spike and gnu gcc and exported the path in Ibex:
Some quick build instructions from within the `riscv-isa-sim` repo:
```bash
mkdir build
cd build
../configure --enable-commitlog --enable-misaligned --prefix=$SPIKE_INSTALL_DIR
make
make install
export SPIKE_PATH=$SPIKE_INSTALL_DIR/bin
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$SPIKE_INSTALL_DIR/lib/pkgconfig
```

You will need the [RISC-V toolchain](https://github.com/riscv-collab/riscv-gnu-toolchain).
You'll need to add this to your path and then also set the following environment variables:
```bash
export RISCV_GCC=riscv32-unknown-elf-gcc
export RISCV_OBJCOPY=riscv32-unknown-elf-objcopy

Questa path
export PATH=$PATH:/mnt/c/questasim64_10.7c/win64

3) Image

4) If unable to see the screenshot, please check this:

priyanshu@DESKTOP-UDK0EBT:~/RISC_processors_dv/ibex$ make --keep-going IBEX_CONFIG=opentitan SIMULATOR=questa ISS=spike ITERATIONS=1 SEED=1 TEST=riscv_arithmetic_basic_test WAVES=0 COV=0
This is a short hand for running popular tasks.
Please check the documentation on how to get started
or how to set-up the different environments.

Please help,
Thanks & Regards, Priyanshu

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Ibex setup documentation and reproduce the reported make command in WSL Ubuntu 24.04. Check the exported SPIKE_PATH, RISCV_GCC, RISCV_OBJCOPY, and Questa PATH values against the installed locations and the screenshot. Done means the command's failure is identified and the required setup or documentation is clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.