lasmicon: drive ODT and RESET_N

This commit is contained in:
Sebastien Bourdeauducq 2014-08-08 21:55:34 +08:00
parent 0550cbb3ce
commit 1322c0484b

View file

@ -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]),