From af6ef0a3b4d3f7a627cbaefd2432f68a13928a6a Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 7 Jul 2013 20:01:55 +0200 Subject: [PATCH] dma_lasmi/Writer: fix default FIFO depth --- migen/actorlib/dma_lasmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2