fix: add stat en signl def

This commit is contained in:
maksyuki committed 2024-07-26 21:10:05 +08:00
1 parent 9e3d6c0694
commit 9b5c86f0c4
2 files changed
+4 -2

No files matched your search

+2
View File
@@ -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