write_xaiger to opt instead of just clean whiteboxes

This commit is contained in:
Eddie Hung 2019-12-23 08:35:53 -08:00
parent d3fc94405f
commit 6eadd4390a
1 changed files with 1 additions and 1 deletions

View File

@ -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 */);