build/lattice/common: fix LatticeECPXPrjTrellisTristateImpl

This commit is contained in:
Florent Kermarrec 2018-10-30 08:32:24 +01:00
parent 3a8bb94ab4
commit 2243f628f7
1 changed files with 3 additions and 2 deletions

View File

@ -49,9 +49,10 @@ class LatticeECPXPrjTrellisTristateImpl(Module):
self.specials += \
Instance("TRELLIS_IO",
p_DIR="BIDIR",
i_B=~io[bit],
i_B=io[bit],
i_I=o[bit],
o_O=i[bit]
o_O=i[bit],
i_T=~oe,
)
class LatticeECPXPrjTrellisTristate(Module):