Skip to content

Commit cf69e63

Browse files
rename index_to_correct_channels to index_to_correct_sg_channels
1 parent 01ddeae commit cf69e63

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

vpr/src/route/rr_graph_generation/build_scatter_gathers.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@
2222
* @param chan_details_y Channel details for vertical routing channels.
2323
* @param correct_channels Output: list of valid channel locations and types.
2424
*/
25-
static void index_to_correct_channels(const t_wireconn_inf& pattern,
26-
const t_physical_tile_loc& loc,
27-
const t_chan_details& chan_details_x,
28-
const t_chan_details& chan_details_y,
29-
std::vector<t_chan_loc>& correct_channels);
25+
static void index_to_correct_sg_channels(const t_wireconn_inf& pattern,
26+
const t_physical_tile_loc& loc,
27+
const t_chan_details& chan_details_x,
28+
const t_chan_details& chan_details_y,
29+
std::vector<t_chan_loc>& correct_channels);
3030

3131
/**
3232
* @brief Collects candidate wires from given channels that match specified switchpoints.
@@ -52,11 +52,11 @@ static std::vector<t_sg_candidate> find_candidate_wires(const std::vector<t_chan
5252
// Static Function Definitions
5353
//
5454

55-
static void index_to_correct_channels(const t_wireconn_inf& pattern,
56-
const t_physical_tile_loc& loc,
57-
const t_chan_details& chan_details_x,
58-
const t_chan_details& chan_details_y,
59-
std::vector<t_chan_loc>& correct_channels) {
55+
static void index_to_correct_sg_channels(const t_wireconn_inf& pattern,
56+
const t_physical_tile_loc& loc,
57+
const t_chan_details& chan_details_x,
58+
const t_chan_details& chan_details_y,
59+
std::vector<t_chan_loc>& correct_channels) {
6060
correct_channels.clear();
6161

6262
for (e_side side : pattern.sides) {
@@ -199,8 +199,8 @@ std::vector<t_bottleneck_link> alloc_and_load_scatter_gather_connections(const s
199199
scatter_loc.y = gather_loc.y + sg_link.y_offset;
200200
scatter_loc.layer_num = gather_loc.layer_num + sg_link.z_offset;
201201

202-
index_to_correct_channels(sg_pattern.gather_pattern, gather_loc, chan_details_x, chan_details_y, gather_channels);
203-
index_to_correct_channels(sg_pattern.scatter_pattern, scatter_loc, chan_details_x, chan_details_y, scatter_channels);
202+
index_to_correct_sg_channels(sg_pattern.gather_pattern, gather_loc, chan_details_x, chan_details_y, gather_channels);
203+
index_to_correct_sg_channels(sg_pattern.scatter_pattern, scatter_loc, chan_details_x, chan_details_y, scatter_channels);
204204

205205
if (gather_channels.empty() || scatter_channels.empty()) {
206206
continue;

0 commit comments

Comments
 (0)