|
47 | 47 | #include "rr_graph_reader.h"
|
48 | 48 |
|
49 | 49 | /*********************** Subroutines local to this module *******************/
|
| 50 | +void process_connection_boxes(pugi::xml_node parent, const pugiutil::loc_data& loc_data); |
50 | 51 | void process_switches(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
|
51 | 52 | void verify_segments(pugi::xml_node parent, const pugiutil::loc_data& loc_data, const std::vector<t_segment_inf>& segment_inf);
|
52 | 53 | void verify_blocks(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
|
53 | 54 | void process_blocks(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
|
54 | 55 | void verify_grid(pugi::xml_node parent, const pugiutil::loc_data& loc_data, const DeviceGrid& grid);
|
55 | 56 | void process_nodes(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
|
56 |
| -void process_connection_boxes(pugi::xml_node parent, const pugiutil::loc_data& loc_data); |
57 | 57 | void process_edges(pugi::xml_node parent, const pugiutil::loc_data& loc_data, int* wire_to_rr_ipin_switch, const int num_rr_switches);
|
58 | 58 | void process_channels(t_chan_width& chan_width, const DeviceGrid& grid, pugi::xml_node parent, const pugiutil::loc_data& loc_data);
|
59 | 59 | void process_rr_node_indices(const DeviceGrid& grid);
|
@@ -182,11 +182,12 @@ void load_rr_file(const t_graph_type graph_type,
|
182 | 182 |
|
183 | 183 | process_seg_id(next_component, loc_data);
|
184 | 184 |
|
| 185 | + device_ctx.connection_boxes.create_sink_back_ref(); |
| 186 | + |
185 | 187 | device_ctx.chan_width = nodes_per_chan;
|
186 | 188 | device_ctx.read_rr_graph_filename = std::string(read_rr_graph_name);
|
187 | 189 |
|
188 | 190 | check_rr_graph(graph_type, grid, device_ctx.physical_tile_types);
|
189 |
| - device_ctx.connection_boxes.create_sink_back_ref(); |
190 | 191 |
|
191 | 192 | } catch (pugiutil::XmlError& e) {
|
192 | 193 | vpr_throw(VPR_ERROR_ROUTE, read_rr_graph_name, e.line(), "%s", e.what());
|
|
0 commit comments