Skip to content

Commit f66b4bb

Browse files
committed
don't write down flat rr graph
1 parent 213123a commit f66b4bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/rr_graph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ void create_rr_graph(const t_graph_type graph_type,
794794
// When this function is called in any stage other than routing, the is_flat flag passed to this function is false, regardless of the flag passed
795795
// through command line. So, the graph corresponding to global resources will be created and written down to file if needed. During routing, if flat-routing
796796
// is enabled, intra-cluster resources will be added to the graph, but this new bigger graph will not be written down.
797-
if (!det_routing_arch->write_rr_graph_filename.empty()) {
797+
if (!det_routing_arch->write_rr_graph_filename.empty() && !is_flat) {
798798
write_rr_graph(&mutable_device_ctx.rr_graph_builder,
799799
&mutable_device_ctx.rr_graph,
800800
device_ctx.physical_tile_types,

0 commit comments

Comments
 (0)