gram.phy.ecp5ddrphy: Revert to LiteDRAM's dqs_re
authorJean THOMAS <git0@pub.jeanthomas.me>
Thu, 6 Aug 2020 15:28:03 +0000 (17:28 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Thu, 6 Aug 2020 15:28:03 +0000 (17:28 +0200)
gram/phy/ecp5ddrphy.py

index 2c7b631162b3fc2072d20b32d024bbe1b8bb2659..7aac20bd1de9feac366d1b69d9b64e4db589b89e 100644 (file)
@@ -500,7 +500,7 @@ class ECP5DDRPHY(Peripheral, Elaboratable):
         rddata_en_last = Signal.like(rddata_en)
         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.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])
 
         rddata_valid = Signal()
         m.d.sync += rddata_valid.eq(datavalid_prev & ~datavalid)