interconnect/packet/PacketFIFO: +1 on param_depth to allow dequeuing current while equeuing next.
This commit is contained in:
parent
625261c693
commit
edd98c23cb
|
@ -379,6 +379,7 @@ class PacketFIFO(Module):
|
||||||
# Create the FIFOs.
|
# Create the FIFOs.
|
||||||
payload_description = stream.EndpointDescription(payload_layout=payload_layout)
|
payload_description = stream.EndpointDescription(payload_layout=payload_layout)
|
||||||
param_description = stream.EndpointDescription(param_layout=param_layout)
|
param_description = stream.EndpointDescription(param_layout=param_layout)
|
||||||
|
param_depth = param_depth + 1 # +1 to allow dequeuing current while enqueuing next.
|
||||||
self.submodules.payload_fifo = payload_fifo = stream.SyncFIFO(payload_description, payload_depth, buffered)
|
self.submodules.payload_fifo = payload_fifo = stream.SyncFIFO(payload_description, payload_depth, buffered)
|
||||||
self.submodules.param_fifo = param_fifo = stream.SyncFIFO(param_description, param_depth, buffered)
|
self.submodules.param_fifo = param_fifo = stream.SyncFIFO(param_description, param_depth, buffered)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue