Skip to content

Commit 9aa14da

Browse files
author
Muhammad Haris Zafar
committed
Adding api partition_edges to rr_graph_builder.h
1 parent 82b7a2d commit 9aa14da

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

vpr/src/device/rr_graph_builder.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ class RRGraphBuilder {
117117
return node_storage_.count_rr_switches(num_arch_switches, arch_switch_inf, arch_switch_fanins);
118118
}
119119

120+
/** @brief Sorts edge data such that configurable edges appears before
121+
* non-configurable edges. */
122+
inline void partition_edges() {
123+
node_storage_.partition_edges();
124+
}
125+
120126
/* -- Internal data storage -- */
121127
private:
122128
/* TODO: When the refactoring effort finishes,

0 commit comments

Comments
 (0)