@@ -236,7 +236,7 @@ static void build_rr_chan(RRGraphBuilder& rr_graph_builder,
236
236
237
237
void uniquify_edges (t_rr_edge_info_set& rr_edges_to_create);
238
238
239
- void alloc_and_load_edges (t_rr_graph_storage& L_rr_node ,
239
+ void alloc_and_load_edges (RRGraphBuilder& rr_graph_builder ,
240
240
const t_rr_edge_info_set& rr_edges_to_create);
241
241
242
242
static void alloc_and_load_rr_switch_inf (const int num_arch_switches,
@@ -1178,7 +1178,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
1178
1178
1179
1179
// Create the actual SOURCE->OPIN, IPIN->SINK edges
1180
1180
uniquify_edges (rr_edges_to_create);
1181
- alloc_and_load_edges (L_rr_node , rr_edges_to_create);
1181
+ alloc_and_load_edges (rr_graph_builder , rr_edges_to_create);
1182
1182
rr_edges_to_create.clear ();
1183
1183
}
1184
1184
}
@@ -1206,7 +1206,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
1206
1206
1207
1207
// Create the actual OPIN->CHANX/CHANY edges
1208
1208
uniquify_edges (rr_edges_to_create);
1209
- alloc_and_load_edges (L_rr_node , rr_edges_to_create);
1209
+ alloc_and_load_edges (rr_graph_builder , rr_edges_to_create);
1210
1210
rr_edges_to_create.clear ();
1211
1211
}
1212
1212
}
@@ -1228,7 +1228,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
1228
1228
1229
1229
// Create the actual CHAN->CHAN edges
1230
1230
uniquify_edges (rr_edges_to_create);
1231
- alloc_and_load_edges (L_rr_node , rr_edges_to_create);
1231
+ alloc_and_load_edges (rr_graph_builder , rr_edges_to_create);
1232
1232
rr_edges_to_create.clear ();
1233
1233
}
1234
1234
if (j > 0 ) {
@@ -1243,7 +1243,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
1243
1243
1244
1244
// Create the actual CHAN->CHAN edges
1245
1245
uniquify_edges (rr_edges_to_create);
1246
- alloc_and_load_edges (L_rr_node , rr_edges_to_create);
1246
+ alloc_and_load_edges (rr_graph_builder , rr_edges_to_create);
1247
1247
rr_edges_to_create.clear ();
1248
1248
}
1249
1249
}
@@ -1255,7 +1255,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
1255
1255
ClockRRGraphBuilder builder (chan_width, grid, &L_rr_node, &rr_graph_builder);
1256
1256
builder.create_and_append_clock_rr_graph (num_seg_types, &rr_edges_to_create);
1257
1257
uniquify_edges (rr_edges_to_create);
1258
- alloc_and_load_edges (L_rr_node , rr_edges_to_create);
1258
+ alloc_and_load_edges (rr_graph_builder , rr_edges_to_create);
1259
1259
rr_edges_to_create.clear ();
1260
1260
update_chan_width = [builder](t_chan_width* c) {
1261
1261
builder.update_chan_width (c);
@@ -1685,9 +1685,8 @@ void uniquify_edges(t_rr_edge_info_set& rr_edges_to_create) {
1685
1685
rr_edges_to_create.erase (std::unique (rr_edges_to_create.begin (), rr_edges_to_create.end ()), rr_edges_to_create.end ());
1686
1686
}
1687
1687
1688
- void alloc_and_load_edges (t_rr_graph_storage& L_rr_node,
1689
- const t_rr_edge_info_set& rr_edges_to_create) {
1690
- L_rr_node.alloc_and_load_edges (&rr_edges_to_create);
1688
+ void alloc_and_load_edges (RRGraphBuilder& rr_graph_builder, const t_rr_edge_info_set& rr_edges_to_create) {
1689
+ rr_graph_builder.alloc_and_load_edges (&rr_edges_to_create);
1691
1690
}
1692
1691
1693
1692
/* allocate pin to track map for each segment type individually and then combine into a single
0 commit comments