summaryrefslogtreecommitdiff
path: root/passes
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-05-31 07:51:12 +0200
committerClifford Wolf <clifford@clifford.at>2015-05-31 07:51:12 +0200
commit522705cc280367f6d58a01010894701a4003c8a8 (patch)
treeefe4ac7a37a2919fcbb4f141663c7c1ce6dcb5eb /passes
parent99b8746d277522cba2516747666645adb8f81a68 (diff)
Added liberty dont_use support to dfflibmap
Diffstat (limited to 'passes')
-rw-r--r--passes/techmap/dfflibmap.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/passes/techmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc
index b0318a0b..9f534c2e 100644
--- a/passes/techmap/dfflibmap.cc
+++ b/passes/techmap/dfflibmap.cc
@@ -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;