mirror of
https://github.com/retroSoC/timer.git
synced 2026-11-04 22:32:38 +00:00
fix: add stat en signl def
This commit is contained in:
2 files changed
+4
-2
No files matched your search
@@ -110,6 +110,8 @@ task automatic TMRTest::test_irq(input bit [31:0] run_times = 1000);
|
||||
|
||||
for (int i = 0; i < 10; i++) begin
|
||||
// wait (this.tmr.irq_o);
|
||||
this.read(`TMR_PSCR_ADDR);
|
||||
$display("PSCR: %d", super.rd_data);
|
||||
do begin
|
||||
this.read(`TMR_STAT_ADDR);
|
||||
if(super.rd_data == 32'd1) begin
|
||||
|
||||
Reference in new issue
Block a user