From: Eddie Hung Date: Tue, 16 Apr 2019 20:10:13 +0000 (-0700) Subject: abc9 to call "setundef -zero" behaving as for abc X-Git-Tag: working-ls180~1237^2~228 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=afcb86c3d143c95643855da1159b0f245f75262c;p=yosys.git abc9 to call "setundef -zero" behaving as for abc --- diff --git a/passes/techmap/abc9.cc b/passes/techmap/abc9.cc index edc07092b..3c4919b1f 100644 --- a/passes/techmap/abc9.cc +++ b/passes/techmap/abc9.cc @@ -403,6 +403,9 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri RTLIL::Selection& sel = design->selection_stack.back(); sel.select(module); + // Behave as for "abc" where BLIF writer implicitly outputs all undef as zero + Pass::call(design, "setundef -zero"); + Pass::call(design, "aigmap"); handle_loops(design);