-
Notifications
You must be signed in to change notification settings - Fork 221
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
[CV32E40S] DSIM uvmt fails to build #2545
Comments
Hi @Northeus, thanks for your interest in OpenHW. I see that there is a new version of DSim Desktop (20240923.0.0 on 2024-10.25). I am using 20240923.0.0 from 2024-09-25, so it is possible that this problem could be related to the new version. However, I doubt that is really the problem. As you point out, there are still outstanding DSim issues running the UVM environment for CV32E40S which have not gotten much attention as the team developing the E40S are not DSim users. Nevertheless, I would like to help get these resolved. Can you send me the exact command lines you use to get the above error message? Please start with |
Thanks for a quick response! Here are the commands i used to run both CV32E40P and CV32E40S tests: git clone [email protected]:openhwgroup/core-v-verif.git
python3.12 -m venv venv
source venv/bin/activate
source env.sh
cd /home/jan/tmp/data/core-v-verif/bin
pip3 install -r requirements.txt
cd /home/jan/tmp/data/core-v-verif/cv32e40p/sim/uvmt/
make test TEST=hello-world USE_ISS=NO
git fetch --all
git checkout cv32e40s/release
cd /home/jan/tmp/data/core-v-verif/cv32e40s/sim/uvmt/
make test TEST=hello-world USE_ISS=NO Where the content of export CORE_V_VERIF=/home/jan/tmp/data/core-v-verif
export CV_SW_TOOLCHAIN=/home/jan/programs/core-v/riscv
export CV_SW_PREFIX=riscv32-unknown-elf-
export CV_SW_MARCH=rv32imc_zicsr
export CV_SIMULATOR=dsim
# DSIM:
export DSIM_HOME=/home/jan/metrics-ca/dsim/20240923.0.0
export STD_LIBS=/home/jan/metrics-ca/dsim/20240923.0.0/std_pkgs/lib
export LLVM_HOME=/home/jan/metrics-ca/dsim/20240923.0.0/llvm_small
export PATH=${LLVM_HOME}/bin:${DSIM_HOME}/bin:$PATH
export LD_LIBRARY_PATH=${LLVM_HOME}/lib:${DSIM_HOME}/lib
export DSIM_LICENSE=/home/jan/metrics-ca/dsim-license.json
export UVM_HOME=/home/jan/metrics-ca/dsim/20240923.0.0/uvm/1.2 EDIT: to clarify, those env variables below DSIM comment are extracted from VSC enviroment. Even when running from the original environment using VSC, the results are the same. |
Have just tried also the latest version of DSIM (20240923.1.0), but the results are the same. The version i previously used was installed before 25.10., so it should be the older one. |
It seems there are two problems here:
Working on it... |
Hello,
I have some problems with running the CV32E40S UVMT testbench for hello-world test. When I try to run this testbench for CV32E40S, they result in error
FileNotFound
. Testbench for CV32E40P work normally.The error from the logs is:
I am currently at the head of the
cv32e40s/release
branch. Also, there seemed to be some issues related to DSIM from 2022. Are those issues still relevant, thus DSIM is not suitable for running testbenches on this core?The text was updated successfully, but these errors were encountered: