mirror of https://github.com/YosysHQ/yosys.git
write_xaiger to opt instead of just clean whiteboxes
This commit is contained in:
parent
d3fc94405f
commit
6eadd4390a
|
@ -876,7 +876,7 @@ struct XAigerWriter
|
|||
RTLIL::Design *holes_design = new RTLIL::Design;
|
||||
module->design->modules_.erase(holes_module->name);
|
||||
holes_design->add(holes_module);
|
||||
Pass::call(holes_design, "clean -purge");
|
||||
Pass::call(holes_design, "opt -purge");
|
||||
|
||||
std::stringstream a_buffer;
|
||||
XAigerWriter writer(holes_module, true /* holes_mode */);
|
||||
|
|
Loading…
Reference in New Issue