From a55962d3c09c337c306015d9d1f802b13b41711c Mon Sep 17 00:00:00 2001 From: Fischer Moseley <42497969+fischermoseley@users.noreply.github.com> Date: Mon, 19 Jan 2026 11:19:10 -0700 Subject: [PATCH] logic_analyzer: use read_block when dumping sample memory for performance --- src/manta/logic_analyzer/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/manta/logic_analyzer/__init__.py b/src/manta/logic_analyzer/__init__.py index ed1f745..3e5cffa 100644 --- a/src/manta/logic_analyzer/__init__.py +++ b/src/manta/logic_analyzer/__init__.py @@ -312,8 +312,7 @@ class LogicAnalyzerCore(MantaCore): self._fsm.wait_for_capture() print(" -> Reading sample memory contents...") - addrs = list(range(self._sample_depth)) - raw_capture = self._sample_mem.read(addrs) + raw_capture = self._sample_mem.read_block(0, self._sample_depth) # Revolve the memory around the read_pointer, such that all the beginning # of the capture is at the first element