From 3422ba57deb987c91f839382ca822dcb6e67e772 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 22 Mar 2021 12:50:42 +0000 Subject: [PATCH] SDR pad mask output for DM --- ls180soc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ls180soc.py b/ls180soc.py index 3224f6d..f3c259a 100755 --- a/ls180soc.py +++ b/ls180soc.py @@ -263,8 +263,10 @@ class GENSDRPHY(Module): self.submodules.dq = SDRPad(pads, "dq", d.wrdata, d.wrdata_en, d.rddata) if hasattr(pads, "dm"): + print ("sdr pads dm len", pads.dm, len(pads.dm)) for i in range(len(pads.dm)): - self.specials += SDROutput(i=d.wrdata_mask[i], o=pads.dm[i]) + self.specials += SDROutput(i=d.wrdata_en&d.wrdata_mask[i], + o=pads.dm[i]) # DQ/DM Control Path ---------------------------------------------- rddata_en = Signal(cl + cmd_latency) -- 2.30.2