Bugfix in dff2dffe
authorClifford Wolf <clifford@clifford.at>
Fri, 16 Jan 2015 16:51:17 +0000 (17:51 +0100)
committerClifford Wolf <clifford@clifford.at>
Fri, 16 Jan 2015 16:51:17 +0000 (17:51 +0100)
passes/techmap/dff2dffe.cc

index 3390071568eae6ddb4cdbd963089044fb7dafcbf..17549bd060428fbf275309297abbbde64e3c80dd 100644 (file)
@@ -173,7 +173,7 @@ struct Dff2dffeWorker
                        return or_input;
 
                RTLIL::SigSpec y = module->addWire(NEW_ID);
-               RTLIL::Cell *c = module->addReduceOr(NEW_ID, or_input, y);
+               RTLIL::Cell *c = module->addReduceAnd(NEW_ID, or_input, y);
 
                if (make_gates) {
                        simplemap(module, c);