From 16a6029a1bbfe7858cd58798dd3e4e970e05f150 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 11 Dec 2011 20:17:12 +0100 Subject: [PATCH] bus: fix CSR interconnect data readback --- migen/bus/csr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2