interconnect/packet/PacketFIFO: Fix payload_fifo.sink.valid.
Needs to be filtered on param_fifo.sink.ready and not payload_fifo.sink.ready.
This commit is contained in:
parent
c51d22074f
commit
5c5bc82f22
|
@ -386,7 +386,7 @@ class PacketFIFO(LiteXModule):
|
||||||
sink.connect(param_fifo.sink, keep=set([e[0] for e in param_layout])),
|
sink.connect(param_fifo.sink, keep=set([e[0] for e in param_layout])),
|
||||||
sink.connect(payload_fifo.sink, keep=set([e[0] for e in payload_layout] + ["last"])),
|
sink.connect(payload_fifo.sink, keep=set([e[0] for e in payload_layout] + ["last"])),
|
||||||
param_fifo.sink.valid.eq(sink.valid & sink.last),
|
param_fifo.sink.valid.eq(sink.valid & sink.last),
|
||||||
payload_fifo.sink.valid.eq(sink.valid & payload_fifo.sink.ready),
|
payload_fifo.sink.valid.eq(sink.valid & param_fifo.sink.ready),
|
||||||
sink.ready.eq(param_fifo.sink.ready & payload_fifo.sink.ready),
|
sink.ready.eq(param_fifo.sink.ready & payload_fifo.sink.ready),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue