lattice_ecp5: fix get_input
authorSebastien Bourdeauducq <sb@m-labs.hk>
Wed, 3 Jul 2019 02:25:32 +0000 (10:25 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Wed, 3 Jul 2019 02:25:32 +0000 (10:25 +0800)
nmigen/vendor/lattice_ecp5.py

index 62a6ed57b154039c0b8228a63d85069a1ed57934..f6e2a9c1d0de6c53f69dd82afe9e19ef8695ab82 100644 (file)
@@ -259,7 +259,7 @@ class LatticeECP5Platform(TemplatedPlatform):
         self._check_feature("single-ended input", pin, attrs,
                             valid_xdrs=(0, 1, 2), valid_attrs=True)
         m = Module()
-        t, o, t = self._get_xdr_buffer(m, pin, i_invert=True if invert else None)
+        i, o, t = self._get_xdr_buffer(m, pin, i_invert=True if invert else None)
         for bit in range(len(port)):
             m.submodules += Instance("IB",
                 i_I=port[bit],