lib.io: pass pin to platform.get_tristate().
This commit is contained in:
parent
b534e92dd5
commit
c4276f7cf7
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue