Skip to content

Updated comments to elaborate configurable/non-configurable edges() #1942

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions vpr/src/device/rr_graph_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,12 +269,19 @@ class RRGraphView {
return node_storage_.num_non_configurable_edges(node);
}

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

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