From a0f0285bb9ab9adf89979c7fc3e2b1d788a2b831 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 8 Sep 2013 12:48:35 +0200 Subject: [PATCH] lasmicon/multiplexer: fix rdcmdphase/wrcmdphase inversion --- milkymist/lasmicon/multiplexer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2