@@ -53,9 +53,9 @@ void check_rr_graph(const RRGraphView& rr_graph,
5353 const t_chan_width& chan_width,
5454 const e_graph_type graph_type,
5555 bool is_flat) {
56- e_route_type route_type = DETAILED;
56+ e_route_type route_type = e_route_type:: DETAILED;
5757 if (graph_type == e_graph_type::GLOBAL) {
58- route_type = GLOBAL;
58+ route_type = e_route_type:: GLOBAL;
5959 }
6060
6161 auto total_edges_to_node = std::vector<int >(rr_graph.num_nodes ());
@@ -420,7 +420,7 @@ void check_rr_node(const RRGraphView& rr_graph,
420420 VPR_FATAL_ERROR (VPR_ERROR_ROUTE,
421421 " in check_rr_node: CHANX out of range for endpoints (%d,%d) and (%d,%d)\n " , xlow, ylow, xhigh, yhigh);
422422 }
423- if (route_type == GLOBAL && xlow != xhigh) {
423+ if (route_type == e_route_type:: GLOBAL && xlow != xhigh) {
424424 VPR_ERROR (VPR_ERROR_ROUTE,
425425 " in check_rr_node: node %d spans multiple channel segments (not allowed for global routing).\n " , inode);
426426 }
@@ -431,7 +431,7 @@ void check_rr_node(const RRGraphView& rr_graph,
431431 VPR_FATAL_ERROR (VPR_ERROR_ROUTE,
432432 " Error in check_rr_node: CHANY out of range for endpoints (%d,%d) and (%d,%d)\n " , xlow, ylow, xhigh, yhigh);
433433 }
434- if (route_type == GLOBAL && ylow != yhigh) {
434+ if (route_type == e_route_type:: GLOBAL && ylow != yhigh) {
435435 VPR_ERROR (VPR_ERROR_ROUTE,
436436 " in check_rr_node: node %d spans multiple channel segments (not allowed for global routing).\n " , inode);
437437 }
@@ -480,7 +480,7 @@ void check_rr_node(const RRGraphView& rr_graph,
480480
481481 case e_rr_type::CHANX:
482482 case e_rr_type::CHANY:
483- if (route_type == DETAILED) {
483+ if (route_type == e_route_type:: DETAILED) {
484484 nodes_per_chan = chan_width.max ;
485485 tracks_per_node = 1 ;
486486 } else {
0 commit comments