actorlib/spi: typo
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 15 Oct 2012 19:21:42 +0000 (21:21 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Mon, 15 Oct 2012 19:21:42 +0000 (21:21 +0200)
migen/actorlib/spi.py

index f5906e0618f959931ecb19e9ecbebb24ea40c7c2..b127b957fdbecba588e5e6e3d816d4f7481cb928 100644 (file)
@@ -86,7 +86,7 @@ class Collector(Actor):
                self._dw = sum(len(s) for s in self.token("sink").flatten())
                
                self._reg_wa = RegisterField("write_address", bits_for(self._depth-1), access_bus=READ_WRITE, access_dev=READ_WRITE)
-               self._reg_wc = RegisterField("write_count", bits_for(self._depth), access_bus=READ_WRITE, access_dev=READ_WRITE, atomic_update=True)
+               self._reg_wc = RegisterField("write_count", bits_for(self._depth), access_bus=READ_WRITE, access_dev=READ_WRITE, atomic_write=True)
                self._reg_ra = RegisterField("read_address", bits_for(self._depth-1), access_bus=READ_WRITE, access_dev=READ_ONLY)
                self._reg_rd = RegisterField("read_data", self._dw, access_bus=READ_ONLY, access_dev=WRITE_ONLY)