Skip to content

Commit ad3cdba

Browse files
committed
Move around stuff to avoid conflicts.
Signed-off-by: Keith Rothman <[email protected]>
1 parent 95b6160 commit ad3cdba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

vpr/src/route/rr_graph_reader.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@
4747
#include "rr_graph_reader.h"
4848

4949
/*********************** Subroutines local to this module *******************/
50+
void process_connection_boxes(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
5051
void process_switches(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
5152
void verify_segments(pugi::xml_node parent, const pugiutil::loc_data& loc_data, const std::vector<t_segment_inf>& segment_inf);
5253
void verify_blocks(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
5354
void process_blocks(pugi::xml_node parent, const pugiutil::loc_data& loc_data);
5455
void verify_grid(pugi::xml_node parent, const pugiutil::loc_data& loc_data, const DeviceGrid& grid);
5556
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);
5757
void process_edges(pugi::xml_node parent, const pugiutil::loc_data& loc_data, int* wire_to_rr_ipin_switch, const int num_rr_switches);
5858
void process_channels(t_chan_width& chan_width, const DeviceGrid& grid, pugi::xml_node parent, const pugiutil::loc_data& loc_data);
5959
void process_rr_node_indices(const DeviceGrid& grid);
@@ -182,11 +182,12 @@ void load_rr_file(const t_graph_type graph_type,
182182

183183
process_seg_id(next_component, loc_data);
184184

185+
device_ctx.connection_boxes.create_sink_back_ref();
186+
185187
device_ctx.chan_width = nodes_per_chan;
186188
device_ctx.read_rr_graph_filename = std::string(read_rr_graph_name);
187189

188190
check_rr_graph(graph_type, grid, device_ctx.physical_tile_types);
189-
device_ctx.connection_boxes.create_sink_back_ref();
190191

191192
} catch (pugiutil::XmlError& e) {
192193
vpr_throw(VPR_ERROR_ROUTE, read_rr_graph_name, e.line(), "%s", e.what());

0 commit comments

Comments
 (0)