mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 17:55:19 +00:00
Merge pull request #978 from jordancarlin/remove-old-scripts
Remove old scripts/files
This commit is contained in:
commit
0a703591e3
2
bugs.txt
2
bugs.txt
@ -1,2 +0,0 @@
|
|||||||
1. [ ] AMO should always generate store faults never load faults. We are generating both.
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
|||||||
* December 12, 2021
|
|
||||||
Indefinite lockup in the dcache with STATE_PTW_FAULT_CPU_BUSY
|
|
||||||
InstrM = f884_3803
|
|
||||||
PCM = ffff_ffff_8030_8004
|
|
||||||
|
|
||||||
Indefinite lockup in the dcache with STATE_PTW_FAULT_CPU_BUSY
|
|
||||||
InstrM = 0207_ba03
|
|
||||||
PCM = ffff_ffff_8034_89fe
|
|
||||||
|
|
||||||
Indefinite lockup in the dcache with STATE_PTW_FAULT_CPU_BUSY
|
|
||||||
InstrM = 0016_c383
|
|
||||||
PCM = ffff_ffff_8030_7504
|
|
||||||
|
|
||||||
Indefinite lockup in the dcache with STATE_PTW_FAULT_CPU_BUSY
|
|
||||||
InstrM = 0006_a703
|
|
||||||
PCM = ffff_ffff_8028_fa02
|
|
@ -1,57 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
IMP_HASH=56b1479
|
|
||||||
|
|
||||||
REPO=davidharrishmc
|
|
||||||
REPO=eroom1966
|
|
||||||
git clone https://github.com/${REPO}/riscv-wally -b imperas
|
|
||||||
|
|
||||||
cd riscv-wally
|
|
||||||
WALLY=$(dirname ${BASH_SOURCE[0]:-$0})
|
|
||||||
export WALLY=$(cd "$WALLY" && pwd)
|
|
||||||
|
|
||||||
# clone the Imperas repo
|
|
||||||
if [ ! -d external ]; then
|
|
||||||
mkdir -p external
|
|
||||||
fi
|
|
||||||
pushd external
|
|
||||||
if [ ! -f ImperasDV-HMC ]; then
|
|
||||||
git clone git@github.com:Imperas/ImperasDV-HMC.git
|
|
||||||
fi
|
|
||||||
pushd ImperasDV-HMC
|
|
||||||
git checkout $IMP_HASH
|
|
||||||
popd
|
|
||||||
popd
|
|
||||||
|
|
||||||
# Setup Imperas
|
|
||||||
source ${WALLY}/external/ImperasDV-HMC/Imperas/bin/setup.sh
|
|
||||||
setupImperas ${WALLY}/external/ImperasDV-HMC/Imperas
|
|
||||||
export IMPERAS_PERSONALITY=CPUMAN_DV_ASYNC
|
|
||||||
|
|
||||||
# setup QUESTA (Imperas only command, YMMV)
|
|
||||||
svsetup -questa
|
|
||||||
|
|
||||||
pushd sim
|
|
||||||
# With IDV
|
|
||||||
IMPERAS_TOOLS=$(pwd)/imperas.ic \
|
|
||||||
OTHERFLAGS="+TRACE2LOG_ENABLE=1 VERBOSE=1" \
|
|
||||||
TESTDIR=${WALLY}/external/ImperasDV-HMC/tests/riscof/work/riscv-arch-test/rv64i_m/F/src/fadd_b1-01.S \
|
|
||||||
vsim -c -do "do wally-imperas.do rv64gc"
|
|
||||||
popd
|
|
||||||
|
|
||||||
# notes
|
|
||||||
# run the pushd external code
|
|
||||||
|
|
||||||
#source external/ImperasDV-HMC/Imperas/bin/setup.sh
|
|
||||||
# setupImperas /home/ross/repos/active-wally/riscv-wally/external/ImperasDV-HMC/Imperas
|
|
||||||
# env | grep IMPERAS
|
|
||||||
# export IMPERAS_PERSONALITY=CPUMAN_DV_ASYNC
|
|
||||||
|
|
||||||
IMPERAS_TOOLS=$(pwd)/imperas.ic \
|
|
||||||
OTHERFLAGS="+TRACE2LOG_ENABLE=1 VERBOSE=1" \
|
|
||||||
TESTDIR=../../tests/riscof_lee/work/riscv-arch-test/rv64i_m/F/src/fadd_b1-01.S \
|
|
||||||
vsim -c -do "do wally-imperas.do rv64gc"
|
|
||||||
|
|
||||||
|
|
||||||
# getting library issue.
|
|
||||||
# try switching to modelsim 2022.01
|
|
@ -1,2 +0,0 @@
|
|||||||
# recompile coverage tests and run coverage including them
|
|
||||||
pushd $WALLY/tests/coverage; make; popd; ./regression-wally -coverage
|
|
@ -1,16 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
rm -r work*
|
|
||||||
make allclean
|
|
||||||
make
|
|
||||||
# cd ../../tests/imperas-riscv-tests/
|
|
||||||
# make allclean
|
|
||||||
# make
|
|
||||||
# cd ../wally-riscv-arch-test
|
|
||||||
# make allclean
|
|
||||||
# make
|
|
||||||
# make XLEN=32
|
|
||||||
# exe2memfile.pl work/*/*/*.elf
|
|
||||||
# cd ../linux-testgen/linux-testvectors
|
|
||||||
# ./tvLinker.sh
|
|
||||||
# cd ../../../regression
|
|
@ -1,2 +0,0 @@
|
|||||||
# recompile coverage tests and run coverage including them
|
|
||||||
pushd $WALLY/tests/coverage; make; popd; ./regression-wally -coverage
|
|
@ -1,14 +0,0 @@
|
|||||||
|
|
||||||
# cvtint - test integer conversion unit (fcvtint)
|
|
||||||
# cvtfp - test floating-point conversion unit (fcvtfp)
|
|
||||||
# cmp - test comparison unit's LT, LE, EQ opperations (fcmp)
|
|
||||||
# add - test addition
|
|
||||||
# fma - test fma
|
|
||||||
# sub - test subtraction
|
|
||||||
# div - test division
|
|
||||||
# sqrt - test square root
|
|
||||||
# all - test everything
|
|
||||||
|
|
||||||
|
|
||||||
wsim fdqh_ieee_rv64gc $1 --tb testbench_fp --gui
|
|
||||||
|
|
@ -1,17 +0,0 @@
|
|||||||
# Run TestFloat simulation
|
|
||||||
|
|
||||||
# cvtint - test integer conversion unit (fcvtint)
|
|
||||||
# cvtfp - test floating-point conversion unit (fcvtfp)
|
|
||||||
# cmp - test comparison unit's LT, LE, EQ opperations (fcmp)
|
|
||||||
# add - test addition
|
|
||||||
# fma - test fma
|
|
||||||
# mul - test mult with fma
|
|
||||||
# sub - test subtraction
|
|
||||||
# div - test division
|
|
||||||
# sqrt - test square root
|
|
||||||
# all - test everything
|
|
||||||
|
|
||||||
#vsim -c -do "do testfloat.do fdqh_ieee_rv64gc $1"
|
|
||||||
wsim fdqh_ieee_rv64gc $1 --tb testbench_fp
|
|
||||||
#wsim fdqh_ieee_rv64gc $1 --tb testbench_fp --gui
|
|
||||||
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# sim-testfloat-verilator
|
|
||||||
# David_Harris@hmc.edu 3 April 2024
|
|
||||||
# Run Testfloat simulations with Verilator
|
|
||||||
# SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1
|
|
||||||
|
|
||||||
# cvtint - test integer conversion unit (fcvtint)
|
|
||||||
# cvtfp - test floating-point conversion unit (fcvtfp)
|
|
||||||
# cmp - test comparison unit's LT, LE, EQ opperations (fcmp)
|
|
||||||
# add - test addition
|
|
||||||
# fma - test fma
|
|
||||||
# mul - test mult with fma
|
|
||||||
# sub - test subtraction
|
|
||||||
# div - test division
|
|
||||||
# sqrt - test square root
|
|
||||||
# all - test everything
|
|
||||||
|
|
||||||
wsim fdqh_ieee_rv64gc add --tb testbench_fp --sim verilator
|
|
||||||
|
|
||||||
# Change TEST_SIZE to only test certain FP width
|
|
||||||
# values are QP, DP, SP, HP or all for all tests
|
|
||||||
#vsim -voptargs=+acc work.testbenchfp -GTEST=$2 -GTEST_SIZE="all"
|
|
@ -1,2 +0,0 @@
|
|||||||
wsim rv64gc arch64i --gui
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
wsim rv64gc arch64i
|
|
@ -1,22 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
if [ -d results ]; then
|
|
||||||
rm -rf results
|
|
||||||
fi
|
|
||||||
mkdir -p results
|
|
||||||
|
|
||||||
ALL=$(find ${WALLY}/external/ImperasDV-HMC/tests/riscof/work/riscv-arch-test/rv64i_m -name "ref" -type d)
|
|
||||||
|
|
||||||
export IMPERAS_TOOLS=$(pwd)/imperas.ic
|
|
||||||
export OTHERFLAGS="+TRACE2LOG_ENABLE=1 VERBOSE=1"
|
|
||||||
|
|
||||||
for t in $ALL; do
|
|
||||||
export TESTDIR=$(dirname ${t})
|
|
||||||
OUTLOG=$(echo ${TESTDIR} | sed "s|${WALLY}/external/ImperasDV-HMC/tests/riscof/work|results|").log
|
|
||||||
OUTDIR=$(dirname ${OUTLOG})
|
|
||||||
echo "Running test ${TESTDIR} -> ${OUTDIR} :: ${OUTLOG}"
|
|
||||||
|
|
||||||
mkdir -p ${OUTDIR}
|
|
||||||
vsim -c -do "do wally-imperas.do rv64gc"
|
|
||||||
mv transcript ${OUTLOG}
|
|
||||||
done
|
|
@ -1 +0,0 @@
|
|||||||
wsim -s verilator rv64gc arch64i
|
|
Loading…
Reference in New Issue
Block a user