Added liberty dont_use support to dfflibmap

This commit is contained in:
Clifford Wolf 2015-05-31 07:51:12 +02:00
parent 99b8746d27
commit 522705cc28
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ static void find_cell(LibertyAst *ast, std::string cell_type, bool clkpol, bool
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;