projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
012c6af
)
Preserve $specify[23] cells
author
Clifford Wolf
<clifford@clifford.at>
Mon, 22 Apr 2019 08:03:18 +0000
(10:03 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 23 Apr 2019 19:36:59 +0000
(21:36 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
passes/opt/opt_clean.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_clean.cc
b/passes/opt/opt_clean.cc
index c38e9df5e7db7fead4804f1bf8b0cecc90bc0a23..3f38dd58003acefa6e6ee0a1f980ee47ed66ac8f 100644
(file)
--- a/
passes/opt/opt_clean.cc
+++ b/
passes/opt/opt_clean.cc
@@
-64,7
+64,7
@@
struct keep_cache_t
bool query(Cell *cell)
{
- if (cell->type.in("$memwr", "$meminit", "$assert", "$assume", "$live", "$fair", "$cover"))
+ if (cell->type.in("$memwr", "$meminit", "$assert", "$assume", "$live", "$fair", "$cover"
, "$specify2", "$specify3"
))
return true;
if (cell->has_keep_attr())