fix regression

This commit is contained in:
bbracker 2021-09-15 17:30:59 -04:00
parent ee1503a249
commit ff5379fd95
2 changed files with 16 additions and 14 deletions

View File

@ -31,7 +31,7 @@ configs = [
TestCase( TestCase(
name="buildroot", name="buildroot",
cmd="vsim -do wally-buildroot-batch.do -c > {}", cmd="vsim -do wally-buildroot-batch.do -c > {}",
grepstr="loaded 6000 instructions" grepstr="8900000 instructions"
), ),
TestCase( TestCase(
name="arch64", name="arch64",
@ -81,7 +81,7 @@ def main():
"""Run the tests and count the failures""" """Run the tests and count the failures"""
# Scale the number of concurrent processes to the number of test cases, but # Scale the number of concurrent processes to the number of test cases, but
# max out at 12 concurrent processes to not overwhelm the system # max out at 12 concurrent processes to not overwhelm the system
TIMEOUT_DUR = 600 # seconds TIMEOUT_DUR = 1800 # seconds
try: try:
os.mkdir("regression_logs") os.mkdir("regression_logs")
except: except:

View File

@ -363,6 +363,8 @@ module testbench();
InstrCountW += 1; InstrCountW += 1;
// turn on waves at certain point // turn on waves at certain point
if (InstrCountW == waveOnICount) $stop; if (InstrCountW == waveOnICount) $stop;
// print progress message
if (InstrCountW % 'd100000 == 0) $display("Reached %d instructions", InstrCountW);
// check PCW // check PCW
fault = 0; fault = 0;
if(PCW != ExpectedPCW) begin if(PCW != ExpectedPCW) begin