projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99b8746
)
Added liberty dont_use support to dfflibmap
author
Clifford Wolf
<clifford@clifford.at>
Sun, 31 May 2015 05:51:12 +0000
(07:51 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 31 May 2015 05:51:12 +0000
(07:51 +0200)
passes/techmap/dfflibmap.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/dfflibmap.cc
b/passes/techmap/dfflibmap.cc
index b0318a0b33a5059f892f464fd1e10ca0def19e5f..9f534c2eaeb86d8e0a2302c7ac9962a24a401e4e 100644
(file)
--- 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;