From: Florent Kermarrec Date: Mon, 20 Oct 2014 16:09:38 +0000 (+0200) Subject: DMAWriteController: fix Demultiplexer layout X-Git-Tag: 24jan2021_ls180~2099^2~282 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=37031e3a2f814cc27a7d224a9739df1832fd6f3a;p=litex.git DMAWriteController: fix Demultiplexer layout --- 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),