mirror of https://github.com/YosysHQ/picorv32.git
Fixed "make timing" in dhrystone/
This commit is contained in:
parent
fd6e52adb0
commit
323d77ba5d
|
@ -91,8 +91,9 @@ module testbench;
|
||||||
repeat (100000) @(posedge clk);
|
repeat (100000) @(posedge clk);
|
||||||
$finish;
|
$finish;
|
||||||
end
|
end
|
||||||
always @(uut.count_instr[0]) begin
|
always @(posedge clk) begin
|
||||||
$display("## %-s %d", uut.ascii_instr ? uut.ascii_instr : "x", uut.count_cycle);
|
if (uut.decoder_trigger_q && !uut.decoder_pseudo_trigger_q)
|
||||||
|
$display("## %-s %d", uut.dbg_ascii_instr ? uut.dbg_ascii_instr : "x", uut.count_cycle);
|
||||||
end
|
end
|
||||||
`endif
|
`endif
|
||||||
endmodule
|
endmodule
|
||||||
|
|
Loading…
Reference in New Issue