From 2243f628f7846bc40f786b570213071784c52dfa Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 30 Oct 2018 08:32:24 +0100 Subject: [PATCH] build/lattice/common: fix LatticeECPXPrjTrellisTristateImpl --- litex/build/lattice/common.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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): -- 2.30.2