Skip to content

Commit 89344bf

Browse files
warning message when scatter/gather has no target channels
1 parent cd6e0fd commit 89344bf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

vpr/src/route/rr_graph_generation/build_scatter_gathers.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,20 @@ std::vector<t_bottleneck_link> alloc_and_load_scatter_gather_connections(const s
205205
index_to_correct_sg_channels(sg_pattern.scatter_pattern, scatter_loc, chan_details_x, chan_details_y, scatter_channels);
206206

207207
if (gather_channels.empty() || scatter_channels.empty()) {
208+
VTR_LOGV_WARN(gather_channels.empty(),
209+
"Scatter-gather pattern '%s' with SG link '%s' has no gather channels at location (layer=%i, x=%i, y=%i)\n",
210+
sg_pattern.name.c_str(), sg_link.name.c_str(),
211+
gather_loc.layer_num, gather_loc.x, gather_loc.y);
212+
213+
VTR_LOGV_WARN(scatter_channels.empty(),
214+
"Scatter-gather pattern '%s' with SG link '%s' has no scatter channels at location (layer=%i, x=%i, y=%i)\n",
215+
sg_pattern.name.c_str(), sg_link.name.c_str(),
216+
scatter_loc.layer_num, scatter_loc.x, scatter_loc.y);
217+
208218
continue;
209219
}
210220

221+
211222
std::vector<t_sg_candidate> gather_wire_candidates;
212223
gather_wire_candidates = find_candidate_wires(gather_channels,
213224
sg_pattern.gather_pattern.from_switchpoint_set,

0 commit comments

Comments
 (0)