mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 18:52:23 +00:00
fix yosys logging
This commit is contained in:
parent
dc02482d53
commit
f8884d4db5
|
@ -122,7 +122,9 @@ fn synth(s: SynthArgs) -> Result<()> {
|
||||||
info!("running yosys command {:?}", yosys);
|
info!("running yosys command {:?}", yosys);
|
||||||
|
|
||||||
let out = yosys.output().expect("failed to execute process");
|
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 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());
|
res = load_to_graph(&s.netlist, &pcf, s.chip.to_galette());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue