mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
lasmicon: drive ODT and RESET_N
This commit is contained in:
parent
0550cbb3ce
commit
1322c0484b
1 changed files with 4 additions and 0 deletions
|
@ -74,6 +74,10 @@ class _Steerer(Module):
|
||||||
phase.cke.eq(1),
|
phase.cke.eq(1),
|
||||||
phase.cs_n.eq(0)
|
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 += [
|
self.sync += [
|
||||||
phase.address.eq(Array(cmd.a for cmd in commands)[sel]),
|
phase.address.eq(Array(cmd.a for cmd in commands)[sel]),
|
||||||
phase.bank.eq(Array(cmd.ba for cmd in commands)[sel]),
|
phase.bank.eq(Array(cmd.ba for cmd in commands)[sel]),
|
||||||
|
|
Loading…
Reference in a new issue