From: Florent Kermarrec Date: Sun, 8 Sep 2013 10:48:35 +0000 (+0200) Subject: lasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion X-Git-Tag: 24jan2021_ls180~2842 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0f0285bb9ab9adf89979c7fc3e2b1d788a2b831;p=litex.git lasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion --- diff --git a/milkymist/lasmicon/multiplexer.py b/milkymist/lasmicon/multiplexer.py index b608aae6..2f023ac7 100644 --- a/milkymist/lasmicon/multiplexer.py +++ b/milkymist/lasmicon/multiplexer.py @@ -162,12 +162,12 @@ class Multiplexer(Module, AutoCSR): if r_w_n == "read": if i == phy_settings.rdphase: s = steerer.sel[i].eq(STEER_REQ) - elif i == phy_settings.wrcmdphase: + elif i == phy_settings.rdcmdphase: s = steerer.sel[i].eq(STEER_CMD) elif r_w_n == "write": if i == phy_settings.wrphase: s = steerer.sel[i].eq(STEER_REQ) - elif i == phy_settings.rdcmdphase: + elif i == phy_settings.wrcmdphase: s = steerer.sel[i].eq(STEER_CMD) else: raise ValueError