From: Sebastien Bourdeauducq Date: Sun, 7 Jul 2013 18:01:55 +0000 (+0200) Subject: dma_lasmi/Writer: fix default FIFO depth X-Git-Tag: 24jan2021_ls180~2099^2~533 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af6ef0a3b4d3f7a627cbaefd2432f68a13928a6a;p=litex.git dma_lasmi/Writer: fix default FIFO depth --- diff --git a/migen/actorlib/dma_lasmi.py b/migen/actorlib/dma_lasmi.py index 4dab3018..5490b8d2 100644 --- a/migen/actorlib/dma_lasmi.py +++ b/migen/actorlib/dma_lasmi.py @@ -72,7 +72,7 @@ class Writer(Module): ### if fifo_depth is None: - fifo_depth = lasmim.req_queue_size + lasmim.read_latency + 2 + fifo_depth = lasmim.req_queue_size + lasmim.write_latency + 2 fifo = SyncFIFO(lasmim.dw, fifo_depth) self.submodules += fifo