dma_lasmi/Writer: fix default FIFO depth

This commit is contained in:
Sebastien Bourdeauducq 2013-07-07 20:01:55 +02:00
parent fa8112c3f5
commit af6ef0a3b4
1 changed files with 1 additions and 1 deletions

View File

@ -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