projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a912f2
)
Do not double count cells in abc
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 12 Jul 2019 15:22:26 +0000
(08:22 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 12 Jul 2019 15:22:26 +0000
(08:22 -0700)
passes/techmap/abc.cc
patch
|
blob
|
history
diff --git
a/passes/techmap/abc.cc
b/passes/techmap/abc.cc
index 15e79f9d131881f7424b5a5bfc30a709e58d9ecd..65c7d1bb82ffc4d44171efead21fd4c62cfa7f59 100644
(file)
--- a/
passes/techmap/abc.cc
+++ b/
passes/techmap/abc.cc
@@
-1172,8
+1172,8
@@
void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std::strin
continue;
}
}
-
- cell_stats[RTLIL::unescape_id(c->type)]++;
+ else
+
cell_stats[RTLIL::unescape_id(c->type)]++;
if (c->type == "\\_const0_" || c->type == "\\_const1_") {
RTLIL::SigSig conn;