Skip to content

fix(fpga): implement VCU128 DRAM controller without ECC correction - #272

Merged
creinwar merged 2 commits into
mainfrom
feat/vcu128-no-ecc
May 30, 2026
Merged

fix(fpga): implement VCU128 DRAM controller without ECC correction#272
creinwar merged 2 commits into
mainfrom
feat/vcu128-no-ecc

Conversation

@ricted98

@ricted98 ricted98 commented May 15, 2026

Copy link
Copy Markdown
Contributor

The VCU128 DRAM controller comes natively with ECC protection. The current configuration generates erroneous AXI responses for any read on an uninitialized memory region, which can easily happen with caches implementing a WB policy. The legacy cache simply does not check if a response is erroneous, so the problem is hidden but still present. See: #247.

This PR fixes the issue by avoiding ECC usage on VCU128.

@ricted98
ricted98 requested a review from creinwar May 15, 2026 13:14
@ricted98
ricted98 marked this pull request as ready for review May 15, 2026 13:14
@ricted98
ricted98 requested a review from CyrilKoe May 15, 2026 13:14
@ricted98 ricted98 changed the title Implement VCU128 DRAM without ECC correction fix(fpga): implement VCU128 DRAM without ECC correction May 15, 2026
@ricted98 ricted98 changed the title fix(fpga): implement VCU128 DRAM without ECC correction fix(fpga): implement VCU128 DRAM controller without ECC correction May 15, 2026

@CyrilKoe CyrilKoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally on VCU128 with hpdcache and legacy, works good.

@creinwar creinwar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@creinwar
creinwar merged commit 55650af into main May 30, 2026
18 checks passed
@creinwar
creinwar deleted the feat/vcu128-no-ecc branch May 30, 2026 17:59
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.

3 participants