formal: add workaround for wires disappearing because yosys optimizes them out
All checks were successful
/ test (push) Successful in 39m13s
All checks were successful
/ test (push) Successful in 39m13s
This commit is contained in:
parent
3939ce2360
commit
3d0f95cfe5
|
@ -687,7 +687,11 @@ impl FormalArgs {
|
|||
}
|
||||
writeln!(retval, "read_verilog -sv -formal \"{verilog_file}\"").unwrap();
|
||||
}
|
||||
writeln!(retval, "prep -top {top_module}").unwrap();
|
||||
// workaround for wires disappearing -- set `keep` on all wires
|
||||
writeln!(retval, "hierarchy -top {top_module}").unwrap();
|
||||
writeln!(retval, "proc").unwrap();
|
||||
writeln!(retval, "setattr -set keep 1 w:\\*").unwrap();
|
||||
writeln!(retval, "prep").unwrap();
|
||||
Ok(retval)
|
||||
}
|
||||
fn run_impl(
|
||||
|
|
Loading…
Reference in a new issue