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_
22552255}
22562256
22572257bool is_inter_cluster_node (t_physical_tile_type_ptr physical_tile,
2258- const t_vib_inf * vib,
2258+ const VibInf * vib,
22592259 t_rr_type node_type,
22602260 int node_ptc) {
22612261
22622262 if (node_type == CHANX || node_type == CHANY) {
22632263 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.
22652265 VTR_ASSERT (vib != nullptr );
2266- return (node_ptc < (int )vib->first_stages .size ());
2266+ return (node_ptc < (int )vib->get_first_stages () .size ());
22672267 } else {
22682268 VTR_ASSERT (node_type == IPIN || node_type == OPIN || node_type == SINK || node_type == SOURCE);
22692269 if (node_type == IPIN || node_type == OPIN) {
You can’t perform that action at this time.
0 commit comments