mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
core/refresher: fix refresh regression
This commit is contained in:
parent
83f763f7b8
commit
8993e8b798
1 changed files with 8 additions and 7 deletions
|
@ -15,6 +15,13 @@ class RefreshGenerator(Module):
|
|||
|
||||
# # #
|
||||
|
||||
self.sync += [
|
||||
cmd.a.eq(2**10),
|
||||
cmd.ba.eq(0),
|
||||
cmd.cas.eq(0),
|
||||
cmd.ras.eq(0),
|
||||
cmd.we.eq(0),
|
||||
]
|
||||
self.sync += [
|
||||
self.done.eq(0),
|
||||
# Wait start
|
||||
|
@ -35,13 +42,7 @@ class RefreshGenerator(Module):
|
|||
])
|
||||
])
|
||||
]
|
||||
self.sync += [
|
||||
cmd.a.eq(2**10),
|
||||
cmd.ba.eq(0),
|
||||
cmd.cas.eq(0),
|
||||
cmd.ras.eq(0),
|
||||
cmd.we.eq(0),
|
||||
]
|
||||
|
||||
|
||||
|
||||
class RefreshTimer(Module):
|
||||
|
|
Loading…
Reference in a new issue