Skip to content

Commit ed3539f

Browse files
author
Muhammad Haris Zafar
committed
Adding api add_node_side to rr_graph_builder.h
1 parent b3e8685 commit ed3539f

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
@@ -102,6 +102,12 @@ class RRGraphBuilder {
102102
node_storage_.set_node_direction(id, new_direction);
103103
}
104104

105+
/** @brief Add the side where the node physically locates on a logic block.
106+
* Mainly applicable to IPIN and OPIN nodes.*/
107+
inline void add_node_side(RRNodeId id, e_side new_side) {
108+
node_storage_.add_node_side(id, new_side);
109+
}
110+
105111
/* -- Internal data storage -- */
106112
private:
107113
/* TODO: When the refactoring effort finishes,

0 commit comments

Comments
 (0)