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

Tang Primer DDR on Litex #6

Open
cicamargoba opened this issue Jul 21, 2023 · 4 comments
Open

Tang Primer DDR on Litex #6

cicamargoba opened this issue Jul 21, 2023 · 4 comments

Comments

@cicamargoba
Copy link

I'm trying to use DDR on Litex, but it fails on Memory test.
Anynone can solve this error?

@liangyongxiang
Copy link

Me too
image

@Icenowy
Copy link

Icenowy commented Jul 29, 2023

Sorry but I am too bored of debugging the DDR controller...

LiteX is a community project and help wanted.

@mlapaj
Copy link

mlapaj commented Jan 9, 2024

Hi,
I'm not sure which DDR Controller it uses. If Gowin one, then little hint from me:
I've played little bit with Gowin DDR Controller IP with latest Gowin EDA Beta 4 release... and it basically fails if Freq is higher than 100 or 200 MHz (it was couple of weeks ago, not sure now). Tried with 400 MHz and I was getting DDR initialisation failures. After switching back to previous Gowin EDA (And also GOWIN IP infrastructure), I'm able to test DDR at 400 MHz without any issues.

I`m totally not familiar with LiteX,

@Bestoa
Copy link
Contributor

Bestoa commented Oct 5, 2024

Hi, I'm not sure which DDR Controller it uses. If Gowin one, then little hint from me: I've played little bit with Gowin DDR Controller IP with latest Gowin EDA Beta 4 release... and it basically fails if Freq is higher than 100 or 200 MHz (it was couple of weeks ago, not sure now). Tried with 400 MHz and I was getting DDR initialisation failures. After switching back to previous Gowin EDA (And also GOWIN IP infrastructure), I'm able to test DDR at 400 MHz without any issues.

I`m totally not familiar with LiteX,

Gowin new version(5.5) DDR3 MC IP will cost more resources(about 2X) with 1:4 clk ratio and can only run at DDR-600(DDR clock 300MHz, user clock 75MHz), but the old version(4.1, you can get this version from non-EDU version EDA) with 1:4 clk ratio can run at DDR-800(even DDR 1000...).

Litex doesn't use the Gowin's impl and the ddr3 issue has been fixed already. You can try it: #9

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

5 participants