From c0bc442d43d7ff8a908ec3b0ac38acb59c466fcf Mon Sep 17 00:00:00 2001 From: Kate Temkin Date: Tue, 24 Sep 2019 00:55:00 -0600 Subject: [PATCH] vendor.lattice_ecp5: correct a typo in tristate buffer generation --- nmigen/vendor/lattice_ecp5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2