Add 'setundef -zero' call prior to aigmap in abc9

This commit is contained in:
Eddie Hung 2019-04-09 10:32:58 -07:00
parent 3b6f85b0a6
commit bd523abef5
1 changed files with 4 additions and 0 deletions

View File

@ -403,6 +403,10 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
RTLIL::Selection& sel = design->selection_stack.back();
sel.select(module);
// Adopt same behaviour as abc
// TODO: How to specify don't-care to abc9?
Pass::call(design, "setundef -zero");
Pass::call(design, "aigmap");
handle_loops(design);