Also remove $__ABC_FF_
authorEddie Hung <eddie@fpgeh.com>
Mon, 1 Jul 2019 17:55:24 +0000 (10:55 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 1 Jul 2019 17:55:24 +0000 (10:55 -0700)
passes/techmap/abc9.cc

index 2eee43739666264e69fbe63d5976cfbee8a4d499..30df8e3ef8359813ea961054f09b6f0988776e84 100644 (file)
@@ -566,7 +566,7 @@ void abc9_module(RTLIL::Design *design, RTLIL::Module *current_module, std::stri
                vector<RTLIL::Cell*> boxes;
                for (const auto &it : module->cells_) {
                        auto cell = it.second;
-                       if (cell->type.in("$_AND_", "$_NOT_")) {
+                       if (cell->type.in("$_AND_", "$_NOT_", "$__ABC_FF_")) {
                                module->remove(cell);
                                continue;
                        }