From 37031e3a2f814cc27a7d224a9739df1832fd6f3a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 20 Oct 2014 18:09:38 +0200 Subject: [PATCH] DMAWriteController: fix Demultiplexer layout --- migen/actorlib/spi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migen/actorlib/spi.py b/migen/actorlib/spi.py index eff515e6..7146796b 100644 --- a/migen/actorlib/spi.py +++ b/migen/actorlib/spi.py @@ -163,7 +163,7 @@ class DMAWriteController(_DMAController): self.submodules += comp_actor if ack_when_inactive: - demultiplexer = plumbing.Demultiplexer(comp_actor.d.payload.layout, 2) + demultiplexer = plumbing.Demultiplexer([("d", bus_dw)], 2) self.comb +=[ demultiplexer.sel.eq(~adr_buffer.busy), demultiplexer.source0.connect(comp_actor.d), -- 2.30.2