Added missing dont_use handling for SR FFs to dfflibmap

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-04-05 11:01:32 +02:00
parent 4a65b823db
commit 705c366a91
1 changed files with 4 additions and 0 deletions

View File

@ -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;