diff --git a/litex/soc/cores/gpio.py b/litex/soc/cores/gpio.py index 952834b67..3de711dd5 100644 --- a/litex/soc/cores/gpio.py +++ b/litex/soc/cores/gpio.py @@ -53,12 +53,9 @@ class GPIOTristate(Module, AutoCSR): # # # - _pads = Signal(nbits) - self.comb += _pads.eq(pads) - for i in range(nbits): t = TSTriple() - self.specials += t.get_tristate(_pads[i]) + self.specials += t.get_tristate(pads[i]) self.comb += t.oe.eq(self._oe.storage[i]) self.comb += t.o.eq(self._out.storage[i]) self.specials += MultiReg(t.i, self._in.status[i])