From: Jean THOMAS Date: Thu, 23 Jul 2020 10:27:02 +0000 (+0200) Subject: Fix burstdet CSR code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b32f631deb5a751f5003e7ffff937e502514eb7;p=gram.git Fix burstdet CSR code --- diff --git a/gram/phy/ecp5ddrphy.py b/gram/phy/ecp5ddrphy.py index 592c15d..c89d418 100644 --- a/gram/phy/ecp5ddrphy.py +++ b/gram/phy/ecp5ddrphy.py @@ -286,10 +286,8 @@ class ECP5DDRPHY(Peripheral, Elaboratable): o_DQSW270=dqsw270, o_DQSW=dqsw) - burstdet_d = Signal() - m.d.sync += burstdet_d.eq(burstdet) - #with m.If(burstdet): - #m.d.sync += burstdet_reg[i].eq(1) + with m.If(burstdet): + m.d.sync += burstdet_reg[i].eq(1) # DQS and DM --------------------------------------------------------------------------- dm_o_data = Signal(8)