From: Florent Kermarrec Date: Tue, 30 Oct 2018 07:32:24 +0000 (+0100) Subject: build/lattice/common: fix LatticeECPXPrjTrellisTristateImpl X-Git-Tag: 24jan2021_ls180~1534 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2243f628f7846bc40f786b570213071784c52dfa;p=litex.git build/lattice/common: fix LatticeECPXPrjTrellisTristateImpl --- diff --git a/litex/build/lattice/common.py b/litex/build/lattice/common.py index 0b5ef703..4e843295 100644 --- a/litex/build/lattice/common.py +++ b/litex/build/lattice/common.py @@ -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):