[core] fixed a bug where counter for gnets are not activated

This commit is contained in:
tangxifan 2024-06-28 14:10:14 -07:00
parent 5cfd23747b
commit e0b9f7860b
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ vtr::vector<RRNodeId, ClusterNetId> annotate_rr_node_global_net(
layer, blk_loc.loc.x, blk_loc.loc.y, IPIN, phy_pin); layer, blk_loc.loc.x, blk_loc.loc.y, IPIN, phy_pin);
for (RRNodeId curr_rr_node : curr_rr_nodes) { for (RRNodeId curr_rr_node : curr_rr_nodes) {
rr_node_nets[curr_rr_node] = net_id; rr_node_nets[curr_rr_node] = net_id;
counter++;
} }
} }
} }