From: Kate Temkin Date: Tue, 24 Sep 2019 06:55:00 +0000 (-0600) Subject: vendor.lattice_ecp5: correct a typo in tristate buffer generation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0bc442d43d7ff8a908ec3b0ac38acb59c466fcf;p=nmigen.git vendor.lattice_ecp5: correct a typo in tristate buffer generation --- diff --git a/nmigen/vendor/lattice_ecp5.py b/nmigen/vendor/lattice_ecp5.py index 89143ab..e46f30f 100644 --- a/nmigen/vendor/lattice_ecp5.py +++ b/nmigen/vendor/lattice_ecp5.py @@ -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: