Skip to content

Commit 38c4af4

Browse files
committed
[lib][rr_graph] add comment for edge_sw_template_id_
1 parent 93c3a6a commit 38c4af4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

libs/librrgraph/src/base/rr_graph_storage.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,6 +1101,17 @@ class t_rr_graph_storage {
11011101
*/
11021102
vtr::vector<RREdgeId, bool> edge_remapped_;
11031103

1104+
/** @brief
1105+
* This vector stores the template ID corresponding to each edge.
1106+
* It is primarily used for the tileable RR Graph. In a tileable RR Graph,
1107+
* we have a limited set of unique switch block patterns that are
1108+
* instantiated across the FPGA array. Each edge in a pattern has an ID.
1109+
* This data structure stores the ID of the pattern edge associated with
1110+
* each RR edge (i.e., the instantiated edge).
1111+
*
1112+
* This information can be used for various analyses, such as identifying
1113+
* which edges within each pattern are used most or least frequently.
1114+
*/
11041115
vtr::vector<RREdgeId, std::string> edge_sw_template_id_;
11051116

11061117
/** @brief

0 commit comments

Comments
 (0)