mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
lasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion
This commit is contained in:
parent
d0edb7e2b8
commit
a0f0285bb9
1 changed files with 2 additions and 2 deletions
|
@ -162,12 +162,12 @@ class Multiplexer(Module, AutoCSR):
|
||||||
if r_w_n == "read":
|
if r_w_n == "read":
|
||||||
if i == phy_settings.rdphase:
|
if i == phy_settings.rdphase:
|
||||||
s = steerer.sel[i].eq(STEER_REQ)
|
s = steerer.sel[i].eq(STEER_REQ)
|
||||||
elif i == phy_settings.wrcmdphase:
|
elif i == phy_settings.rdcmdphase:
|
||||||
s = steerer.sel[i].eq(STEER_CMD)
|
s = steerer.sel[i].eq(STEER_CMD)
|
||||||
elif r_w_n == "write":
|
elif r_w_n == "write":
|
||||||
if i == phy_settings.wrphase:
|
if i == phy_settings.wrphase:
|
||||||
s = steerer.sel[i].eq(STEER_REQ)
|
s = steerer.sel[i].eq(STEER_REQ)
|
||||||
elif i == phy_settings.rdcmdphase:
|
elif i == phy_settings.wrcmdphase:
|
||||||
s = steerer.sel[i].eq(STEER_CMD)
|
s = steerer.sel[i].eq(STEER_CMD)
|
||||||
else:
|
else:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
|
|
Loading…
Reference in a new issue