mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
write_xaiger to opt instead of just clean whiteboxes
This commit is contained in:
parent
d3fc94405f
commit
6eadd4390a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue