From 98ea8c702dc796caf015e14878688796b375129f Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 4 Aug 2024 06:52:33 -0400 Subject: tb/soc: pimc: Clear WDATA on cc 18 Signed-off-by: Ian Moffett --- tb/soc/irq/tb_pimc.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tb/soc/irq/tb_pimc.cpp') diff --git a/tb/soc/irq/tb_pimc.cpp b/tb/soc/irq/tb_pimc.cpp index 8786c4f..c4e6e2d 100644 --- a/tb/soc/irq/tb_pimc.cpp +++ b/tb/soc/irq/tb_pimc.cpp @@ -76,6 +76,7 @@ int main(int argc, char** argv, char** env) { pimc->mmio_re = 0; } else if (posedge_cnt == 18) { pimc->mmio_we = 0; + pimc->mmio_wdata = 0; } /* Pulse IRQ line 0 high some cycles */ -- cgit v1.2.3