mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2211 from YosysHQ/mwk/fix-fmcombine-ff
fmcombine: use the master ff cell type list
This commit is contained in:
commit
d3422f8a5e
|
@ -114,8 +114,7 @@ struct FmcombineWorker
|
|||
Cell *gold = import_prim_cell(cell, "_gold");
|
||||
Cell *gate = import_prim_cell(cell, "_gate");
|
||||
if (opts.initeq) {
|
||||
if (cell->type.in(ID($ff), ID($dff), ID($dffe),
|
||||
ID($dffsr), ID($adff), ID($dlatch), ID($dlatchsr))) {
|
||||
if (RTLIL::builtin_ff_cell_types().count(cell->type)) {
|
||||
SigSpec gold_q = gold->getPort(ID::Q);
|
||||
SigSpec gate_q = gate->getPort(ID::Q);
|
||||
SigSpec en = module->Initstate(NEW_ID);
|
||||
|
|
Loading…
Reference in New Issue