diff --git a/bugs.txt b/bugs.txt deleted file mode 100644 index 4c5a15a3c..000000000 --- a/bugs.txt +++ /dev/null @@ -1,2 +0,0 @@ -1. [ ] AMO should always generate store faults never load faults. We are generating both. - diff --git a/fpga/debug_notes.org b/fpga/debug_notes.org deleted file mode 100644 index 84952d8c5..000000000 --- a/fpga/debug_notes.org +++ /dev/null @@ -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 diff --git a/setup.imperas.sh b/setup.imperas.sh deleted file mode 100644 index 71d5dcfd5..000000000 --- a/setup.imperas.sh +++ /dev/null @@ -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 diff --git a/sim/coverage b/sim/coverage deleted file mode 100755 index 038253911..000000000 --- a/sim/coverage +++ /dev/null @@ -1,2 +0,0 @@ -# recompile coverage tests and run coverage including them -pushd $WALLY/tests/coverage; make; popd; ./regression-wally -coverage diff --git a/sim/make-tests.sh b/sim/make-tests.sh deleted file mode 100755 index de7765086..000000000 --- a/sim/make-tests.sh +++ /dev/null @@ -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 diff --git a/sim/questa/coverage b/sim/questa/coverage deleted file mode 100755 index 038253911..000000000 --- a/sim/questa/coverage +++ /dev/null @@ -1,2 +0,0 @@ -# recompile coverage tests and run coverage including them -pushd $WALLY/tests/coverage; make; popd; ./regression-wally -coverage diff --git a/sim/questa/sim-testfloat b/sim/questa/sim-testfloat deleted file mode 100755 index ee13f17c9..000000000 --- a/sim/questa/sim-testfloat +++ /dev/null @@ -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 - diff --git a/sim/questa/sim-testfloat-batch b/sim/questa/sim-testfloat-batch deleted file mode 100755 index 52ad83c0f..000000000 --- a/sim/questa/sim-testfloat-batch +++ /dev/null @@ -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 - diff --git a/sim/questa/sim-testfloat-verilator b/sim/questa/sim-testfloat-verilator deleted file mode 100755 index 1bd0386b9..000000000 --- a/sim/questa/sim-testfloat-verilator +++ /dev/null @@ -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" diff --git a/sim/questa/sim-wally b/sim/questa/sim-wally deleted file mode 100755 index 3359be0eb..000000000 --- a/sim/questa/sim-wally +++ /dev/null @@ -1,2 +0,0 @@ -wsim rv64gc arch64i --gui - diff --git a/sim/questa/sim-wally-batch b/sim/questa/sim-wally-batch deleted file mode 100755 index 7b3c69339..000000000 --- a/sim/questa/sim-wally-batch +++ /dev/null @@ -1 +0,0 @@ -wsim rv64gc arch64i diff --git a/sim/run-imperasdv-tests.bash b/sim/run-imperasdv-tests.bash deleted file mode 100755 index a9facd0e4..000000000 --- a/sim/run-imperasdv-tests.bash +++ /dev/null @@ -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 diff --git a/sim/test b/sim/test deleted file mode 100644 index 9daeafb98..000000000 --- a/sim/test +++ /dev/null @@ -1 +0,0 @@ -test diff --git a/sim/verilator/sim-wally-batch b/sim/verilator/sim-wally-batch deleted file mode 100755 index 63b4a4cba..000000000 --- a/sim/verilator/sim-wally-batch +++ /dev/null @@ -1 +0,0 @@ -wsim -s verilator rv64gc arch64i