Skip to content

Commit 109896e

Browse files
doxygen comment for add_opin_chan_edges()
1 parent a577480 commit 109896e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

vpr/src/route/rr_graph_generation/rr_graph_opin_chan_edges.h

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,23 @@
55
#include "rr_graph_type.h"
66
#include "rr_edge.h"
77

8-
98
class RRGraphBuilder;
109
class RRGraphView;
1110
struct t_chan_width;
1211
struct t_bottleneck_link;
1312
struct t_clb_to_clb_directs;
1413

14+
/**
15+
* @brief Builds all OPIN-->CHAN edges in the RR graph.
16+
*
17+
* For each grid tile (all layers and sides), connects OPIN nodes to adjacent
18+
* CHANX/CHANY wires based on architecture directionality:
19+
* - **BI_DIRECTIONAL**: uses pin-to-track lookups.
20+
* - **UNI_DIRECTIONAL**: distributes Fc connections using staggered offsets.
21+
*
22+
* Also adds direct CLB-to-CLB pin connections and inter-die (3D) links.
23+
* Duplicates are removed before committing edges to the RR graph.
24+
*/
1525
void add_opin_chan_edges(RRGraphBuilder& rr_graph_builder,
1626
const RRGraphView& rr_graph,
1727
size_t num_seg_types,

0 commit comments

Comments
 (0)