From c4690f73e4a27125744ab5dfcaba8249cb2085ec Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 16 Jun 2020 16:29:29 +0200 Subject: [PATCH] Fix old CSRStatus code --- gram/phy/ecp5ddrphy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gram/phy/ecp5ddrphy.py b/gram/phy/ecp5ddrphy.py index e6c62ae..fb54126 100644 --- a/gram/phy/ecp5ddrphy.py +++ b/gram/phy/ecp5ddrphy.py @@ -314,9 +314,9 @@ class ECP5DDRPHY(Peripheral, Elaboratable): burstdet_d = Signal() m.d.sync += burstdet_d.eq(burstdet) with m.If(self._burstdet_clr.w_stb): - m.d.sync += self._burstdet_seen.status[i].eq(0) + m.d.sync += self._burstdet_seen.r_data[i].eq(0) with m.If(burstdet & ~burstdet_d): - m.d.sync += self._burstdet_seen.status[i].eq(1) + m.d.sync += self._burstdet_seen.r_data[i].eq(1) # DQS and DM --------------------------------------------------------------------------- dm_o_data = Signal(8) -- 2.30.2