diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index d1e7e82e5..6875b6933 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -57,13 +57,14 @@ class LatticeECPXTrellisTristateImpl(Module): ) else: for bit in range(nbits): - Instance("TRELLIS_IO", - p_DIR="BIDIR", - i_B=io[bit], - i_I=o[bit], - o_O=i[bit], - i_T=~oe, - ) + self.specials += \ + Instance("TRELLIS_IO", + p_DIR="BIDIR", + i_B=io[bit], + i_I=o[bit], + o_O=i[bit], + i_T=~oe, + ) class LatticeECPXTrellisTristate(Module):