mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Merge branch 'main' of https://github.com/openhwgroup/cvw into dev
This commit is contained in:
commit
76570ed2c2
6
setup.sh
6
setup.sh
@ -27,6 +27,10 @@ export PATH=$WALLY/bin:$PATH
|
|||||||
ulimit -s 100000
|
ulimit -s 100000
|
||||||
|
|
||||||
# load site licenses and tool locations
|
# load site licenses and tool locations
|
||||||
source $RISCV/site-setup.sh
|
if [ -f ${RISCV}/site-setup.sh ]; then
|
||||||
|
source ${RISCV}/site-setup.sh
|
||||||
|
else
|
||||||
|
source ${WALLY}/site-setup.sh
|
||||||
|
fi
|
||||||
|
|
||||||
echo "setup done"
|
echo "setup done"
|
||||||
|
@ -69,7 +69,7 @@ if {$argc >= 3} {
|
|||||||
set tbArgs $lst
|
set tbArgs $lst
|
||||||
}
|
}
|
||||||
set tbArgsLst [split $lst " "]
|
set tbArgsLst [split $lst " "]
|
||||||
# might be able to remove this, but I'm keeping the code for now in case we need to separate the two types of args.
|
# separate the +args from the -G parameters
|
||||||
foreach otherArg $tbArgsLst {
|
foreach otherArg $tbArgsLst {
|
||||||
if {[string index $otherArg 0] eq "+"} {
|
if {[string index $otherArg 0] eq "+"} {
|
||||||
lappend PlusArgs $otherArg
|
lappend PlusArgs $otherArg
|
||||||
@ -105,7 +105,7 @@ vlog -lint -work ${WKDIR} +incdir+${CONFIG}/$1 +incdir+${CONFIG}/deriv/$1 +incdi
|
|||||||
# remove +acc flag for faster sim during regressions if there is no need to access internal signals
|
# remove +acc flag for faster sim during regressions if there is no need to access internal signals
|
||||||
vopt $accFlag wkdir/${CFG}_${TESTSUITE}.${TESTBENCH} -work ${WKDIR} ${tbArgs} -o testbenchopt ${CoverageVoptArg}
|
vopt $accFlag wkdir/${CFG}_${TESTSUITE}.${TESTBENCH} -work ${WKDIR} ${tbArgs} -o testbenchopt ${CoverageVoptArg}
|
||||||
# *** tbArgs producees a warning that TEST not found in design when running sim-testfloat-batch. Need to separate -G and + arguments to pass separately to vopt and vsim
|
# *** tbArgs producees a warning that TEST not found in design when running sim-testfloat-batch. Need to separate -G and + arguments to pass separately to vopt and vsim
|
||||||
vsim -lib ${WKDIR} testbenchopt +TEST=${TESTSUITE} -fatal 7 -suppress 3829 ${CoverageVsimArg}
|
vsim -lib ${WKDIR} testbenchopt +TEST=${TESTSUITE} ${PlusArgs} -fatal 7 -suppress 3829 ${CoverageVsimArg}
|
||||||
|
|
||||||
# vsim -lib wkdir/work_${1}_${2} testbenchopt -fatal 7 -suppress 3829
|
# vsim -lib wkdir/work_${1}_${2} testbenchopt -fatal 7 -suppress 3829
|
||||||
# power add generates the logging necessary for said generation.
|
# power add generates the logging necessary for said generation.
|
||||||
|
@ -337,7 +337,7 @@ module testbench;
|
|||||||
memfilename = {RISCV_DIR, "/linux-testvectors/ram.bin"};
|
memfilename = {RISCV_DIR, "/linux-testvectors/ram.bin"};
|
||||||
bootmemfilename = {RISCV_DIR, "/linux-testvectors/bootmem.bin"};
|
bootmemfilename = {RISCV_DIR, "/linux-testvectors/bootmem.bin"};
|
||||||
uartoutfilename = {"logs/", TEST, "_uart.out"};
|
uartoutfilename = {"logs/", TEST, "_uart.out"};
|
||||||
rmCmd = {"rm ", uartoutfilename};
|
rmCmd = {"rm -f ", uartoutfilename};
|
||||||
$system(rmCmd); // Delete existing UARToutfile
|
$system(rmCmd); // Delete existing UARToutfile
|
||||||
end
|
end
|
||||||
else memfilename = {pathname, tests[test], ".elf.memfile"};
|
else memfilename = {pathname, tests[test], ".elf.memfile"};
|
||||||
|
@ -27,7 +27,7 @@ hart0:
|
|||||||
warl:
|
warl:
|
||||||
dependency_fields: []
|
dependency_fields: []
|
||||||
legal:
|
legal:
|
||||||
- extensions[25:0] bitmask [0x014112D, 0x0000000]
|
- extensions[25:0] bitmask [0x015112D, 0x0000000]
|
||||||
wr_illegal:
|
wr_illegal:
|
||||||
- Unchanged
|
- Unchanged
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user