From 227b14c3f302f2a79abd59aea196577b3112ac2e Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 30 Jun 2017 19:40:17 +0200 Subject: [PATCH] soc/interconnect/stream: improve reset_less support for streams --- litex/soc/interconnect/stream.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/litex/soc/interconnect/stream.py b/litex/soc/interconnect/stream.py index 63772a209..6797f6dd6 100644 --- a/litex/soc/interconnect/stream.py +++ b/litex/soc/interconnect/stream.py @@ -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]))) + r.append((f[0], _make_m2s(f[1]), reset_less)) return r @@ -32,8 +32,8 @@ class EndpointDescription: full_layout = [ ("valid", 1, DIR_M_TO_S), ("ready", 1, DIR_S_TO_M), - ("first", 1, DIR_M_TO_S), - ("last", 1, DIR_M_TO_S), + ("first", 1, DIR_M_TO_S, True), + ("last", 1, DIR_M_TO_S, True), ("payload", _make_m2s(self.payload_layout, True)), ("param", _make_m2s(self.param_layout, True)) ]