vendor.lattice_ecp5: correct a typo in tristate buffer generation
authorKate Temkin <k@ktemkin.com>
Tue, 24 Sep 2019 06:55:00 +0000 (00:55 -0600)
committerwhitequark <cz@m-labs.hk>
Tue, 24 Sep 2019 11:53:38 +0000 (11:53 +0000)
nmigen/vendor/lattice_ecp5.py

index 89143ab049796e1726e488a07cbb4bf9e94444a4..e46f30fa48793e3dbf383c74f37ce9b7684a31cc 100644 (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: