From f8884d4db52d544a0e1af381bd95373a3d17f480 Mon Sep 17 00:00:00 2001 From: saji Date: Sun, 5 May 2024 03:04:49 -0500 Subject: [PATCH] fix yosys logging --- compiler/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/src/main.rs b/compiler/src/main.rs index cf4bd66..d0b75b4 100644 --- a/compiler/src/main.rs +++ b/compiler/src/main.rs @@ -122,7 +122,9 @@ fn synth(s: SynthArgs) -> Result<()> { info!("running yosys command {:?}", yosys); let out = yosys.output().expect("failed to execute process"); + info!("Yosys existed with error code {}", out.status); trace!("Yosys stdout: ====== {}", str::from_utf8(&out.stdout).expect("hi")); + trace!("Yosys stderr: ====== {}", str::from_utf8(&out.stderr).expect("hi")); res = load_to_graph(&s.netlist, &pcf, s.chip.to_galette()); }