-
Notifications
You must be signed in to change notification settings - Fork 16
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
sdram can miss command transitions #10
Comments
This addresses issue pmezydlo#10, where commands would be lost if they occured during the refresh cycle, by adding an explicit ACK output that indicates that the controller has started on the read or write. It still fails the sdram-test, but actually seems to be almost working.
I changed However, on a larger random read/write test it fails quite often. On a linear write and read back about 1.3% errors. On a random read/write there are around 99% errors, although the test followsup with re-reading the same address the error rate is around 0.7%. |
Now we are using litedram + serv for sdram, it passed the litex mem test. regards, |
It looks like the
sdram_controller
can miss read/write commands if they occur when a refresh is happening. It checks for edges on the enable pins only ifstate == IDLE
:but the
rd_enable_prev
andwr_enable_prev
are updated on every clock cycle:The text was updated successfully, but these errors were encountered: