Named change for ahb tests to be less annoying.

This commit is contained in:
Ross Thompson 2022-09-07 12:06:15 -05:00
parent 6581490f9c
commit 54c55b57cb
2 changed files with 11 additions and 5 deletions

View File

@ -103,7 +103,7 @@ for test in tests32e:
ahbTests = [("0", "0"), ("0", "1"), ("1", "0"), ("1", "1"), ("2", "0"), ("2", "1")]
for test in ahbTests:
tc = TestCase(
name="RAM_LATENCH_" + test[0] + "_BURST_EN_" + test[1],
name="ram_latency_" + test[0] + "_burst_en_" + test[1],
variant="ahb",
cmd="vsim > {} -c <<!\ndo wally-pipelined-batch.do rv64gc ahb "+test[0]+" "+test[1]+"\n!",
grepstr="All tests ran without failures")

View File

@ -20,11 +20,17 @@
onbreak {resume}
# create library
if [file exists wkdir/work_${1}_${2}] {
if {$2 eq "ahb"} {
if [file exists wkdir/work_${1}_${2}_${3}_${4}] {
vdel -lib wkdir/work_${1}_${2}_${3}_${4} -all
}
vlib wkdir/work_${1}_${2}_${3}_${4}
} else {
if [file exists wkdir/work_${1}_${2}] {
vdel -lib wkdir/work_${1}_${2} -all
}
vlib wkdir/work_${1}_${2}
}
vlib wkdir/work_${1}_${2}
# compile source files
# suppress spurious warnngs about
# "Extra checking for conflicts with always_comb done at vopt time"