From 07ae9cc2e83f92fc86f677f2c821c5a1fe046172 Mon Sep 17 00:00:00 2001 From: Fischer Moseley <42497969+fischermoseley@users.noreply.github.com> Date: Sun, 31 Dec 2023 20:07:47 -0800 Subject: [PATCH] get playback module from class method --- src/manta/logic_analyzer_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/manta/logic_analyzer_core.py b/src/manta/logic_analyzer_core.py index 5368c49..245b467 100644 --- a/src/manta/logic_analyzer_core.py +++ b/src/manta/logic_analyzer_core.py @@ -484,11 +484,11 @@ class LogicAnalyzerCapture: vcd_file.close() - def export_playback_module(self, path): + def export_playback_module(self): return LogicAnalyzerPlayback(self.data, self.config) def export_playback_verilog(self, path): - lap = LogicAnalyzerPlayback(self.data, self.config) + lap = self.export_playback_module() from amaranth.back import verilog with open(path, "w") as f: