From: Eddie Hung Date: Tue, 9 Apr 2019 17:32:58 +0000 (-0700) Subject: Add 'setundef -zero' call prior to aigmap in abc9 X-Git-Tag: working-ls180~1208^2~377 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd523abef5babcc16fbdd67dbf868bd601acaced;p=yosys.git Add 'setundef -zero' call prior to aigmap in abc9 --- diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index ec4a28d08..b0326372e 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -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);