diff --git a/Makefile b/Makefile index 740287dcc..be870b028 100644 --- a/Makefile +++ b/Makefile @@ -51,9 +51,9 @@ funcovreg: # test_name=riscv_arithmetic_basic_test riscvdv: - python3 ${WALLY}/addins/riscv-dv/run.py --test ${test_name} --target rv64gc --output tests/riscvdv --iterations 1 -si questa --iss spike --verbose --cov --seed 0 --steps gen,gcc_compile >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 -# python3 ${WALLY}/addins/riscv-dv/run.py --test ${test_name} --target rv64gc --output tests/riscvdv --iterations 1 -si questa --iss spike --verbose --cov --seed 0 --steps gcc_compile >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 -# python3 ${WALLY}/addins/riscv-dv/run.py --test ${test_name} --target rv64gc --output tests/riscvdv --iterations 1 -si questa --iss spike --verbose --cov --seed 0 --steps iss_sim >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 + ${RISCV}/riscv-python/bin/python3 ${WALLY}/addins/riscv-dv/run.py --test ${test_name} --target rv64gc --output tests/riscvdv --iterations 1 -si questa --iss spike --verbose --cov --seed 0 --steps gen,gcc_compile >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 +# ${RISCV}/riscv-python/bin/python3 ${WALLY}/addins/riscv-dv/run.py --test ${test_name} --target rv64gc --output tests/riscvdv --iterations 1 -si questa --iss spike --verbose --cov --seed 0 --steps gcc_compile >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 +# ${RISCV}/riscv-python/bin/python3 ${WALLY}/addins/riscv-dv/run.py --test ${test_name} --target rv64gc --output tests/riscvdv --iterations 1 -si questa --iss spike --verbose --cov --seed 0 --steps iss_sim >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 # run-elf.bash --seed ${SIM}/questa/seed0.txt --verbose --elf ${WALLY}/tests/riscvdv/asm_test/${test_name}_0.o >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 #run-elf-cov.bash --seed ${SIM}/questa/seed0.txt --verbose --coverdb ${SIM}/questa/riscv.ucdb --elf ${WALLY}/tests/riscvdv/asm_test/${test_name}_0.o >> ${SIM}/questa/functcov_logs/${test_name}.log 2>&1 #cp ${SIM}/questa/riscv.ucdb ${SIM}/questa/functcov_ucdbs/${test_name}.ucdb diff --git a/benchmarks/coremark/coremark_sweep.py b/benchmarks/coremark/coremark_sweep.py index d912349dc..8cfce025d 100755 --- a/benchmarks/coremark/coremark_sweep.py +++ b/benchmarks/coremark/coremark_sweep.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 ################################################## ## coremark_sweep.py diff --git a/benchmarks/embench/embench_arch_sweep.py b/benchmarks/embench/embench_arch_sweep.py index 14b1f1b0c..99d49e7be 100755 --- a/benchmarks/embench/embench_arch_sweep.py +++ b/benchmarks/embench/embench_arch_sweep.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # embench_arch_sweep.py # David_Harris@hmc.edu 16 November 2023 # SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 diff --git a/benchmarks/graphGen.py b/benchmarks/graphGen.py index dd7b3a204..95e48db6e 100755 --- a/benchmarks/graphGen.py +++ b/benchmarks/graphGen.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # Daniel Torres 2022 # SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 diff --git a/bin/nightly_build.py b/bin/nightly_build.py index d82877a7a..5a062266b 100755 --- a/bin/nightly_build.py +++ b/bin/nightly_build.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ Python Regression Build Automation Script diff --git a/bin/parseHPMC.py b/bin/parseHPMC.py index fd4efe20e..4408f2211 100755 --- a/bin/parseHPMC.py +++ b/bin/parseHPMC.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ########################################### ## Written: Rose Thompson ross1728@gmail.com diff --git a/bin/regression-wally b/bin/regression-wally index ed725b51a..24f287ca0 100755 --- a/bin/regression-wally +++ b/bin/regression-wally @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # # regression-wally diff --git a/bin/wrapper_nightly_runs.sh b/bin/wrapper_nightly_runs.sh index 982132792..88a1e094a 100755 --- a/bin/wrapper_nightly_runs.sh +++ b/bin/wrapper_nightly_runs.sh @@ -17,5 +17,5 @@ source ./setup.sh cd $PYTHON_SCRIPT pwd echo "Running python file" -python nightly_build.py +$RISCV/riscv-python/bin/python nightly_build.py echo "Finished" diff --git a/bin/wsim b/bin/wsim index 35b48dbb1..8500892fc 100755 --- a/bin/wsim +++ b/bin/wsim @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # wsim # David_Harris@hmc.edu 5 April 2024 diff --git a/fpga/generator/probe b/fpga/generator/probe index d3142e0f2..cb2b95b23 100755 --- a/fpga/generator/probe +++ b/fpga/generator/probe @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ########################################### ## fpgaTop.sv ## diff --git a/fpga/probe b/fpga/probe index 1cf1104c1..fa60dc658 100755 --- a/fpga/probe +++ b/fpga/probe @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ########################################### ## probe.sh ## diff --git a/fpga/proberange b/fpga/proberange index 73bfc3383..44885a0eb 100755 --- a/fpga/proberange +++ b/fpga/proberange @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ########################################### ## proberange.sh ## @@ -13,15 +13,15 @@ ## ## SPDX-License-Identifier: Apache-2.0 WITH SHL-2.1 ## -## Licensed under the Solderpad Hardware License v 2.1 (the “License”); you may not use this file -## except in compliance with the License, or, at your option, the Apache License version 2.0. You +## Licensed under the Solderpad Hardware License v 2.1 (the “License”); you may not use this file +## except in compliance with the License, or, at your option, the Apache License version 2.0. You ## may obtain a copy of the License at ## ## https:##solderpad.org#licenses#SHL-2.1# ## -## Unless required by applicable law or agreed to in writing, any work distributed under the -## License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, -## either express or implied. See the License for the specific language governing permissions +## Unless required by applicable law or agreed to in writing, any work distributed under the +## License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, +## either express or implied. See the License for the specific language governing permissions ## and limitations under the License. ################################################################################################ @@ -41,7 +41,7 @@ set_property C_INPUT_PIPE_STAGES 0 [get_debug_cores u_ila_0] set_property C_EN_STRG_QUAL false [get_debug_cores u_ila_0] set_property ALL_PROBE_SAME_MU true [get_debug_cores u_ila_0] set_property ALL_PROBE_SAME_MU_CNT 1 [get_debug_cores u_ila_0] -startgroup +startgroup set_property C_EN_STRG_QUAL true [get_debug_cores u_ila_0 ] set_property C_ADV_TRIGGER true [get_debug_cores u_ila_0 ] set_property ALL_PROBE_SAME_MU true [get_debug_cores u_ila_0 ] diff --git a/fpga/probes b/fpga/probes index 1ea571057..8d220c62f 100755 --- a/fpga/probes +++ b/fpga/probes @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ########################################### ## probe.sh ## diff --git a/fpga/renumber.py b/fpga/renumber.py index adf625920..84a2543d7 100755 --- a/fpga/renumber.py +++ b/fpga/renumber.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys import re diff --git a/linux/testvector-generation/disassembleBootTrace.py b/linux/testvector-generation/disassembleBootTrace.py index 12e2202cb..ac36fd36e 100755 --- a/linux/testvector-generation/disassembleBootTrace.py +++ b/linux/testvector-generation/disassembleBootTrace.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # disassembleBootTrace.py # David_Harris@hmc.edu 22 November 2023 diff --git a/linux/testvector-generation/filterTrapsToInterrupts.py b/linux/testvector-generation/filterTrapsToInterrupts.py index de0553098..7476e110f 100755 --- a/linux/testvector-generation/filterTrapsToInterrupts.py +++ b/linux/testvector-generation/filterTrapsToInterrupts.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 import sys, os from functools import reduce diff --git a/linux/testvector-generation/parseGDBtoTrace.py b/linux/testvector-generation/parseGDBtoTrace.py index 9a467e3e2..a5ace11b0 100755 --- a/linux/testvector-generation/parseGDBtoTrace.py +++ b/linux/testvector-generation/parseGDBtoTrace.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 import sys, fileinput, re # Ross Thompson diff --git a/linux/testvector-generation/parsePlicState.py b/linux/testvector-generation/parsePlicState.py index 49f2a558e..5fb2b4eac 100755 --- a/linux/testvector-generation/parsePlicState.py +++ b/linux/testvector-generation/parsePlicState.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 import sys, os from functools import reduce diff --git a/linux/testvector-generation/parseQEMUtoGDB.py b/linux/testvector-generation/parseQEMUtoGDB.py index aea5e057e..457085a1b 100755 --- a/linux/testvector-generation/parseQEMUtoGDB.py +++ b/linux/testvector-generation/parseQEMUtoGDB.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 import fileinput, sys parseState = "idle" diff --git a/linux/testvector-generation/parseState.py b/linux/testvector-generation/parseState.py index 1f7e93c09..f54ba0f78 100755 --- a/linux/testvector-generation/parseState.py +++ b/linux/testvector-generation/parseState.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 import sys, os ################ diff --git a/linux/testvector-generation/parseUartState.py b/linux/testvector-generation/parseUartState.py index 611937054..82028d528 100755 --- a/linux/testvector-generation/parseUartState.py +++ b/linux/testvector-generation/parseUartState.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 import sys, os ################ diff --git a/sim/bpred-sim.py b/sim/bpred-sim.py index c04b9bd51..45c0965a1 100755 --- a/sim/bpred-sim.py +++ b/sim/bpred-sim.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # # regression-wally diff --git a/sim/buildrootBugFinder.py b/sim/buildrootBugFinder.py index af6324596..55613e64b 100755 --- a/sim/buildrootBugFinder.py +++ b/sim/buildrootBugFinder.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys, os, subprocess def main(): diff --git a/sim/slack-notifier/slack-notifier.py b/sim/slack-notifier/slack-notifier.py index 273299d23..ac824feec 100755 --- a/sim/slack-notifier/slack-notifier.py +++ b/sim/slack-notifier/slack-notifier.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import os,sys,subprocess from datetime import datetime, timezone, timedelta diff --git a/studies/testgen/testgen-ADD-SUB-SLT-SLTU-XOR-OR-AND.py b/studies/testgen/testgen-ADD-SUB-SLT-SLTU-XOR-OR-AND.py index 9f795036b..7a5b824b5 100755 --- a/studies/testgen/testgen-ADD-SUB-SLT-SLTU-XOR-OR-AND.py +++ b/studies/testgen/testgen-ADD-SUB-SLT-SLTU-XOR-OR-AND.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-ADD-SUB-SLT-SLTU-XOR-OR-AND.py # diff --git a/studies/testgen/testgen-ADDI-XORI-ORI-ANDI-SLTI.py b/studies/testgen/testgen-ADDI-XORI-ORI-ANDI-SLTI.py index b755519f6..a25958552 100644 --- a/studies/testgen/testgen-ADDI-XORI-ORI-ANDI-SLTI.py +++ b/studies/testgen/testgen-ADDI-XORI-ORI-ANDI-SLTI.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-ADD-SUB.py # diff --git a/studies/testgen/testgen-ADDIW-SLLIW-SRLIW-SRAIW.py b/studies/testgen/testgen-ADDIW-SLLIW-SRLIW-SRAIW.py index 57a2bad77..55cffb3db 100755 --- a/studies/testgen/testgen-ADDIW-SLLIW-SRLIW-SRAIW.py +++ b/studies/testgen/testgen-ADDIW-SLLIW-SRLIW-SRAIW.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-ADDIW-SLLIW-SRLIW-SRAIW.py # diff --git a/studies/testgen/testgen-ADDW-SUBW-SLLW-SRLW-SRAW.py b/studies/testgen/testgen-ADDW-SUBW-SLLW-SRLW-SRAW.py index d95bc3fc4..f57b95315 100755 --- a/studies/testgen/testgen-ADDW-SUBW-SLLW-SRLW-SRAW.py +++ b/studies/testgen/testgen-ADDW-SUBW-SLLW-SRLW-SRAW.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-ADDW-SUBW-SLLW-SRLW-SRAW.py # diff --git a/studies/testgen/testgen-BRANCH.py b/studies/testgen/testgen-BRANCH.py index 04a9caa80..cf5236ad9 100755 --- a/studies/testgen/testgen-BRANCH.py +++ b/studies/testgen/testgen-BRANCH.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-branch.py # diff --git a/studies/testgen/testgen-CSR.py b/studies/testgen/testgen-CSR.py index f28f9925d..7f74b1658 100644 --- a/studies/testgen/testgen-CSR.py +++ b/studies/testgen/testgen-CSR.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-ADD-SUB.py # diff --git a/studies/testgen/testgen-JAL-JALR.py b/studies/testgen/testgen-JAL-JALR.py index 87c0c423d..7ce482bd5 100755 --- a/studies/testgen/testgen-JAL-JALR.py +++ b/studies/testgen/testgen-JAL-JALR.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-JAL.py # diff --git a/studies/testgen/testgen-LOAD.py b/studies/testgen/testgen-LOAD.py index 4a80fbfc7..736b8e05b 100755 --- a/studies/testgen/testgen-LOAD.py +++ b/studies/testgen/testgen-LOAD.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-LOAD.py # diff --git a/studies/testgen/testgen-PIPELINE.py b/studies/testgen/testgen-PIPELINE.py index 3a425da98..0a2a66491 100755 --- a/studies/testgen/testgen-PIPELINE.py +++ b/studies/testgen/testgen-PIPELINE.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 ################################################################################################### # testgen-PIPELINE.py # diff --git a/studies/testgen/testgen-SLL-SRL-SRA.py b/studies/testgen/testgen-SLL-SRL-SRA.py index 6b4996d90..ede82af48 100755 --- a/studies/testgen/testgen-SLL-SRL-SRA.py +++ b/studies/testgen/testgen-SLL-SRL-SRA.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-SLL-SRL-SRA.py # diff --git a/studies/testgen/testgen-SLLI-SRLI-SRAI.py b/studies/testgen/testgen-SLLI-SRLI-SRAI.py index 201763890..cc01f1eb8 100644 --- a/studies/testgen/testgen-SLLI-SRLI-SRAI.py +++ b/studies/testgen/testgen-SLLI-SRLI-SRAI.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-ADD-SUB.py # diff --git a/studies/testgen/testgen-SLTIU.py b/studies/testgen/testgen-SLTIU.py index 25eb5ddfb..8642a7aec 100644 --- a/studies/testgen/testgen-SLTIU.py +++ b/studies/testgen/testgen-SLTIU.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-ADD-SUB.py # diff --git a/studies/testgen/testgen-STORE.py b/studies/testgen/testgen-STORE.py index d4a995d48..4f3944c70 100755 --- a/studies/testgen/testgen-STORE.py +++ b/studies/testgen/testgen-STORE.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-STORE.py # diff --git a/studies/testgen/testgen-VIRTUALMEMORY.py b/studies/testgen/testgen-VIRTUALMEMORY.py index 07bb6e374..310e96b3c 100644 --- a/studies/testgen/testgen-VIRTUALMEMORY.py +++ b/studies/testgen/testgen-VIRTUALMEMORY.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-VIRTUALMEMORY.py # diff --git a/synthDC/extractSummary.py b/synthDC/extractSummary.py index 354c6f70f..826be54d8 100755 --- a/synthDC/extractSummary.py +++ b/synthDC/extractSummary.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Madeleine Masser-Frye (mmmasserfrye@hmc.edu) 06/2022 from collections import namedtuple import re diff --git a/synthDC/ppa/ppaAnalyze.py b/synthDC/ppa/ppaAnalyze.py index 56248ed9e..a43de80bb 100755 --- a/synthDC/ppa/ppaAnalyze.py +++ b/synthDC/ppa/ppaAnalyze.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # Python regression test for DC # Madeleine Masser-Frye mmasserfrye@hmc.edu 5/22 diff --git a/synthDC/ppa/ppaSynth.py b/synthDC/ppa/ppaSynth.py index 315fa554a..1947a5809 100755 --- a/synthDC/ppa/ppaSynth.py +++ b/synthDC/ppa/ppaSynth.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # Python regression test for DC # Madeleine Masser-Frye mmasserfrye@hmc.edu 5/22 diff --git a/synthDC/scripts/wrapperGen.py b/synthDC/scripts/wrapperGen.py index b570ad0c0..f91052638 100755 --- a/synthDC/scripts/wrapperGen.py +++ b/synthDC/scripts/wrapperGen.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 """ wrapperGen.py diff --git a/synthDC/wallySynth.py b/synthDC/wallySynth.py index a5e8b5d6b..caf7e1697 100755 --- a/synthDC/wallySynth.py +++ b/synthDC/wallySynth.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Madeleine Masser-Frye mmasserfrye@hmc.edu 1/2023 import subprocess diff --git a/testbench/sdc/ram2sdLoad.py b/testbench/sdc/ram2sdLoad.py index d283ad3ac..ebfa37939 100755 --- a/testbench/sdc/ram2sdLoad.py +++ b/testbench/sdc/ram2sdLoad.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys, fileinput diff --git a/tests/fp/combined_IF_vectors/extract_arch_vectors.py b/tests/fp/combined_IF_vectors/extract_arch_vectors.py index d0fd3ab9c..ddb3e0c35 100755 --- a/tests/fp/combined_IF_vectors/extract_arch_vectors.py +++ b/tests/fp/combined_IF_vectors/extract_arch_vectors.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 # author: Alessandro Maiuolo, Kevin Kim # contact: amaiuolo@g.hmc.edu, kekim@hmc.edu diff --git a/tests/fp/combined_IF_vectors/extract_testfloat_vectors.py b/tests/fp/combined_IF_vectors/extract_testfloat_vectors.py index 07047be25..dce1fc2aa 100755 --- a/tests/fp/combined_IF_vectors/extract_testfloat_vectors.py +++ b/tests/fp/combined_IF_vectors/extract_testfloat_vectors.py @@ -1,4 +1,4 @@ -#! /usr/bin/python3 +#!/usr/bin/env python3 # extract sqrt and float div testfloat vectors # author: Alessandro Maiuolo diff --git a/tests/fp/quad/fpdatasetgen.py b/tests/fp/quad/fpdatasetgen.py index 6208b1ba3..01cfd7777 100755 --- a/tests/fp/quad/fpdatasetgen.py +++ b/tests/fp/quad/fpdatasetgen.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python3 from fp_dataset import * #coverpoints=ibm_b1(128, 128, 'fadd.q', 2) #ibm_b1(flen, iflen, opcode, ops) diff --git a/tests/testgen/PIPELINE.py b/tests/testgen/PIPELINE.py index 6432bb023..35d040763 100755 --- a/tests/testgen/PIPELINE.py +++ b/tests/testgen/PIPELINE.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # PIPELINE.py # diff --git a/tests/testgen/covergen.py b/tests/testgen/covergen.py index 1e06e7b9c..135125f82 100755 --- a/tests/testgen/covergen.py +++ b/tests/testgen/covergen.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # covergen.py # diff --git a/tests/testgen/privileged/run.sh b/tests/testgen/privileged/run.sh index d1afb4e89..8509e77e6 100755 --- a/tests/testgen/privileged/run.sh +++ b/tests/testgen/privileged/run.sh @@ -12,7 +12,7 @@ printf "\n\n#####\nStarting tests for $1\n#####\n\n" if [[ "$2" != "-simonly" ]] then cd $WALLY/testgen/privileged - python3 "testgen-$1.py" + $RISCV/riscv-python/bin/python3 "testgen-$1.py" printf "\n\n#####\nRan testgen-$1.py Making...\n#####\n\n\n" if [[ "$2" == "-c" ]] diff --git a/tests/testgen/privileged/testgen-CAUSE.py b/tests/testgen/privileged/testgen-CAUSE.py index 0ab0128b4..12e4ef886 100755 --- a/tests/testgen/privileged/testgen-CAUSE.py +++ b/tests/testgen/privileged/testgen-CAUSE.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-CAUSE.py (new) # diff --git a/tests/testgen/privileged/testgen-CSR-PERMISSIONS.py b/tests/testgen/privileged/testgen-CSR-PERMISSIONS.py index 1cd262458..fadff0a36 100755 --- a/tests/testgen/privileged/testgen-CSR-PERMISSIONS.py +++ b/tests/testgen/privileged/testgen-CSR-PERMISSIONS.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-CSR-PERMISSIONS.py # diff --git a/tests/testgen/privileged/testgen-DELEG.py b/tests/testgen/privileged/testgen-DELEG.py index ab08d09d5..4d7a99716 100755 --- a/tests/testgen/privileged/testgen-DELEG.py +++ b/tests/testgen/privileged/testgen-DELEG.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-CAUSE.py # diff --git a/tests/testgen/privileged/testgen-EPC.py b/tests/testgen/privileged/testgen-EPC.py index 8093ef403..c9b5ad0e0 100755 --- a/tests/testgen/privileged/testgen-EPC.py +++ b/tests/testgen/privileged/testgen-EPC.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-CAUSE.py # diff --git a/tests/testgen/privileged/testgen-IE.py b/tests/testgen/privileged/testgen-IE.py index 5a82d019f..032d719d2 100755 --- a/tests/testgen/privileged/testgen-IE.py +++ b/tests/testgen/privileged/testgen-IE.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-IE.py # diff --git a/tests/testgen/privileged/testgen-IP.py b/tests/testgen/privileged/testgen-IP.py index a4910977d..2741362ed 100755 --- a/tests/testgen/privileged/testgen-IP.py +++ b/tests/testgen/privileged/testgen-IP.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-IE.py # diff --git a/tests/testgen/privileged/testgen-READONLY.py b/tests/testgen/privileged/testgen-READONLY.py index ad94b60cd..71eedbde5 100755 --- a/tests/testgen/privileged/testgen-READONLY.py +++ b/tests/testgen/privileged/testgen-READONLY.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-CAUSE.py # diff --git a/tests/testgen/privileged/testgen-RET.py b/tests/testgen/privileged/testgen-RET.py index 8921cfb8e..94d5f7262 100755 --- a/tests/testgen/privileged/testgen-RET.py +++ b/tests/testgen/privileged/testgen-RET.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-CAUSE.py # diff --git a/tests/testgen/privileged/testgen-TVAL.py b/tests/testgen/privileged/testgen-TVAL.py index 572d930c9..b5402d0e7 100755 --- a/tests/testgen/privileged/testgen-TVAL.py +++ b/tests/testgen/privileged/testgen-TVAL.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-TVAL.py # diff --git a/tests/testgen/privileged/testgen-TVEC.py b/tests/testgen/privileged/testgen-TVEC.py index fcdc80d7f..ce484c8b4 100755 --- a/tests/testgen/privileged/testgen-TVEC.py +++ b/tests/testgen/privileged/testgen-TVEC.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen-TVEC.py (new) # diff --git a/tests/testgen/testgen.py b/tests/testgen/testgen.py index 02d16a319..46bd2cb75 100755 --- a/tests/testgen/testgen.py +++ b/tests/testgen/testgen.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ################################## # testgen.py #