From: whitequark Date: Mon, 14 Jan 2019 21:39:19 +0000 (+0000) Subject: lib.io: pass pin to platform.get_tristate(). X-Git-Tag: working~87 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4276f7cf76f762941b433df12db88c0fcae2358;p=nmigen.git lib.io: pass pin to platform.get_tristate(). --- 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)