summaryrefslogtreecommitdiff
path: root/tb/soc/irq/tb_pimc.cpp
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-08-04 06:52:33 -0400
committerIan Moffett <ian@osmora.org>2024-08-04 06:52:33 -0400
commit98ea8c702dc796caf015e14878688796b375129f (patch)
tree111972280ab90089a5a64a424e628b64cc4b678a /tb/soc/irq/tb_pimc.cpp
parentab9d628838e7cd88c31a3b21f900769e909550d9 (diff)
tb/soc: pimc: Clear WDATA on cc 18
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'tb/soc/irq/tb_pimc.cpp')
-rw-r--r--tb/soc/irq/tb_pimc.cpp1
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 */