@@ -180,7 +180,6 @@ static int get_opin_direct_connections(RRGraphBuilder& rr_graph_builder,
180
180
static std::function<void (t_chan_width*)> alloc_and_load_rr_graph (RRGraphBuilder& rr_graph_builder,
181
181
t_rr_graph_storage& L_rr_node,
182
182
const RRGraphView& rr_graph,
183
- const t_router_opts& router_opts,
184
183
const int num_seg_types,
185
184
const int num_seg_types_x,
186
185
const t_unified_to_parallel_seg_index& seg_index_map,
@@ -209,7 +208,8 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
209
208
const t_clb_to_clb_directs* clb_to_clb_directs,
210
209
bool is_global_graph,
211
210
const enum e_clock_modeling clock_modeling,
212
- bool is_flat);
211
+ bool is_flat,
212
+ const int route_verbosity);
213
213
214
214
static void alloc_and_load_intra_cluster_rr_graph (RRGraphBuilder& rr_graph_builder,
215
215
const DeviceGrid& grid,
@@ -666,7 +666,6 @@ static void build_rr_graph(const t_graph_type graph_type,
666
666
const std::vector<t_physical_tile_type>& types,
667
667
const DeviceGrid& grid,
668
668
t_chan_width nodes_per_chan,
669
- t_router_opts router_opts,
670
669
const enum e_switch_block_type sb_type,
671
670
const int Fs,
672
671
const std::vector<t_switchblock_inf>& switchblocks,
@@ -684,7 +683,8 @@ static void build_rr_graph(const t_graph_type graph_type,
684
683
const int num_directs,
685
684
int * wire_to_rr_ipin_switch,
686
685
bool is_flat,
687
- int * Warnings);
686
+ int * Warnings,
687
+ const t_router_opts& router_opts);
688
688
689
689
static void build_intra_cluster_rr_graph (const t_graph_type graph_type,
690
690
const DeviceGrid& grid,
@@ -771,7 +771,6 @@ void create_rr_graph(const t_graph_type graph_type,
771
771
block_types,
772
772
grid,
773
773
nodes_per_chan,
774
- router_opts,
775
774
det_routing_arch->switch_block_type ,
776
775
det_routing_arch->Fs ,
777
776
det_routing_arch->switchblocks ,
@@ -788,7 +787,9 @@ void create_rr_graph(const t_graph_type graph_type,
788
787
directs, num_directs,
789
788
&det_routing_arch->wire_to_rr_ipin_switch ,
790
789
is_flat,
791
- Warnings);
790
+ Warnings,
791
+ router_opts
792
+ );
792
793
}
793
794
}
794
795
@@ -997,7 +998,6 @@ static void build_rr_graph(const t_graph_type graph_type,
997
998
const std::vector<t_physical_tile_type>& types,
998
999
const DeviceGrid& grid,
999
1000
t_chan_width nodes_per_chan,
1000
- t_router_opts router_opts,
1001
1001
const enum e_switch_block_type sb_type,
1002
1002
const int Fs,
1003
1003
const std::vector<t_switchblock_inf>& switchblocks,
@@ -1015,7 +1015,8 @@ static void build_rr_graph(const t_graph_type graph_type,
1015
1015
const int num_directs,
1016
1016
int * wire_to_rr_ipin_switch,
1017
1017
bool is_flat,
1018
- int * Warnings) {
1018
+ int * Warnings,
1019
+ const t_router_opts& router_opts) {
1019
1020
vtr::ScopedStartFinishTimer timer (" Build routing resource graph" );
1020
1021
1021
1022
/* Reset warning flag */
@@ -1396,7 +1397,7 @@ static void build_rr_graph(const t_graph_type graph_type,
1396
1397
auto update_chan_width = alloc_and_load_rr_graph (
1397
1398
device_ctx.rr_graph_builder ,
1398
1399
1399
- device_ctx.rr_graph_builder .rr_nodes (), device_ctx.rr_graph , router_opts, segment_inf.size (),
1400
+ device_ctx.rr_graph_builder .rr_nodes (), device_ctx.rr_graph , segment_inf.size (),
1400
1401
segment_inf_x.size (),
1401
1402
segment_index_map,
1402
1403
chan_details_x, chan_details_y,
@@ -1414,7 +1415,8 @@ static void build_rr_graph(const t_graph_type graph_type,
1414
1415
directs, num_directs, clb_to_clb_directs,
1415
1416
is_global_graph,
1416
1417
clock_modeling,
1417
- is_flat);
1418
+ is_flat,
1419
+ router_opts.route_verbosity );
1418
1420
1419
1421
// Verify no incremental node allocation.
1420
1422
// AA: Note that in the case of dedicated networks, we are currently underestimating the additional node count due to the clock networks.
@@ -2069,7 +2071,6 @@ static std::vector<vtr::Matrix<int>> alloc_and_load_actual_fc(const std::vector<
2069
2071
static std::function<void (t_chan_width*)> alloc_and_load_rr_graph (RRGraphBuilder& rr_graph_builder,
2070
2072
t_rr_graph_storage& L_rr_node,
2071
2073
const RRGraphView& rr_graph,
2072
- const t_router_opts& router_opts,
2073
2074
const int num_seg_types,
2074
2075
const int num_seg_types_x,
2075
2076
const t_unified_to_parallel_seg_index& seg_index_map,
@@ -2098,7 +2099,8 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
2098
2099
const t_clb_to_clb_directs* clb_to_clb_directs,
2099
2100
bool is_global_graph,
2100
2101
const enum e_clock_modeling clock_modeling,
2101
- bool /* is_flat*/ ) {
2102
+ bool /* is_flat*/ ,
2103
+ const int route_verbosity) {
2102
2104
// We take special care when creating RR graph edges (there are typically many more
2103
2105
// edges than nodes in an RR graph).
2104
2106
//
@@ -2122,7 +2124,7 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
2122
2124
bool switches_remapped = false ;
2123
2125
2124
2126
// Define verbosity locally using router_opts
2125
- const int verbosity = router_opts. route_verbosity ;
2127
+ const int verbosity = route_verbosity;
2126
2128
2127
2129
int num_edges = 0 ;
2128
2130
/* Connection SINKS and SOURCES to their pins - Initializing IPINs/OPINs. */
@@ -2286,7 +2288,6 @@ static std::function<void(t_chan_width*)> alloc_and_load_rr_graph(RRGraphBuilder
2286
2288
}
2287
2289
}
2288
2290
2289
-
2290
2291
if (grid.get_num_layers () > 1 && sb_conn_map != nullptr ){
2291
2292
uniquify_edges (des_3d_rr_edges_to_create);
2292
2293
alloc_and_load_edges (rr_graph_builder, des_3d_rr_edges_to_create);
0 commit comments