Skip to content

Commit d456bc2

Browse files
author
Umar Iqbal
committed
Adding api rr_segments in rr_graph_view.h
1 parent a6e200e commit d456bc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vpr/src/device/rr_graph_view.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,10 @@ class RRGraphView {
259259
return node_lookup_;
260260
}
261261

262+
inline const t_segment_inf& rr_segments(int seg_id) const {
263+
return rr_segments_[seg_id];
264+
}
265+
262266
/* -- Internal data storage -- */
263267
/* Note: only read-only object or data structures are allowed!!! */
264268
private:

0 commit comments

Comments
 (0)