mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Added stop to coremark_bare testbench
This commit is contained in:
parent
8f1584ca04
commit
06be82fc67
@ -83,6 +83,14 @@ module testbench();
|
|||||||
begin
|
begin
|
||||||
clk = 1; # 5; clk = 0; # 5;
|
clk = 1; # 5; clk = 0; # 5;
|
||||||
end
|
end
|
||||||
|
always @(negedge clk)
|
||||||
|
begin
|
||||||
|
if (dut.hart.priv.ebreakM) begin
|
||||||
|
#20;
|
||||||
|
$display("Code ended with ebreakM");
|
||||||
|
$stop;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
/* verilator lint_on STMTDLY */
|
/* verilator lint_on STMTDLY */
|
||||||
|
Loading…
Reference in New Issue
Block a user