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-Tag: v0.1rc1~56 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d14366450b8fe56d77b920c3624fd4dc797ceb69;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: