Skip to content

Commit

Permalink
dma_lasmi/Writer: fix default FIFO depth
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastien Bourdeauducq committed Jul 7, 2013
1 parent fa8112c commit af6ef0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migen/actorlib/dma_lasmi.py
Expand Up @@ -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
Expand Down

0 comments on commit af6ef0a

Please sign in to comment.