Use cvw-arch-verif manifest file

This commit is contained in:
Jordan Carlin 2025-02-09 22:34:29 -08:00
parent 8c102c6211
commit 576e49ce67
No known key found for this signature in database
2 changed files with 9 additions and 6 deletions

View file

@ -33,6 +33,13 @@ echo \$WALLY set to "${WALLY}"
# utility functions in Wally repository # utility functions in Wally repository
export PATH=$WALLY/bin:$PATH export PATH=$WALLY/bin:$PATH
# Setup cvw-arch-verif paths
if [ -e "${WALLY}"/addins/cvw-arch-verif/setup.sh ]; then
source "${WALLY}"/addins/cvw-arch-verif/setup.sh
else
echo "setup.sh not found in \$WALLY/addins/cvw-arch-verif directory. Make sure you cloned the submodules."
fi
# Verilator needs a larger core file size to simulate CORE-V Wally # Verilator needs a larger core file size to simulate CORE-V Wally
ulimit -c 300000 ulimit -c 300000
@ -41,6 +48,7 @@ if [ -e "${RISCV}"/site-setup.sh ]; then
source "${RISCV}"/site-setup.sh source "${RISCV}"/site-setup.sh
else else
echo "site-setup.sh not found in \$RISCV directory. Rerun wally-toolchain-install.sh to automatically download it." echo "site-setup.sh not found in \$RISCV directory. Rerun wally-toolchain-install.sh to automatically download it."
exit 1
fi fi
echo "setup done" echo "setup done"

View file

@ -111,13 +111,8 @@ if {[lcheck lst "--ccov"]} {
# if --fcov found set flag and remove from list # if --fcov found set flag and remove from list
if {[lcheck lst "--fcov"]} { if {[lcheck lst "--fcov"]} {
set IMPERAS_HOME $::env(IMPERAS_HOME)
set FunctCoverage 1 set FunctCoverage 1
set FCvlog "+incdir+${FCRVVI}/unpriv \ set FCvlog "-f ${FCRVVI}/cvw-arch-verif.f"
+incdir+${FCRVVI}/priv +incdir+${FCRVVI}/rv64_priv +incdir+${FCRVVI}/rv32_priv \
+incdir+${FCRVVI}/common +incdir+${FCRVVI} \
+incdir+$env(WALLY)/addins/cvw-arch-verif/riscvISACOV/source \
${FCRVVI}/*.sv"
} }
# if --lockstep found set flag and remove from list # if --lockstep found set flag and remove from list