From: Florent Kermarrec Date: Wed, 16 Mar 2016 15:21:32 +0000 (+0100) Subject: soc/interconnect/stream: fix missing param X-Git-Tag: 24jan2021_ls180~1996 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c272c1f6f2bd8cc42751d4103665138207a57da;p=litex.git soc/interconnect/stream: fix missing param --- diff --git a/litex/soc/interconnect/stream.py b/litex/soc/interconnect/stream.py index 87e079c2..d69e5a66 100644 --- a/litex/soc/interconnect/stream.py +++ b/litex/soc/interconnect/stream.py @@ -70,6 +70,7 @@ class _FIFOWrapper(Module): description = self.sink.description fifo_layout = [("payload", description.payload_layout), + ("param", description.param_layout), ("eop", 1)] self.submodules.fifo = fifo_class(layout_len(fifo_layout), depth) @@ -85,10 +86,12 @@ class _FIFOWrapper(Module): self.fifo.we.eq(self.sink.stb), fifo_in.eop.eq(self.sink.eop), fifo_in.payload.eq(self.sink.payload), + fifo_in.param.eq(self.sink.param), self.source.stb.eq(self.fifo.readable), self.source.eop.eq(fifo_out.eop), self.source.payload.eq(fifo_out.payload), + self.source.param.eq(fifo_out.param), self.fifo.re.eq(self.source.ack) ]