From: Jean THOMAS Date: Thu, 6 Aug 2020 15:22:49 +0000 (+0200) Subject: gram.core.multiplexer: Fix regression introduced in 7d8339c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e42e3efde7ab6c329e2f1f7f2f42a5f8f64e418;p=gram.git gram.core.multiplexer: Fix regression introduced in 7d8339c --- diff --git a/gram/core/multiplexer.py b/gram/core/multiplexer.py index 3a01278..4efdd17 100644 --- a/gram/core/multiplexer.py +++ b/gram/core/multiplexer.py @@ -367,6 +367,8 @@ class Multiplexer(Elaboratable): m.d.comb += steerer.sel[i].eq(STEER_REQ) elif i == settings.phy.rdcmdphase: m.d.comb += steerer.sel[i].eq(STEER_CMD) + else: + m.d.comb += steerer.sel[i].eq(STEER_NOP) with m.If(settings.phy.nphases == 1): m.d.comb += choose_req.cmd.ready.eq(cas_allowed & (~choose_req.activate() | ras_allowed)) @@ -396,6 +398,8 @@ class Multiplexer(Elaboratable): m.d.comb += steerer.sel[i].eq(STEER_REQ) elif i == settings.phy.wrcmdphase: m.d.comb += steerer.sel[i].eq(STEER_CMD) + else: + m.d.comb += steerer.sel[i].eq(STEER_NOP) with m.If(settings.phy.nphases == 1): m.d.comb += choose_req.cmd.ready.eq(cas_allowed & (~choose_req.activate() | ras_allowed))