@@ -366,7 +366,6 @@ static void build_rr_graph(e_graph_type graph_type,
366366 const std::vector<t_direct_inf>& directs,
367367 const std::vector<t_scatter_gather_pattern>& scatter_gather_patterns,
368368 const std::vector<t_layer_def>& interposer_inf,
369- RRSwitchId& wire_to_rr_ipin_switch,
370369 bool is_flat,
371370 int * Warnings,
372371 const int route_verbosity);
@@ -455,8 +454,6 @@ void create_rr_graph(e_graph_type graph_type,
455454 device_ctx.arch ,
456455 &mutable_device_ctx.chan_width ,
457456 router_opts.base_cost_type ,
458- &det_routing_arch.wire_to_rr_ipin_switch ,
459- &det_routing_arch.wire_to_arch_ipin_switch_between_dice ,
460457 det_routing_arch.read_rr_graph_filename .c_str (),
461458 &mutable_device_ctx.loaded_rr_graph_filename ,
462459 router_opts.read_rr_edge_metadata ,
@@ -492,7 +489,6 @@ void create_rr_graph(e_graph_type graph_type,
492489 directs,
493490 device_ctx.arch ->scatter_gather_patterns ,
494491 device_ctx.arch ->grid_layout ().layers ,
495- det_routing_arch.wire_to_rr_ipin_switch ,
496492 is_flat,
497493 Warnings,
498494 router_opts.route_verbosity );
@@ -512,7 +508,6 @@ void create_rr_graph(e_graph_type graph_type,
512508 det_routing_arch.R_minW_pmos ,
513509 router_opts.base_cost_type ,
514510 directs,
515- det_routing_arch.wire_to_rr_ipin_switch ,
516511 det_routing_arch.shrink_boundary , // Shrink to the smallest boundary, no routing wires for empty zone
517512 det_routing_arch.perimeter_cb , // Now I/O or any programmable blocks on perimeter can have full cb access (both cbx and cby)
518513 det_routing_arch.through_channel , // Allow/Prohibit through tracks across multi-height and multi-width grids
@@ -693,7 +688,6 @@ static void build_rr_graph(e_graph_type graph_type,
693688 const std::vector<t_direct_inf>& directs,
694689 const std::vector<t_scatter_gather_pattern>& scatter_gather_patterns,
695690 const std::vector<t_layer_def>& interposer_inf,
696- RRSwitchId& wire_to_rr_ipin_switch,
697691 bool is_flat,
698692 int * Warnings,
699693 const int route_verbosity) {
@@ -1115,9 +1109,7 @@ static void build_rr_graph(e_graph_type graph_type,
11151109 g_vpr_ctx.mutable_device ().switch_fanin_remap ,
11161110 device_ctx.all_sw_inf ,
11171111 R_minW_nmos,
1118- R_minW_pmos,
1119- wire_to_arch_ipin_switch,
1120- wire_to_rr_ipin_switch);
1112+ R_minW_pmos);
11211113
11221114 // Partition the rr graph edges for efficient access to configurable/non-configurable
11231115 // edge subsets. Must be done after RR switches have been allocated
@@ -1126,7 +1118,7 @@ static void build_rr_graph(e_graph_type graph_type,
11261118 // Save the channel widths for the newly constructed graph
11271119 device_ctx.chan_width = nodes_per_chan;
11281120
1129- rr_graph_externals (segment_inf, segment_inf_x, segment_inf_y, segment_inf_z, wire_to_rr_ipin_switch, base_cost_type);
1121+ rr_graph_externals (segment_inf, segment_inf_x, segment_inf_y, segment_inf_z, base_cost_type);
11301122
11311123 const VibDeviceGrid vib_grid;
11321124 check_rr_graph (device_ctx.rr_graph ,
@@ -1236,22 +1228,18 @@ void build_tile_rr_graph(RRGraphBuilder& rr_graph_builder,
12361228 delayless_switch);
12371229
12381230 t_arch_switch_fanin switch_fanin_remap;
1239- RRSwitchId dummy_sw_id;
12401231 alloc_and_load_rr_switch_inf (rr_graph_builder,
12411232 switch_fanin_remap,
12421233 sw_map,
12431234 det_routing_arch.R_minW_nmos ,
1244- det_routing_arch.R_minW_pmos ,
1245- det_routing_arch.wire_to_arch_ipin_switch ,
1246- dummy_sw_id);
1235+ det_routing_arch.R_minW_pmos );
12471236 rr_graph_builder.partition_edges ();
12481237}
12491238
12501239void rr_graph_externals (const std::vector<t_segment_inf>& segment_inf,
12511240 const std::vector<t_segment_inf>& segment_inf_x,
12521241 const std::vector<t_segment_inf>& segment_inf_y,
12531242 const std::vector<t_segment_inf>& segment_inf_z,
1254- RRSwitchId wire_to_rr_ipin_switch,
12551243 e_base_cost_type base_cost_type) {
12561244 const DeviceContext& device_ctx = g_vpr_ctx.device ();
12571245 const RRGraphView& rr_graph = device_ctx.rr_graph ;
@@ -1260,9 +1248,9 @@ void rr_graph_externals(const std::vector<t_segment_inf>& segment_inf,
12601248 vtr::vector<RRIndexedDataId, t_rr_indexed_data>& rr_indexed_data = mutable_device_ctx.rr_indexed_data ;
12611249 bool echo_enabled = getEchoEnabled () && isEchoFileEnabled (E_ECHO_RR_GRAPH_INDEXED_DATA);
12621250 const char * echo_file_name = getEchoFileName (E_ECHO_RR_GRAPH_INDEXED_DATA);
1263- add_rr_graph_C_from_switches (rr_graph. rr_switch_inf (wire_to_rr_ipin_switch). Cin );
1251+ add_rr_graph_C_from_switches ();
12641252 alloc_and_load_rr_indexed_data (rr_graph, grid, segment_inf, segment_inf_x, segment_inf_y, segment_inf_z,
1265- rr_indexed_data, wire_to_rr_ipin_switch, base_cost_type, echo_enabled, echo_file_name);
1253+ rr_indexed_data, base_cost_type, echo_enabled, echo_file_name);
12661254 // load_rr_index_segments(segment_inf.size());
12671255}
12681256
0 commit comments