cva6/verif/regress/pmp_cv32a65x_tests.sh
Valentin Thomazic 75bc12d01b
Some checks are pending
bender-up-to-date / bender-up-to-date (push) Waiting to run
ci / build-riscv-tests (push) Waiting to run
ci / execute-riscv64-tests (push) Blocked by required conditions
ci / execute-riscv32-tests (push) Blocked by required conditions
ci: fix pmp tests (#2851)
Run PMP tests on cv32a65x since PMP has been disabled on cv32a60x by #2848
2025-03-20 17:43:56 +01:00

41 lines
1 KiB
Bash

##-----------------------------------------------------------------------------
## Copyright 2024 Robert Bosch GmbH
##
## SPDX-License-Identifier: SHL-0.51
##
## Original Author: Konstantinos Leventos - Robert Bosch France SAS
##-----------------------------------------------------------------------------
# Where the tools are
if ! [ -n "$RISCV" ]; then
echo "Error: RISCV variable undefined"
return
fi
# Install the required tools
source ./verif/regress/install-spike.sh
# Setup sim env
source ./verif/sim/setup-env.sh
if ! [ -n "$DV_SIMULATORS" ]; then
DV_SIMULATORS=vcs-uvm
fi
if ! [ -n "$UVM_VERBOSITY" ]; then
UVM_VERBOSITY=UVM_NONE
fi
export DV_OPTS="$DV_OPTS --issrun_opts=+debug_disable=1+UVM_VERBOSITY=$UVM_VERBOSITY"
export DV_TARGET=cv32a65x
make clean
cd verif/sim/
make clean_all
python3 cva6.py --testlist=../tests/testlist_pmp-$DV_TARGET.yaml --target $DV_TARGET --iss_yaml=cva6.yaml --iss=$DV_SIMULATORS $DV_OPTS --linker=../../config/gen_from_riscv_config/cv32a60x/linker/link.ld
make clean_all
cd -
make clean