From aa3b89255d7d0bcd4eca59e0a7e7ee0a1d8e0749 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 6 Aug 2020 17:28:03 +0200 Subject: [PATCH] gram.phy.ecp5ddrphy: Revert to LiteDRAM's dqs_re --- gram/phy/ecp5ddrphy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gram/phy/ecp5ddrphy.py b/gram/phy/ecp5ddrphy.py index 2c7b631..7aac20b 100644 --- a/gram/phy/ecp5ddrphy.py +++ b/gram/phy/ecp5ddrphy.py @@ -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) -- 2.30.2