From 24877f271bdec534e8c213d2b4738f47bc0f20a2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 4 Oct 2012 20:10:24 +0200 Subject: [PATCH] actorlib/spi: fix memory port we/wd --- 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 62c742dd4..8f44f0b07 100644 --- a/migen/actorlib/spi.py +++ b/migen/actorlib/spi.py @@ -24,7 +24,7 @@ class Collector(Actor): dummy = Signal(BV(self._dw)) wd = Signal(BV(self._dw)) we = Signal() - wp = MemoryPort(wa, dummy, wd, we) + wp = MemoryPort(wa, dummy, we, wd) ra = Signal(BV(bits_for(self._depth-1))) rd = Signal(BV(self._dw)) rp = MemoryPort(ra, rd)