partially complete MSTATUS test of sd, xs, fs, mie, mpp, mpie, sie, spie bitfields

This commit is contained in:
Kip Macsai-Goren 2021-05-24 20:59:26 -04:00
parent c4f3f2f783
commit 8ae43a15d4

View File

@ -443,7 +443,7 @@ string tests32f[] = '{
}; };
string tests64p[] = '{ string tests64p[] = '{
//"rv64p/WALLY-MSTATUS", "2010", "rv64p/WALLY-MSTATUS", "2000",
"rv64p/WALLY-MCAUSE", "3000", "rv64p/WALLY-MCAUSE", "3000",
"rv64p/WALLY-SCAUSE", "2000", "rv64p/WALLY-SCAUSE", "2000",
"rv64p/WALLY-MEPC", "5000", "rv64p/WALLY-MEPC", "5000",
@ -464,6 +464,7 @@ string tests32f[] = '{
}; };
string tests32p[] = '{ string tests32p[] = '{
"rv32p/WALLY-MSTATUS", "2000",
"rv32p/WALLY-MCAUSE", "3000", "rv32p/WALLY-MCAUSE", "3000",
"rv32p/WALLY-SCAUSE", "2000", "rv32p/WALLY-SCAUSE", "2000",
"rv32p/WALLY-MEPC", "5000", "rv32p/WALLY-MEPC", "5000",
@ -652,7 +653,7 @@ string tests32f[] = '{
errors = errors+1; errors = errors+1;
$display(" Error on test %s result %d: adr = %h sim = %h, signature = %h", $display(" Error on test %s result %d: adr = %h sim = %h, signature = %h",
tests[test], i, (testadr+i)*`XLEN/8, dut.uncore.dtim.RAM[testadr+i], signature[i]); tests[test], i, (testadr+i)*`XLEN/8, dut.uncore.dtim.RAM[testadr+i], signature[i]);
$stop;//***debug // $stop;//***debug
end end
end end
i = i + 1; i = i + 1;