summaryrefslogtreecommitdiff
path: root/tb/soc/irq/tb_pimc.cpp
diff options
context:
space:
mode:
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 */