projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a65b82
)
Added missing dont_use handling for SR FFs to dfflibmap
author
Clifford Wolf
<clifford@clifford.at>
Thu, 5 Apr 2018 09:01:32 +0000
(11:01 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 5 Apr 2018 09:01:45 +0000
(11:01 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
passes/techmap/dfflibmap.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/dfflibmap.cc
b/passes/techmap/dfflibmap.cc
index 4cb1489a828715c8dcd947a291fcfd019e02bc56..5ccb770c4796716d3daf2014260595e6629e1eae 100644
(file)
--- a/
passes/techmap/dfflibmap.cc
+++ b/
passes/techmap/dfflibmap.cc
@@
-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;