From fa26dcdcb062e70417e17f4549b09220bc3846b9 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sat, 2 Mar 2019 19:14:06 +0000 Subject: [PATCH] ecp5ddrphy: Shift read position forwards to fix higher frequencies --- litedram/phy/ecp5ddrphy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litedram/phy/ecp5ddrphy.py b/litedram/phy/ecp5ddrphy.py index 5a0c7a9..bc62edf 100644 --- a/litedram/phy/ecp5ddrphy.py +++ b/litedram/phy/ecp5ddrphy.py @@ -499,7 +499,7 @@ class ECP5DDRPHY(Module, AutoCSR): rddata_en = n_rddata_en self.sync += [phase.rddata_valid.eq(rddata_en) 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() last_wrdata_en = Signal(cwl_sys_latency+3) wrphase = self.dfi.phases[self.settings.wrphase]