Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDIMM flag on DDR5 devices #192

Open
biecho opened this issue Nov 21, 2024 · 1 comment
Open

RDIMM flag on DDR5 devices #192

biecho opened this issue Nov 21, 2024 · 1 comment

Comments

@biecho
Copy link

biecho commented Nov 21, 2024

When building the bitstream for an RDIMM DDR5 device, I noticed that the generated litedram_settings.json file includes the following entry:

"is_rdimm": false

This seems to impact the training of the device. Is this behavior a bug? Should we manually set this value when using the build scripts?

@mtdudek
Copy link
Contributor

mtdudek commented Nov 21, 2024

Thanks for opening this issue.
I've checked Rowhammer code with its dependencies.
It turns out that this is_rdimm field is never used in the code base.
I'll remove this field from the litedram_settings.json.

As for training code in the third_party/litex/litex/soc/software/liblitedram/ddr5_training.c.
It does have an is_rdimm variable, but it's being set by read_module_type function, which reads DIMMs SPD memory to check for attached memory type.

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

No branches or pull requests

2 participants