Skip to content

Litedram no longer works on Genesys2 (and possibly NexysVideo and Nexys4DDR) #363

@shingarov

Description

@shingarov

Commits 07f2edc / 780d6c7 port microwatt across an incompatible API change in litedram. Unfortunately, newer litedram no longer works on Genesys2 (and possibly on NexysVideo and Nexys4DDR, as @fontamsoc reports in enjoy-digital/litedram#297 (comment) ).

As a temporary workaround, branch
https://github.com/shingarov/microwatt/tree/fix-dram
reverts to using the old API, so that one can use all the progress that happened in microwatt since August 2020 (when I last regenerated litedram for the newly-introduced Genesys2 port of microwatt), and still have memtest pass.

I am not sure what we should do about this, and the present Issue is more of a FYI about writing down what I observed and did to work around it for the time being, than a call to any particular action. I'll also note that I have built today's tip of litex's master with the default vex cpu and it passes memtest. So perhaps the problem is that there is more to migrating to the new API than changing a function name to sdram_init(). More investigation is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions