feat(host): DMA channel model with CRC32 integrity (W59, R-HS-9)#832
Open
gHashTag wants to merge 1 commit into
Open
feat(host): DMA channel model with CRC32 integrity (W59, R-HS-9)#832gHashTag wants to merge 1 commit into
gHashTag wants to merge 1 commit into
Conversation
Wave 59 (R-HS-9): DmaChannel<M: Mmio> with embedded CRC32 checksum. DmaConfig builder, DmaError variants, DmaReport, cycle estimation. DMA_CTRL (0x28), DMA_STAT (0x2C) CSR offsets added. 19 new tests, all pass.
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
This was referenced May 24, 2026
This was referenced May 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #831
Wave 59 (R-HS-9): Host DMA channel model with CRC32 integrity
What
bootstrap/src/host/dma.rswithDmaChannel<M: Mmio>DmaConfigbuilder: src/dst addresses, word count, optional CRC32 verificationDmaError: ZeroLength, ExceedsMaxLen, AlreadyBusy, ChecksumMismatchDmaReport: words transferred, CRC32 checksum, state, cycle estimateDMA_CTRL(0x28),DMA_STAT(0x2C); CSR_COUNT 10→12Tests
19 new inline tests, all pass. 841 total tests on this branch (836 master + 5 new from csr_map update... actually 836 + 19 - pre-existing = correct).
Why
Software model of the DMA controller for weight word transfers from host to BRAM. Supports partial transfers, CRC32 integrity verification with trailer word, error states, and per-transfer cycle estimation.