mirror of https://github.com/YosysHQ/yosys.git
For 'stat' do not count modules with abc_box_id
This commit is contained in:
parent
a2b106135b
commit
b89bb74452
|
@ -269,6 +269,9 @@ struct StatPass : public Pass {
|
||||||
if (mod->get_bool_attribute("\\top"))
|
if (mod->get_bool_attribute("\\top"))
|
||||||
top_mod = mod;
|
top_mod = mod;
|
||||||
|
|
||||||
|
if (mod->attributes.count("\\abc_box_id"))
|
||||||
|
continue;
|
||||||
|
|
||||||
statdata_t data(design, mod, width_mode, cell_area);
|
statdata_t data(design, mod, width_mode, cell_area);
|
||||||
mod_stat[mod->name] = data;
|
mod_stat[mod->name] = data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue