diff --git a/migen/actorlib/fifo.py b/migen/actorlib/fifo.py index 817941c77..78be8200a 100644 --- a/migen/actorlib/fifo.py +++ b/migen/actorlib/fifo.py @@ -14,7 +14,7 @@ class _FIFOActor(Module): self.comb += [ self.sink.ack.eq(self.fifo.writable), - self.fifo.we.eq(self.sink.stb & self.sink.ack), + self.fifo.we.eq(self.sink.stb), self.fifo.din.eq(self.sink.payload), self.source.stb.eq(self.fifo.readable), @@ -22,7 +22,6 @@ class _FIFOActor(Module): self.fifo.re.eq(self.source.ack) ] - class SyncFIFO(_FIFOActor): def __init__(self, layout, depth): _FIFOActor.__init__(self, fifo.SyncFIFO, layout, depth)