projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2b1061
)
For 'stat' do not count modules with abc_box_id
author
Eddie Hung
<eddie@fpgeh.com>
Tue, 16 Apr 2019 18:19:54 +0000
(11:19 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Tue, 16 Apr 2019 18:19:54 +0000
(11:19 -0700)
passes/cmds/stat.cc
patch
|
blob
|
history
diff --git
a/passes/cmds/stat.cc
b/passes/cmds/stat.cc
index 54f4ea817b170eeb05d461c583fc3924b9f7a235..3909c4c8cf44cf15fe87c082ff29fe7c02227560 100644
(file)
--- a/
passes/cmds/stat.cc
+++ b/
passes/cmds/stat.cc
@@
-269,6
+269,9
@@
struct StatPass : public Pass {
if (mod->get_bool_attribute("\\top"))
top_mod = mod;
+ if (mod->attributes.count("\\abc_box_id"))
+ continue;
+
statdata_t data(design, mod, width_mode, cell_area);
mod_stat[mod->name] = data;