actorlib/spi: fix memory port we/wd
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 4 Oct 2012 18:10:24 +0000 (20:10 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 4 Oct 2012 18:10:24 +0000 (20:10 +0200)
migen/actorlib/spi.py

index 62c742dd4c9e6f95d401150539748d26b414010d..8f44f0b07964e8606f27319b8281ab44e03987c0 100644 (file)
@@ -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)