Skip to content

Commit 379557b

Browse files
Updated comments for configurable/non-configurable edges()
1 parent 9e31fbd commit 379557b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

vpr/src/device/rr_graph_view.h

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,22 +259,29 @@ class RRGraphView {
259259
return node_storage_.node_side_string(node);
260260
}
261261

262-
/** @brief Get the number of configurable edges, each configurable edge is controlled by a programmable memory bit. This function is inlined for runtime optimization. */
262+
/** @brief Get the number of configurable edges. This function is inlined for runtime optimization. */
263263
inline t_edge_size num_configurable_edges(RRNodeId node) const {
264264
return node_storage_.num_configurable_edges(node);
265265
}
266266

267-
/** @brief Get the number of non-configurable edges, each non-configurable edge is a hard-wired connection. This function is inlined for runtime optimization. */
267+
/** @brief Get the number of non-configurable edges. This function is inlined for runtime optimization. */
268268
inline t_edge_size num_non_configurable_edges(RRNodeId node) const {
269269
return node_storage_.num_non_configurable_edges(node);
270270
}
271271

272-
/** @brief Get ID range for configurable edges. This function is inlined for runtime optimization. */
272+
/** @brief A configurable edge represents a programmable switch between routing resources, which could be
273+
* a multiplexer
274+
* a tri-state buffer
275+
* a pass gate
276+
* This API gets ID range for configurable edges. This function is inlined for runtime optimization. */
273277
inline edge_idx_range configurable_edges(RRNodeId node) const {
274278
return node_storage_.configurable_edges(node);
275279
}
276280

277-
/** @brief Get ID range for non-configurable edges. This function is inlined for runtime optimization. */
281+
/** @brief A non-configurable edge represents a hard-wired connection between routing resources, which could be
282+
* a non-configurable buffer that can not be turned off
283+
* a short metal connection that can not be turned off
284+
* This API gets ID range for non-configurable edges. This function is inlined for runtime optimization. */
278285
inline edge_idx_range non_configurable_edges(RRNodeId node) const {
279286
return node_storage_.non_configurable_edges(node);
280287
}

0 commit comments

Comments
 (0)