Skip to content

Commit 8eb33a7

Browse files
committed
replace all the api set_node_coordinates usage in related .cpp/.h files
1 parent 5ffec55 commit 8eb33a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/route/clock_network_builders.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ int ClockRib::create_chanx_wire(int x_start,
319319
auto node = rr_nodes->back();
320320
RRNodeId chanx_node = RRNodeId(node_index);
321321

322-
rr_graph_builder.set_node_coordinates(chanx_node,x_start, y, x_end, y);
322+
rr_graph_builder.set_node_coordinates(chanx_node, x_start, y, x_end, y);
323323
node.set_type(CHANX);
324324
node.set_capacity(1);
325325
node.set_track_num(ptc_num);
@@ -653,7 +653,7 @@ int ClockSpine::create_chany_wire(int y_start,
653653

654654
/* Add the node to spatial lookup */
655655
auto& rr_graph = (*rr_nodes);
656-
656+
657657
/* TODO: Will replace these codes with an API add_node_to_all_locs() of RRGraphBuilder */
658658
for (int ix = rr_graph.node_xlow(chany_node); ix <= rr_graph.node_xhigh(chany_node); ++ix) {
659659
for (int iy = rr_graph.node_ylow(chany_node); iy <= rr_graph.node_yhigh(chany_node); ++iy) {

0 commit comments

Comments
 (0)