Skip to content

Commit bbbb3a6

Browse files
author
Muhammad Haris Zafar
committed
Fixing set_node_class_num in clock_connection_builders.cpp
1 parent 3d0373c commit bbbb3a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/clock_connection_builders.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ RRNodeId RoutingToClockConnection::create_virtual_clock_network_sink_node(int x,
106106
}
107107
int ptc = max_ptc + 1;
108108

109+
rr_graph_builder.set_node_type(node_index, SINK);
109110
rr_graph_builder.set_node_class_num(node_index, ptc);
110111
rr_graph_builder.set_node_coordinates(node_index, x, y, x, y);
111112
rr_graph_builder.set_node_capacity(node_index, 1);
112113
rr_graph.set_node_cost_index(node_index, RRIndexedDataId(SINK_COST_INDEX));
113-
rr_graph_builder.set_node_type(node_index, SINK);
114114

115115
float R = 0.;
116116
float C = 0.;

0 commit comments

Comments
 (0)