diff options
author | Ian Moffett <ian@osmora.org> | 2024-08-04 06:52:33 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-08-04 06:52:33 -0400 |
commit | 98ea8c702dc796caf015e14878688796b375129f (patch) | |
tree | 111972280ab90089a5a64a424e628b64cc4b678a | |
parent | ab9d628838e7cd88c31a3b21f900769e909550d9 (diff) |
tb/soc: pimc: Clear WDATA on cc 18
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | tb/soc/irq/tb_pimc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |