diff options
author | Ian Moffett <ian@osmora.org> | 2024-08-03 13:29:38 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-08-03 13:29:38 -0400 |
commit | 18d02bc7af5ed29e4c8ff094c9c161fc6f115ec7 (patch) | |
tree | bfdd41102c38fca804bb896ef5caafd61344aa90 /tb/soc/irq/tb_pimc.cpp | |
parent | 7809654477167686e34819b13356393e74f7df67 (diff) |
tb/soc: irq: Pulse IRQ ACK high
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.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tb/soc/irq/tb_pimc.cpp b/tb/soc/irq/tb_pimc.cpp index 8dd0186..4fbc822 100644 --- a/tb/soc/irq/tb_pimc.cpp +++ b/tb/soc/irq/tb_pimc.cpp @@ -21,6 +21,11 @@ int main(int argc, char** argv, char** env) { for (int i = 0; i < MAX_SIM_ITER; ++i) { if (i == 5) { pimc->irq_in = 0b00000000; + pimc->irqack = 1; + } + + if (i == 10) { + pimc->irqack = 0; } pimc->clk ^= 1; |