Skip to content

Commit 36eae90

Browse files
doxygen comment for build_intra_cluster_rr_graph()
1 parent 77cf5fa commit 36eae90

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

vpr/src/route/rr_graph_generation/rr_graph_intra_cluster.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ static void alloc_and_load_intra_cluster_rr_graph(RRGraphBuilder& rr_graph_build
260260
physical_tile,
261261
load_rr_graph);
262262

263-
//Create the actual SOURCE->OPIN, IPIN->SINK edges
263+
// Create the actual SOURCE->OPIN, IPIN->SINK edges
264264
uniquify_edges(rr_edges_to_create);
265265
rr_graph_builder.alloc_and_load_edges(&rr_edges_to_create);
266266
num_edges += rr_edges_to_create.size();
@@ -382,8 +382,7 @@ static void build_cluster_internal_edges(RRGraphBuilder& rr_graph_builder,
382382
add_pb_child_to_list(pb_q, pb);
383383
}
384384

385-
// Edges going in/out of the nodes on the chain are not added by the previous functions, they are added
386-
// by this function
385+
// Edges going in/out of the nodes on the chain are not added by the previous functions, they are added by this function
387386
num_collapsed_nodes += add_edges_for_collapsed_nodes(rr_graph_builder,
388387
rr_edges_to_create,
389388
physical_type,
@@ -998,7 +997,7 @@ void build_intra_cluster_rr_graph(e_graph_type graph_type,
998997
const DeviceGrid& grid,
999998
const std::vector<t_physical_tile_type>& types,
1000999
const RRGraphView& rr_graph,
1001-
const int delayless_switch,
1000+
int delayless_switch,
10021001
float R_minW_nmos,
10031002
float R_minW_pmos,
10041003
RRGraphBuilder& rr_graph_builder,

vpr/src/route/rr_graph_generation/rr_graph_intra_cluster.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@ class RRGraphView;
99
class DeviceGrid;
1010
struct t_physical_tile_type;
1111

12+
/**
13+
* @brief Builds the intra-cluster portion of the RR graph.
14+
*
15+
* Creates SOURCE/OPIN, IPIN/SINK, and internal pin-to-pin edges inside each
16+
* cluster, collapsing pin chains, assigning intra-tile switches, and
17+
* performing consistency checks on the resulting RR graph.
18+
*/
1219
void build_intra_cluster_rr_graph(e_graph_type graph_type,
1320
const DeviceGrid& grid,
1421
const std::vector<t_physical_tile_type>& types,
1522
const RRGraphView& rr_graph,
16-
const int delayless_switch,
23+
int delayless_switch,
1724
float R_minW_nmos,
1825
float R_minW_pmos,
1926
RRGraphBuilder& rr_graph_builder,

0 commit comments

Comments
 (0)