File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2255,15 +2255,15 @@ std::vector<const t_pb_graph_node*> get_all_pb_graph_node_primitives(const t_pb_
2255
2255
}
2256
2256
2257
2257
bool is_inter_cluster_node (t_physical_tile_type_ptr physical_tile,
2258
- const t_vib_inf * vib,
2258
+ const VibInf * vib,
2259
2259
t_rr_type node_type,
2260
2260
int node_ptc) {
2261
2261
2262
2262
if (node_type == CHANX || node_type == CHANY) {
2263
2263
return true ;
2264
- } else if (node_type == MEDIUM) {
2264
+ } else if (node_type == MEDIUM) { // This function will check all types of nodes. MEDIUM is added for avoiding errors.
2265
2265
VTR_ASSERT (vib != nullptr );
2266
- return (node_ptc < (int )vib->first_stages .size ());
2266
+ return (node_ptc < (int )vib->get_first_stages () .size ());
2267
2267
} else {
2268
2268
VTR_ASSERT (node_type == IPIN || node_type == OPIN || node_type == SINK || node_type == SOURCE);
2269
2269
if (node_type == IPIN || node_type == OPIN) {
You can’t perform that action at this time.
0 commit comments