Document IRQ_STAT write-one-to-clear semantics #43
- breakspec/axon-fpga
- docs/irq-stat into main
- by Christine Vong
Breakspec posts these findings as comments on the pull request on GitHub. This page keeps the history of each review.
Reviewed on commit 1169ac5, Nov 11, 17:21 UTC
docs/axon_dma_spec.md+4 −0
| @@ -17,6 +17,10 @@ Every signal crossing between the two domains must go through `cdc_sync2`, | |||
| 17 | 17 | `rtl/axon_regs_pkg.sv` is the source of truth. `fw/include/axon_regs.h` must | |
| 18 | 18 | match it bit for bit. | |
| 19 | 19 | ||
| 20 | + | `IRQ_STAT` is write-one-to-clear: writing 1 to bit 0 clears the pending DONE | |
| 21 | + | interrupt; writing 0 has no effect. Firmware must clear it before starting the | |
| 22 | + | next transfer or the interrupt line stays asserted. | |
| 23 | + | ||
| 20 | 24 | ## 3. Descriptor and buffering | |
| 21 | 25 | ### 3.1 Descriptor | |
| 22 | 26 | `axon_desc_pkg::dma_desc_t`, fetched as little-endian 32-bit words; the least |