Skip to content

Commit dc4a62f

Browse files
num_non_configurable_edges() API added
1 parent 5527733 commit dc4a62f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

vpr/src/device/rr_graph_view.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,11 @@ class RRGraphView {
254254
return node_storage_.num_configurable_edges(node);
255255
}
256256

257+
/** @brief Get the number of non-configurable edges. This function is inlined for runtime optimization. */
258+
inline t_edge_size num_non_configurable_edges(RRNodeId node) const {
259+
return node_storage_.num_non_configurable_edges(node);
260+
}
261+
257262
/** @brief Get ID range for edges. This function is inlined for runtime optimization. */
258263
inline edge_idx_range edges(RRNodeId node) const {
259264
return node_storage_.edges(node);

vpr/src/route/rr_node_impl.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ inline edge_idx_range t_rr_node::non_configurable_edges() const {
7878
return storage_->non_configurable_edges(id_);
7979
}
8080

81-
inline t_edge_size t_rr_node::num_non_configurable_edges() const {
82-
return storage_->num_non_configurable_edges(id_);
83-
}
84-
8581
inline int t_rr_node::edge_sink_node(t_edge_size iedge) const {
8682
size_t inode = (size_t)storage_->edge_sink_node(id_, iedge);
8783
return inode;

0 commit comments

Comments
 (0)