From 4dd8c77575fc1d2a11d582f3afdfb9daeabe42b4 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 d56333c..c78a9d2 100644 --- a/src/manta/logic_analyzer/__init__.py +++ b/src/manta/logic_analyzer/__init__.py @@ -304,8 +304,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