Revert to dqs_re from LiteDRAM
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 3 Aug 2020 11:46:34 +0000 (13:46 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 3 Aug 2020 11:46:34 +0000 (13:46 +0200)
gram/phy/ecp5ddrphy.py

index 20cd9e45e201bc2466d9ce297cac9cb85f1bc088..b77f3dcabe22d09f211ca3fdc5396f83c665159d 100644 (file)
@@ -448,7 +448,7 @@ class ECP5DDRPHY(Peripheral, Elaboratable):
         m.d.comb += rddata_en.eq(Cat(dfi.phases[self.settings.rdphase].rddata_en, rddata_en_last))
         m.d.sync += rddata_en_last.eq(rddata_en)
         m.d.sync += [phase.rddata_valid.eq(rddata_en[-1]) for phase in dfi.phases]
-        m.d.comb += dqs_re.eq(rddata_en[cl_sys_latency + 0] | rddata_en[cl_sys_latency + 1] | rddata_en[cl_sys_latency + 2])
+        m.d.comb += dqs_re.eq(rddata_en[cl_sys_latency + 1] | rddata_en[cl_sys_latency + 2])
 
         # Write Control Path -----------------------------------------------------------------------
         # Creates a shift register of write commands coming from the DFI interface. This shift register