From: Eddie Hung Date: Tue, 16 Apr 2019 18:19:54 +0000 (-0700) Subject: For 'stat' do not count modules with abc_box_id X-Git-Tag: working-ls180~1208^2~343 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b89bb744529fc8a5e4cd38522f86a797117f2abc;p=yosys.git For 'stat' do not count modules with abc_box_id --- diff --git a/passes/cmds/stat.cc b/passes/cmds/stat.cc index 54f4ea817..3909c4c8c 100644 --- 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;