From 7b32f631deb5a751f5003e7ffff937e502514eb7 Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Thu, 23 Jul 2020 12:27:02 +0200 Subject: [PATCH] Fix burstdet CSR code --- gram/phy/ecp5ddrphy.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) -- 2.30.2