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

Facing issue while running using Questa #2235

Open
Priyanshumishra77 opened this issue Dec 20, 2024 · 0 comments
Open

Facing issue while running using Questa #2235

Priyanshumishra77 opened this issue Dec 20, 2024 · 0 comments
Labels
Type:Question Questions

Comments

@Priyanshumishra77
Copy link
Contributor

  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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Question Questions
Projects
None yet
Development

No branches or pull requests

1 participant