Disabled printing segment ids for non-channel nodes.
@@ -449,8 +449,11 @@ void RRGraph::print_node(const RRNodeId& node) const {
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 out_edges: %d\n", node_out_edges(node).size());
+
+ 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 */
bool RRGraph::validate_node_segment(const RRNodeId& node) const {
