Skip to content

Commit 5bd4549

Browse files
author
Muhammad Haris Zafar
committed
Adding api validate to rr_graph_builder.h
1 parent 82b7a2d commit 5bd4549

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

vpr/src/device/rr_graph_builder.h

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

120+
/** brief Validate that edge data is partitioned correctly */
121+
inline bool validate() const {
122+
return node_storage_.validate();
123+
}
124+
120125
/* -- Internal data storage -- */
121126
private:
122127
/* TODO: When the refactoring effort finishes,

0 commit comments

Comments
 (0)