From 44a5b95281252c167e8c0ef2a189d988c0cf696e Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 15 Mar 2016 15:52:57 +0100 Subject: [PATCH] soc/interconnect/stream: set packetized to True by default (we are going to remove this parameter) --- litex/soc/interconnect/stream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/interconnect/stream.py b/litex/soc/interconnect/stream.py index 116c9b1e..3ae860f5 100644 --- a/litex/soc/interconnect/stream.py +++ b/litex/soc/interconnect/stream.py @@ -14,7 +14,7 @@ def _make_m2s(layout): class EndpointDescription: - def __init__(self, payload_layout, param_layout=[], packetized=False): + def __init__(self, payload_layout, param_layout=[], packetized=True): self.payload_layout = payload_layout self.param_layout = param_layout self.packetized = packetized @@ -497,7 +497,7 @@ class Pipeline(Module): if isinstance(m_n, Endpoint): sink = m_n else: - sink = m_n.sink + sink = m_n.sink if m is not m_n: self.comb += source.connect(sink) m = m_n -- 2.30.2