From 36fa3242914ed2da54f59c41c5a7c9f200ed9e7a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 12 Sep 2018 06:44:20 +0200 Subject: [PATCH] core/multiplexer: fix regression (introduced by multirank support) --- litedram/core/multiplexer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litedram/core/multiplexer.py b/litedram/core/multiplexer.py index c3d2a1c..2e8eb68 100644 --- a/litedram/core/multiplexer.py +++ b/litedram/core/multiplexer.py @@ -98,10 +98,10 @@ class _Steerer(Module): rankbits = log2_int(nranks) if hasattr(phase, "reset_n"): self.comb += phase.reset_n.eq(1) - self.comb += phase.cke.eq(2**rankbits - 1) + self.comb += phase.cke.eq(Replicate(Signal(reset=1), nranks)) if hasattr(phase, "odt"): # FIXME: add dynamic drive for multi-rank (will be needed for high frequencies) - self.comb += phase.odt.eq(2**rankbits - 1) + self.comb += phase.odt.eq(Replicate(Signal(reset=1), nranks)) if rankbits: rank_decoder = Decoder(rankbits) self.submodules += rank_decoder