Skip to content

Commit 618fcee

Browse files
committed
[route][rr_graph] add route_verbosity to load_rr_file
1 parent 8bf3903 commit 618fcee

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

libs/librrgraph/src/io/rr_graph_reader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ void load_rr_file(RRGraphBuilder* rr_graph_builder,
7373
bool do_check_rr_graph,
7474
bool echo_enabled,
7575
const char* echo_file_name,
76+
const int route_verbosity,
7677
bool is_flat) {
7778
vtr::ScopedStartFinishTimer timer("Loading routing resource graph");
7879

@@ -90,7 +91,7 @@ void load_rr_file(RRGraphBuilder* rr_graph_builder,
9091
#ifdef VTR_ENABLE_CAPNPROTO
9192
::capnp::Schema schema = ::capnp::Schema::from<ucap::RrGraph>();
9293
schema_file_id = schema.getProto().getScopeId();
93-
VTR_LOG("Schema file ID: 0x%016lx\n", schema_file_id);
94+
VTR_LOGV(route_verbosity > 1, "Schema file ID: 0x%016lx\n", schema_file_id);
9495
#endif
9596

9697
RrGraphSerializer reader(

libs/librrgraph/src/io/rr_graph_reader.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ void load_rr_file(RRGraphBuilder* rr_graph_builder,
2929
bool do_check_rr_graph,
3030
bool echo_enabled,
3131
const char* echo_file_name,
32+
const int route_verbosity,
3233
bool is_flat);
3334

3435
/**

vpr/src/route/rr_graph_generation/rr_graph.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ void create_rr_graph(e_graph_type graph_type,
460460
router_opts.do_check_rr_graph,
461461
echo_enabled,
462462
echo_file_name,
463+
router_opts.route_verbosity,
463464
is_flat);
464465
if (router_opts.reorder_rr_graph_nodes_algorithm != DONT_REORDER) {
465466
mutable_device_ctx.rr_graph_builder.reorder_nodes(router_opts.reorder_rr_graph_nodes_algorithm,

0 commit comments

Comments
 (0)