ecp5ddrphy: Shift read position forwards to fix higher frequencies

This commit is contained in:
David Shah 2019-03-02 19:14:06 +00:00
parent 6715c1bd45
commit fa26dcdcb0
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ class ECP5DDRPHY(Module, AutoCSR):
rddata_en = n_rddata_en rddata_en = n_rddata_en
self.sync += [phase.rddata_valid.eq(rddata_en) self.sync += [phase.rddata_valid.eq(rddata_en)
for phase in self.dfi.phases] for phase in self.dfi.phases]
self.comb += dqs_read.eq(rddata_ens[cl_sys_latency] | rddata_ens[cl_sys_latency+1]) self.comb += dqs_read.eq(rddata_ens[cl_sys_latency+1] | rddata_ens[cl_sys_latency+2])
oe = Signal() oe = Signal()
last_wrdata_en = Signal(cwl_sys_latency+3) last_wrdata_en = Signal(cwl_sys_latency+3)
wrphase = self.dfi.phases[self.settings.wrphase] wrphase = self.dfi.phases[self.settings.wrphase]