Disabled printing segment ids for non-channel nodes.

Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
Maciej Kurc 2020-11-23 17:07:28 +01:00
parent b6728cf2d9
commit 3d38e76c8f
1 changed files with 4 additions and 1 deletions

View File

@ -449,7 +449,10 @@ void RRGraph::print_node(const RRNodeId& node) const {
VTR_LOG("Node ptc: %d\n", node_ptc_num(node)); VTR_LOG("Node ptc: %d\n", node_ptc_num(node));
VTR_LOG("Node num in_edges: %d\n", node_in_edges(node).size()); VTR_LOG("Node num in_edges: %d\n", node_in_edges(node).size());
VTR_LOG("Node num out_edges: %d\n", node_out_edges(node).size()); VTR_LOG("Node num out_edges: %d\n", node_out_edges(node).size());
VTR_LOG("Node segment id: %d\n", node_segment(node));
if (node_type(node) == CHANX || node_type(node) == CHANY) {
VTR_LOG("Node segment id: %d\n", node_segment(node));
}
} }
/* Check if the segment id of a node is in range */ /* Check if the segment id of a node is in range */