Skip to content

Commit

Permalink
[core] fixed clang syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tangxifan committed Nov 13, 2024
1 parent 9e6f975 commit c9d8379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openfpga/src/annotation/openfpga_annotate_routing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ vtr::vector<RRNodeId, ClusterNetId> annotate_rr_node_global_net(
VTR_LOG_ERROR(
"When annotating global net '%s', invalid rr node pin type for '%s' "
"pin '%d'\n",
cluster_nlist.net_name(net_id).c_str(), phy_tile->name, node_pin_num);
cluster_nlist.net_name(net_id).c_str(), phy_tile->name.c_str(), node_pin_num);
exit(1);
}
std::vector<RRNodeId> curr_rr_nodes =
rr_graph.node_lookup().find_nodes_at_all_sides(
layer, blk_loc.loc.x, blk_loc.loc.y, rr_pin_type, node_pin_num);
for (RRNodeId curr_rr_node : curr_rr_nodes) {
VTR_LOGV(verbose, "Annotate global net '%s' on '%s' pin '%d'\n",
cluster_nlist.net_name(net_id).c_str(), phy_tile->name,
cluster_nlist.net_name(net_id).c_str(), phy_tile->name.c_str(),
node_pin_num);
rr_node_nets[curr_rr_node] = net_id;
counter++;
Expand Down

0 comments on commit c9d8379

Please sign in to comment.