projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d80887
)
lib.io: pass pin to platform.get_tristate().
author
whitequark
<cz@m-labs.hk>
Mon, 14 Jan 2019 21:39:19 +0000
(21:39 +0000)
committer
whitequark
<cz@m-labs.hk>
Mon, 14 Jan 2019 21:39:19 +0000
(21:39 +0000)
nmigen/lib/io.py
patch
|
blob
|
history
diff --git
a/nmigen/lib/io.py
b/nmigen/lib/io.py
index 313c8b753b75d4dc6b3d6975a159667f4e6ff17e..bd7d82356818f7cd859d3ceaadf95148d920421e 100644
(file)
--- 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)