diff --git a/litex/soc/interconnect/stream.py b/litex/soc/interconnect/stream.py index 1bf81ef13..0c185a197 100644 --- a/litex/soc/interconnect/stream.py +++ b/litex/soc/interconnect/stream.py @@ -106,8 +106,11 @@ class SyncFIFO(_FIFOWrapper): class AsyncFIFO(_FIFOWrapper): - def __init__(self, layout, depth): - _FIFOWrapper.__init__(self, fifo.AsyncFIFO, layout, depth) + def __init__(self, layout, depth, buffered=False): + _FIFOWrapper.__init__( + self, + fifo.AsyncFIFOBuffered if buffered else fifo.AsyncFIFO, + layout, depth) class Multiplexer(Module):