Permalink
Browse files

dma_lasmi/Writer: fix default FIFO depth

  • Loading branch information...
1 parent fa8112c commit af6ef0a3b4d3f7a627cbaefd2432f68a13928a6a @sbourdeauducq sbourdeauducq committed Jul 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 migen/actorlib/dma_lasmi.py
View
2 migen/actorlib/dma_lasmi.py
@@ -72,7 +72,7 @@ def __init__(self, lasmim, fifo_depth=None):
###
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

0 comments on commit af6ef0a

Please sign in to comment.