mirror of https://github.com/YosysHQ/yosys.git
Added missing dont_use handling for SR FFs to dfflibmap
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
4a65b823db
commit
705c366a91
|
@ -240,6 +240,10 @@ static void find_cell_sr(LibertyAst *ast, std::string cell_type, bool clkpol, bo
|
|||
if (cell->id != "cell" || cell->args.size() != 1)
|
||||
continue;
|
||||
|
||||
LibertyAst *dn = cell->find("dont_use");
|
||||
if (dn != NULL && dn->value == "true")
|
||||
continue;
|
||||
|
||||
LibertyAst *ff = cell->find("ff");
|
||||
if (ff == NULL)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue