soc/interconnect/stream: fix missing param
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 16 Mar 2016 15:21:32 +0000 (16:21 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 16 Mar 2016 15:21:32 +0000 (16:21 +0100)
litex/soc/interconnect/stream.py

index 87e079c28d8f93c73e80b61695db25a7947e848f..d69e5a664a8f83d216ca3daec5a30bd1fee6f3e9 100644 (file)
@@ -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)
         ]