Skip to content

Commit

Permalink
trace: Increase SWO buffer depth to avoid data loss.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyp committed Sep 3, 2024
1 parent 364ad85 commit a77d260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orbtrace/trace/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def __init__(self, platform):
swo_stream_backend_sink = Endpoint([('data', 8)])
swo_stream_backend_source = Endpoint([('data', 8)])
swo_pipeline_backend = [
ClockDomainsRenamer({'write': 'swo', 'read': 'sys'})(AsyncFIFO([('data', 8)], 4)),
ClockDomainsRenamer({'write': 'swo', 'read': 'sys'})(AsyncFIFO([('data', 8)], 16)),
#StreamFlush(7500000),
]
self.submodules += [*swo_pipeline_backend, Pipeline(swo_stream_backend_sink, *swo_pipeline_backend, swo_stream_backend_source)]
Expand Down

0 comments on commit a77d260

Please sign in to comment.