Added correct stop condition for coremark.

This commit is contained in:
Ross Thompson 2022-02-02 09:53:51 -06:00
parent 143bdaa288
commit 4b4cee3ddd

View File

@ -280,6 +280,10 @@ logic [3:0] dummy;
else $display("FAIL: %d test programs had errors", totalerrors);
$stop;
end
if (TEST == "coremark" & dut.core.priv.priv.ecallM) begin
$display("Benchmark: coremark is done.");
$stop;
end
else begin
//pathname = tvpaths[tests[0]];
memfilename = {pathname, tests[test], ".elf.memfile"};