Skip to content

Making the DCMAC example use the DCMAC IPs#87

Draft
JOOpdenhoevel wants to merge 3 commits into
devfrom
exploration/dcmac_in_host_code
Draft

Making the DCMAC example use the DCMAC IPs#87
JOOpdenhoevel wants to merge 3 commits into
devfrom
exploration/dcmac_in_host_code

Conversation

@JOOpdenhoevel
Copy link
Copy Markdown
Collaborator

The networking capabilities of the DCMAC cores in the service layer don't work currently, or at least they aren't used correctly. This draft PR explores what would be needed to make them work and what is needed to integrate them into the toolchain. At this point, this is just an exploration, the final implementation should look different and should be better integrated in VRT.

One thing that is missing on the software side is the setup and alignment of the DCMAC cores. The prototype driver in linker/slashkit/resources/dcmac/driver/ does this correctly by manually accessing the service layer (BAR 2) and reading and writing to its registers. VRT does not have this functionality, but VRTD allows you to access any BAR, and gives you a relatively nice API around it. I've therefore let Claude Code transfer this setup and alignment procedure to the DCMAC example app using the VRTD API. It appears to work correctly, but I haven't thoroughly verified it yet.

However, the traffic producers and consumers in the user region appear to not be wired correctly, and the last refactor of slashkit's linking procedure apparently broke the service layer rebuild. If you therefore try to run the traffic producer and consumer kernels, the entire design blocks up. The next step would therefore be to fix the linker and wire the traffic producers and consumers up correctly.

@mariodruiz
Copy link
Copy Markdown
Collaborator

@JOOpdenhoevel, can you split this PR into two?
Let's keep this one focused on the host code.
Migrate the hardware build related changes to a different branch. Is this OK?

@JOOpdenhoevel JOOpdenhoevel changed the base branch from dev to dev_v1.0.0 May 27, 2026 14:18
Signed-off-by: Jan-Oliver Opdenhövel <Jan-Oliver.Opdenhovel@amd.com>
Signed-off-by: Jan-Oliver Opdenhövel <Jan-Oliver.Opdenhovel@amd.com>
Signed-off-by: Jan-Oliver Opdenhövel <Jan-Oliver.Opdenhovel@amd.com>
@JOOpdenhoevel JOOpdenhoevel force-pushed the exploration/dcmac_in_host_code branch from b8bc267 to 8b3b0b4 Compare May 27, 2026 14:41
@JOOpdenhoevel JOOpdenhoevel changed the base branch from dev_v1.0.0 to dev May 27, 2026 14:41
@JOOpdenhoevel
Copy link
Copy Markdown
Collaborator Author

I've put the changes to the linker into #100. Once it is merged, the linker changes should disappear from this PR.

Note that I had to rebase and force-push this branch since we have swapped the dev branch. The old dev branch is now called dev-v1.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants