From 7a1a781f49f311e5275706db8877a41ce4240e22 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 15 Oct 2012 21:21:42 +0200 Subject: [PATCH] actorlib/spi: typo --- 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 f5906e06..b127b957 100644 --- a/migen/actorlib/spi.py +++ b/migen/actorlib/spi.py @@ -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) -- 2.30.2