From: Sebastien Bourdeauducq Date: Sun, 11 Dec 2011 19:17:12 +0000 (+0100) Subject: bus: fix CSR interconnect data readback X-Git-Tag: 24jan2021_ls180~2099^2~1145 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16a6029a1bbfe7858cd58798dd3e4e970e05f150;p=litex.git bus: fix CSR interconnect data readback --- diff --git a/migen/bus/csr.py b/migen/bus/csr.py index 667d58b8..c62f4faf 100644 --- a/migen/bus/csr.py +++ b/migen/bus/csr.py @@ -30,5 +30,5 @@ class Interconnect: comb.append(a(slave.we_i, self.master.we_o)) comb.append(a(slave.d_i, self.master.d_o)) rb = rb | slave.d_o - comb.append(a(master.d_i, rb)) + comb.append(a(self.master.d_i, rb)) return f.Fragment(comb)