mirror of https://github.com/YosysHQ/yosys.git
Bugfix in dff2dffe
This commit is contained in:
parent
3ed4e34380
commit
8ce8a230f4
|
@ -173,7 +173,7 @@ struct Dff2dffeWorker
|
||||||
return or_input;
|
return or_input;
|
||||||
|
|
||||||
RTLIL::SigSpec y = module->addWire(NEW_ID);
|
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) {
|
if (make_gates) {
|
||||||
simplemap(module, c);
|
simplemap(module, c);
|
||||||
|
|
Loading…
Reference in New Issue