@@ -272,7 +272,7 @@ static void connect_src_sink_to_pins(RRGraphBuilder& rr_graph_builder,
272
272
t_rr_edge_info_set& rr_edges_to_create,
273
273
const int delayless_switch,
274
274
t_physical_tile_type_ptr physical_type_ptr,
275
- bool is_remapped );
275
+ bool switches_remapped );
276
276
277
277
static void alloc_and_load_tile_rr_graph (RRGraphBuilder& rr_graph_builder,
278
278
std::map<int , t_arch_switch_inf>& arch_sw_inf_map,
@@ -381,7 +381,7 @@ static void add_pb_edges(RRGraphBuilder& rr_graph_builder,
381
381
int layer,
382
382
int i,
383
383
int j,
384
- bool is_remapped );
384
+ bool switches_remapped );
385
385
386
386
/* *
387
387
* Edges going in/out of collapse nodes are not added by the normal routine. This function add those edges
@@ -2039,7 +2039,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
2039
2039
*Fc_clipped = false ;
2040
2040
2041
2041
/* This function is called to build the general routing graph resoruces. Thus, the edges are not remapped yet.*/
2042
- bool is_remapped = false ;
2042
+ bool switches_remapped = false ;
2043
2043
2044
2044
int num_edges = 0 ;
2045
2045
/* Connection SINKS and SOURCES to their pins - Initializing IPINs/OPINs. */
@@ -2074,7 +2074,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
2074
2074
rr_edges_to_create,
2075
2075
delayless_switch,
2076
2076
physical_tile,
2077
- is_remapped );
2077
+ switches_remapped );
2078
2078
2079
2079
// Create the actual SOURCE->OPIN, IPIN->SINK edges
2080
2080
uniquify_edges (rr_edges_to_create);
@@ -2477,7 +2477,7 @@ static void connect_src_sink_to_pins(RRGraphBuilder& rr_graph_builder,
2477
2477
t_rr_edge_info_set& rr_edges_to_create,
2478
2478
const int delayless_switch,
2479
2479
t_physical_tile_type_ptr physical_type_ptr,
2480
- bool is_remapped ) {
2480
+ bool switches_remapped ) {
2481
2481
for (auto class_num : class_num_vec) {
2482
2482
const auto & pin_list = get_pin_list_from_class_physical_num (physical_type_ptr, class_num);
2483
2483
auto class_type = get_class_type_from_class_physical_num (physical_type_ptr, class_num);
@@ -2497,11 +2497,11 @@ static void connect_src_sink_to_pins(RRGraphBuilder& rr_graph_builder,
2497
2497
auto pin_type = get_pin_type_from_pin_physical_num (physical_type_ptr, pin_num);
2498
2498
if (class_type == DRIVER) {
2499
2499
VTR_ASSERT (pin_type == DRIVER);
2500
- rr_edges_to_create.emplace_back (class_rr_node_id, pin_rr_node_id, delayless_switch, is_remapped );
2500
+ rr_edges_to_create.emplace_back (class_rr_node_id, pin_rr_node_id, delayless_switch, switches_remapped );
2501
2501
} else {
2502
2502
VTR_ASSERT (class_type == RECEIVER);
2503
2503
VTR_ASSERT (pin_type == RECEIVER);
2504
- rr_edges_to_create.emplace_back (pin_rr_node_id, class_rr_node_id, delayless_switch, is_remapped );
2504
+ rr_edges_to_create.emplace_back (pin_rr_node_id, class_rr_node_id, delayless_switch, switches_remapped );
2505
2505
}
2506
2506
}
2507
2507
}
@@ -2745,7 +2745,7 @@ static void add_pb_edges(RRGraphBuilder& rr_graph_builder,
2745
2745
int layer,
2746
2746
int i,
2747
2747
int j,
2748
- bool is_remapped ) {
2748
+ bool switches_remapped ) {
2749
2749
auto pin_num_range = get_pb_pins (physical_type,
2750
2750
sub_tile,
2751
2751
logical_block,
@@ -2799,18 +2799,18 @@ static void add_pb_edges(RRGraphBuilder& rr_graph_builder,
2799
2799
pin_physical_num,
2800
2800
conn_pin_physical_num);
2801
2801
2802
- if (is_remapped ) {
2802
+ if (switches_remapped ) {
2803
2803
auto & all_sw_inf = g_vpr_ctx.mutable_device ().all_sw_inf ;
2804
2804
float delay = g_vpr_ctx.device ().all_sw_inf .at (sw_idx).Tdel ();
2805
2805
bool is_new_sw;
2806
2806
std::tie (is_new_sw, sw_idx) = find_create_intra_cluster_sw (rr_graph_builder,
2807
2807
all_sw_inf,
2808
2808
R_minW_nmos,
2809
2809
R_minW_pmos,
2810
- is_remapped ,
2810
+ switches_remapped ,
2811
2811
delay);
2812
2812
}
2813
- rr_edges_to_create.emplace_back (parent_pin_node_id, conn_pin_node_id, sw_idx, is_remapped );
2813
+ rr_edges_to_create.emplace_back (parent_pin_node_id, conn_pin_node_id, sw_idx, switches_remapped );
2814
2814
}
2815
2815
}
2816
2816
}
0 commit comments