forked from Github_Repos/cvw
Fixed testbench so coremark stops.
This commit is contained in:
parent
4abc4ea77f
commit
f4a553fd7d
@ -215,6 +215,10 @@ logic [3:0] dummy;
|
||||
// check results
|
||||
always @(negedge clk)
|
||||
begin
|
||||
if (TEST == "coremark" & dut.core.priv.priv.ecallM) begin
|
||||
$display("Benchmark: coremark is done.");
|
||||
$stop;
|
||||
end
|
||||
if (DCacheFlushDone) begin
|
||||
|
||||
#600; // give time for instructions in pipeline to finish
|
||||
@ -280,10 +284,6 @@ 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"};
|
||||
|
Loading…
Reference in New Issue
Block a user