From: Jean THOMAS Date: Tue, 16 Jun 2020 14:04:27 +0000 (+0200) Subject: Fix pin count error (related to #9) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1708964f6598768979956e9a21f6ea921445f6fc;p=gram.git Fix pin count error (related to #9) --- 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)