For 'stat' do not count modules with abc_box_id
authorEddie Hung <eddie@fpgeh.com>
Tue, 16 Apr 2019 18:19:54 +0000 (11:19 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 16 Apr 2019 18:19:54 +0000 (11:19 -0700)
passes/cmds/stat.cc

index 54f4ea817b170eeb05d461c583fc3924b9f7a235..3909c4c8cf44cf15fe87c082ff29fe7c02227560 100644 (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;