mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed testbench so coremark stops.
This commit is contained in:
parent
1a907ef4d1
commit
2f7cf2bc7f
@ -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