mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-06-28 09:36:01 -04:00
Use cvw-arch-verif manifest file
This commit is contained in:
parent
8c102c6211
commit
576e49ce67
2 changed files with 9 additions and 6 deletions
8
setup.sh
8
setup.sh
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue