vendor.lattice_ecp5: correct a typo in tristate buffer generation

This commit is contained in:
Kate Temkin 2019-09-24 00:55:00 -06:00 committed by whitequark
parent f3a8880cb8
commit d14366450b

View file

@ -408,7 +408,7 @@ class LatticeECP5Platform(TemplatedPlatform):
if "o" in pin.dir:
o = pin_o
if pin.dir in ("oe", "io"):
t = ~pin_oe
t = ~pin.oe
elif pin.xdr == 1:
# Note that currently nextpnr will not pack an FF (*FS1P3DX) into the PIO.
if "i" in pin.dir: