Skip to content

Commit a77d260

Browse files
committed
trace: Increase SWO buffer depth to avoid data loss.
1 parent 364ad85 commit a77d260

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orbtrace/trace/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def __init__(self, platform):
364364
swo_stream_backend_sink = Endpoint([('data', 8)])
365365
swo_stream_backend_source = Endpoint([('data', 8)])
366366
swo_pipeline_backend = [
367-
ClockDomainsRenamer({'write': 'swo', 'read': 'sys'})(AsyncFIFO([('data', 8)], 4)),
367+
ClockDomainsRenamer({'write': 'swo', 'read': 'sys'})(AsyncFIFO([('data', 8)], 16)),
368368
#StreamFlush(7500000),
369369
]
370370
self.submodules += [*swo_pipeline_backend, Pipeline(swo_stream_backend_sink, *swo_pipeline_backend, swo_stream_backend_source)]

0 commit comments

Comments
 (0)