From a39185ef3291f85aaf2f67c9a75f6cad0a699ae3 Mon Sep 17 00:00:00 2001 From: Kamyar Mohajerani Date: Sun, 9 Jun 2024 01:03:58 -0400 Subject: [PATCH] [remote] fix serializing clocks and remove extra newline --- src/xeda/flow_runner/remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xeda/flow_runner/remote.py b/src/xeda/flow_runner/remote.py index 1e94592..28901f8 100644 --- a/src/xeda/flow_runner/remote.py +++ b/src/xeda/flow_runner/remote.py @@ -47,7 +47,7 @@ def translate_filename(src: DesignSource) -> str: rtl["attributes"] = design.rtl.attributes rtl["parameters"] = design.rtl.parameters rtl["top"] = design.rtl.top - rtl["clocks"] = design.rtl.clocks + rtl["clocks"] = [clk.dict() for clk in design.rtl.clocks] # FIXME add src type/attributes tb["sources"] = [ str(remote_sources_path / translate_filename(src)) for src in design.tb.sources @@ -143,7 +143,7 @@ def cb(self, data): if data is None: log.info("Remote channel closed.") return - print(data) + print(data, end="") class RemoteRunner(FlowLauncher):