Skip to content

Facing issue while running using Questa #2235

@Priyanshumishra77

Description

@Priyanshumishra77
  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:

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.
You'll need to add this to your path and then also set the following environment variables:

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) <img width="920" alt="Image" src="https://github.com/user-attachments/assets/e8447f18-45e9-4eb8-a7c6-7ae23e7335bd" />

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions