From 1708964f6598768979956e9a21f6ea921445f6fc Mon Sep 17 00:00:00 2001 From: Jean THOMAS Date: Tue, 16 Jun 2020 16:04:27 +0200 Subject: [PATCH] Fix pin count error (related to #9) --- gram/phy/ecp5ddrphy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gram/phy/ecp5ddrphy.py b/gram/phy/ecp5ddrphy.py index 289c001..6d26f23 100644 --- a/gram/phy/ecp5ddrphy.py +++ b/gram/phy/ecp5ddrphy.py @@ -159,7 +159,7 @@ class ECP5DDRPHY(Peripheral, Elaboratable): tck = 2/(2*2*self._sys_clk_freq) nphases = 2 - databits = len(self.pads.dq.oe) + databits = len(self.pads.dq.o) nranks = 1 if not hasattr(self.pads, "cs_n") else len(self.pads.cs_n) addressbits = len(self.pads.a.o) bankbits = len(self.pads.ba.o) -- 2.30.2