Skip to content

Commit ff0a6cb

Browse files
author
Nathan Shreve
committed
Moved get_sink_locs() back to previous location in build_rr_graph()
1 parent 8f7aa26 commit ff0a6cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vpr/src/route/rr_graph.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,6 @@ void create_rr_graph(const t_graph_type graph_type,
761761
mutable_device_ctx.rr_graph_is_flat = true;
762762
}
763763

764-
// Get better locations for SINK nodes
765-
set_sink_locs(device_ctx.rr_graph, mutable_device_ctx.rr_graph_builder, grid);
766-
767764
process_non_config_sets();
768765

769766
verify_rr_node_indices(grid,
@@ -1440,6 +1437,9 @@ static void build_rr_graph(const t_graph_type graph_type,
14401437
delete[] clb_to_clb_directs;
14411438
}
14421439

1440+
// Get better locations for SINK nodes
1441+
set_sink_locs(rr_graph, device_ctx.rr_graph_builder, grid);
1442+
14431443
// We are done with building the RR Graph. Thus, we can clear the storages only used
14441444
// to build the RR Graph
14451445
device_ctx.rr_graph_builder.clear_temp_storage();

0 commit comments

Comments
 (0)