Skip to content

Commit d7b67ea

Browse files
make format
1 parent 109896e commit d7b67ea

File tree

4 files changed

+43
-46
lines changed

4 files changed

+43
-46
lines changed

vpr/src/route/rr_graph_generation/rr_graph.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1608,8 +1608,6 @@ static void alloc_and_load_tile_rr_graph(RRGraphBuilder& rr_graph_builder,
16081608
rr_graph_builder.rr_nodes().shrink_to_fit();
16091609
}
16101610

1611-
1612-
16131611
void free_rr_graph() {
16141612
// Frees all the routing graph data structures, if they have been allocated.
16151613
// I use rr_mem_chunk_list_head as a flag to indicate whether or not the graph has been allocated -- if it is not NULL,

vpr/src/route/rr_graph_generation/rr_graph2.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,16 +1756,16 @@ void load_sblock_pattern_lookup(const int i,
17561756
}
17571757

17581758
void label_wire_muxes(const int chan_num,
1759-
const int seg_num,
1760-
const t_chan_seg_details* seg_details,
1761-
const int seg_type_index,
1762-
const int max_len,
1763-
const enum Direction dir,
1764-
const int max_chan_width,
1765-
const bool check_cb,
1766-
std::vector<int>& labels,
1767-
int* num_wire_muxes,
1768-
int* num_wire_muxes_cb_restricted) {
1759+
const int seg_num,
1760+
const t_chan_seg_details* seg_details,
1761+
const int seg_type_index,
1762+
const int max_len,
1763+
const enum Direction dir,
1764+
const int max_chan_width,
1765+
const bool check_cb,
1766+
std::vector<int>& labels,
1767+
int* num_wire_muxes,
1768+
int* num_wire_muxes_cb_restricted) {
17691769
// COUNT pass then a LOAD pass
17701770
int num_labels = 0;
17711771
int num_labels_restricted = 0;

vpr/src/route/rr_graph_generation/rr_graph2.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ int get_track_to_tracks(RRGraphBuilder& rr_graph_builder,
112112
* @details If @p seg_type_index is UNDEFINED, all segment types are considered.
113113
*/
114114
void label_wire_muxes(const int chan_num,
115-
const int seg_num,
116-
const t_chan_seg_details* seg_details,
117-
const int seg_type_index,
118-
const int max_len,
119-
const enum Direction dir,
120-
const int max_chan_width,
121-
const bool check_cb,
122-
std::vector<int>& labels,
123-
int* num_wire_muxes,
124-
int* num_wire_muxes_cb_restricted);
115+
const int seg_num,
116+
const t_chan_seg_details* seg_details,
117+
const int seg_type_index,
118+
const int max_len,
119+
const enum Direction dir,
120+
const int max_chan_width,
121+
const bool check_cb,
122+
std::vector<int>& labels,
123+
int* num_wire_muxes,
124+
int* num_wire_muxes_cb_restricted);
125125

126126
t_sblock_pattern alloc_sblock_pattern_lookup(const DeviceGrid& grid,
127127
const t_chan_width& nodes_per_chan);

vpr/src/route/rr_graph_generation/rr_graph_opin_chan_edges.cpp

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,30 +52,30 @@ static void build_unidir_rr_opins(RRGraphBuilder& rr_graph_builder,
5252
int& edge_count);
5353

5454
static int get_bidir_opin_connections(RRGraphBuilder& rr_graph_builder,
55-
int layer,
56-
int i,
57-
int j,
58-
int ipin,
59-
RRNodeId from_rr_node,
60-
t_rr_edge_info_set& rr_edges_to_create,
61-
const t_pin_to_track_lookup& opin_to_track_map,
62-
const t_chan_details& chan_details_x,
63-
const t_chan_details& chan_details_y);
55+
int layer,
56+
int i,
57+
int j,
58+
int ipin,
59+
RRNodeId from_rr_node,
60+
t_rr_edge_info_set& rr_edges_to_create,
61+
const t_pin_to_track_lookup& opin_to_track_map,
62+
const t_chan_details& chan_details_x,
63+
const t_chan_details& chan_details_y);
6464

6565
static int get_unidir_opin_connections(RRGraphBuilder& rr_graph_builder,
66-
int layer,
67-
int chan,
68-
int seg,
69-
int Fc,
70-
int seg_type_index,
71-
e_rr_type chan_type,
72-
const t_chan_seg_details* seg_details,
73-
RRNodeId from_rr_node,
74-
t_rr_edge_info_set& rr_edges_to_create,
75-
vtr::NdMatrix<int, 3>& Fc_ofs,
76-
int max_len,
77-
const t_chan_width& nodes_per_chan,
78-
bool* Fc_clipped);
66+
int layer,
67+
int chan,
68+
int seg,
69+
int Fc,
70+
int seg_type_index,
71+
e_rr_type chan_type,
72+
const t_chan_seg_details* seg_details,
73+
RRNodeId from_rr_node,
74+
t_rr_edge_info_set& rr_edges_to_create,
75+
vtr::NdMatrix<int, 3>& Fc_ofs,
76+
int max_len,
77+
const t_chan_width& nodes_per_chan,
78+
bool* Fc_clipped);
7979

8080
static int get_opin_direct_connections(RRGraphBuilder& rr_graph_builder,
8181
const RRGraphView& rr_graph,
@@ -93,7 +93,6 @@ static RRNodeId pick_best_direct_connect_target_rr_node(const RRGraphView& rr_gr
9393
RRNodeId from_rr,
9494
const std::vector<RRNodeId>& candidate_rr_nodes);
9595

96-
9796
static void build_bidir_rr_opins(RRGraphBuilder& rr_graph_builder,
9897
const RRGraphView& rr_graph,
9998
int layer,
@@ -714,4 +713,4 @@ void add_opin_chan_edges(RRGraphBuilder& rr_graph_builder,
714713

715714
Fc_zofs.fill(0);
716715
}
717-
}
716+
}

0 commit comments

Comments
 (0)