projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0550cbb
)
lasmicon: drive ODT and RESET_N
author
Sebastien Bourdeauducq
<sb@m-labs.hk>
Fri, 8 Aug 2014 13:55:34 +0000
(21:55 +0800)
committer
Sebastien Bourdeauducq
<sb@m-labs.hk>
Fri, 8 Aug 2014 13:55:34 +0000
(21:55 +0800)
misoclib/lasmicon/multiplexer.py
patch
|
blob
|
history
diff --git
a/misoclib/lasmicon/multiplexer.py
b/misoclib/lasmicon/multiplexer.py
index 2ca99c1e4786bfbb8e67e70e90757f04045fac42..525f22df3c6f485bd016a61b234b2f6401e4f580 100644
(file)
--- a/
misoclib/lasmicon/multiplexer.py
+++ b/
misoclib/lasmicon/multiplexer.py
@@
-74,6
+74,10
@@
class _Steerer(Module):
phase.cke.eq(1),
phase.cs_n.eq(0)
]
+ if hasattr(phase, "odt"):
+ self.comb += phase.odt.eq(1)
+ if hasattr(phase, "reset_n"):
+ self.comb += phase.reset_n.eq(0)
self.sync += [
phase.address.eq(Array(cmd.a for cmd in commands)[sel]),
phase.bank.eq(Array(cmd.ba for cmd in commands)[sel]),