Enable interrupts, print out current rtc tick

This commit is contained in:
Byron Lathi
2023-11-20 20:02:31 -08:00
parent 531bb4cf13
commit 323519edbd
3 changed files with 19 additions and 1 deletions

View File

@@ -20,4 +20,8 @@ always begin
# 1;
end
always @(u_sim_top.u_dut.u_rtc.r_output) begin
$display("counter: %d", u_sim_top.u_dut.u_rtc.r_output);
end
endmodule