3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-08 18:31:51 +00:00

For 'stat' do not count modules with abc_box_id

This commit is contained in:
Eddie Hung 2019-04-16 11:19:54 -07:00
parent a2b106135b
commit b89bb74452

View file

@ -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;