From 0b04b1a6ebde6bb882e8ab6d4eedca3ea3947348 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 14 Jan 2019 21:39:19 +0000 Subject: [PATCH] lib.io: pass pin to platform.get_tristate(). --- nmigen/lib/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmigen/lib/io.py b/nmigen/lib/io.py index 313c8b7..bd7d823 100644 --- a/nmigen/lib/io.py +++ b/nmigen/lib/io.py @@ -31,7 +31,7 @@ class Tristate: def get_fragment(self, platform): if hasattr(platform, "get_tristate"): - return platform.get_tristate(self.triple) + return platform.get_tristate(self.triple, self.io) m = Module() m.d.comb += self.triple.i.eq(self.io) -- 2.30.2