From: Jean THOMAS Date: Tue, 16 Jun 2020 14:29:29 +0000 (+0200) Subject: Fix old CSRStatus code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4690f73e4a27125744ab5dfcaba8249cb2085ec;p=gram.git Fix old CSRStatus code --- 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)