soc/interconnect/stream: set packetized to True by default (we are going to remove this parameter)

This commit is contained in:
Florent Kermarrec 2016-03-15 15:52:57 +01:00
parent a016ededa0
commit 44a5b95281
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ def _make_m2s(layout):
class EndpointDescription: 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.payload_layout = payload_layout
self.param_layout = param_layout self.param_layout = param_layout
self.packetized = packetized self.packetized = packetized
@ -497,7 +497,7 @@ class Pipeline(Module):
if isinstance(m_n, Endpoint): if isinstance(m_n, Endpoint):
sink = m_n sink = m_n
else: else:
sink = m_n.sink sink = m_n.sink
if m is not m_n: if m is not m_n:
self.comb += source.connect(sink) self.comb += source.connect(sink)
m = m_n m = m_n