core/refresher: fix refresh regression

This commit is contained in:
Florent Kermarrec 2018-12-17 15:31:27 +01:00
parent 83f763f7b8
commit 8993e8b798

View file

@ -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.sync += [
self.done.eq(0), self.done.eq(0),
# Wait start # 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): class RefreshTimer(Module):