soc/interconnect/stream: fix make_m2s for reset_less
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 24 Jul 2017 16:18:35 +0000 (18:18 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 24 Jul 2017 16:18:35 +0000 (18:18 +0200)
litex/soc/interconnect/stream.py

index 6797f6dd672fe7b3e713b4bd0b8745366f4fc2af..4d8f89dd1351886f4f84dd8f67fce448f2e9c733 100644 (file)
@@ -10,7 +10,7 @@ def _make_m2s(layout, reset_less=False):
         if isinstance(f[1], (int, tuple)):
             r.append((f[0], f[1], DIR_M_TO_S, reset_less))
         else:
-            r.append((f[0], _make_m2s(f[1]), reset_less))
+            r.append((f[0], _make_m2s(f[1], reset_less)))
     return r