Skip to content

Commit f7a6462

Browse files
committed
vpr: Include pin name in RR node no fanin warning
1 parent 5d64b8c commit f7a6462

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vpr/src/route/check_rr_graph.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ void check_rr_graph(const t_graph_type graph_type,
177177
if (node.type() == IPIN || node.type() == OPIN) {
178178
if (has_adjacent_channel(node, device_ctx.grid)) {
179179
auto block_type = device_ctx.grid[node.xlow()][node.ylow()].type;
180-
VTR_LOG_ERROR("in check_rr_graph: node %d (%s) at (%d,%d) block=%s side=%s has no fanin.\n",
181-
inode, node.type_string(), node.xlow(), node.ylow(), block_type->name, node.side_string());
180+
std::string pin_name = block_type_pin_index_to_name(block_type, node.pin_num());
181+
VTR_LOG_ERROR("in check_rr_graph: node %d (%s) at (%d,%d) block=%s side=%s pin=%s has no fanin.\n",
182+
inode, node.type_string(), node.xlow(), node.ylow(), block_type->name, node.side_string(), pin_name.c_str());
182183
}
183184
} else {
184185
VTR_LOG_ERROR("in check_rr_graph: node %d (%s) has no fanin.\n",

0 commit comments

Comments
 (0)