From: Sebastien Bourdeauducq Date: Wed, 3 Jul 2019 02:25:32 +0000 (+0800) Subject: lattice_ecp5: fix get_input X-Git-Tag: locally_working~124 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9a1048af50aa2f7b8b75260832e8849255190253;p=nmigen.git lattice_ecp5: fix get_input --- diff --git a/nmigen/vendor/lattice_ecp5.py b/nmigen/vendor/lattice_ecp5.py index 62a6ed5..f6e2a9c 100644 --- a/nmigen/vendor/lattice_ecp5.py +++ b/nmigen/vendor/lattice_ecp5.py @@ -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],