From 9a1048af50aa2f7b8b75260832e8849255190253 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 3 Jul 2019 10:25:32 +0800 Subject: [PATCH] lattice_ecp5: fix get_input --- nmigen/vendor/lattice_ecp5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], -- 2.30.2