From 3d38e76c8fb64781d992db1b08676006d8d56fa9 Mon Sep 17 00:00:00 2001 From: Maciej Kurc Date: Mon, 23 Nov 2020 17:07:28 +0100 Subject: [PATCH] Disabled printing segment ids for non-channel nodes. Signed-off-by: Maciej Kurc --- vpr/src/device/rr_graph_obj.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vpr/src/device/rr_graph_obj.cpp b/vpr/src/device/rr_graph_obj.cpp index e38ff348e..61b3516e9 100644 --- a/vpr/src/device/rr_graph_obj.cpp +++ b/vpr/src/device/rr_graph_obj.cpp @@ -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 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 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 */