lattice/common: Fix tristate buses with Trellis
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
935f3a5337
commit
ebe8f600e1
|
@ -57,6 +57,7 @@ class LatticeECPXTrellisTristateImpl(Module):
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
for bit in range(nbits):
|
for bit in range(nbits):
|
||||||
|
self.specials += \
|
||||||
Instance("TRELLIS_IO",
|
Instance("TRELLIS_IO",
|
||||||
p_DIR="BIDIR",
|
p_DIR="BIDIR",
|
||||||
i_B=io[bit],
|
i_B=io[bit],
|
||||||
|
|
Loading…
Reference in New Issue