Skip to content

Commit e54b700

Browse files
committed
[VPR] Update code comments in RRGraphBuilder
1 parent 7e3c88f commit e54b700

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

vpr/src/device/rr_graph_builder.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
#ifndef RR_GRAPH_BUILDER_H
22
#define RR_GRAPH_BUILDER_H
33

4-
#include "rr_graph_storage.h"
5-
#include "rr_spatial_lookup.h"
6-
74
/**
85
* @file
96
* @brief This file defines the RRGraphBuilder data structure which allows data modification on a routing resource graph
107
*
11-
* Note that the builder does not own the storage
12-
* It serves a virtual protocol for
13-
* - node_storage: store the node list
14-
* - node_lookup: store a fast look-up for the nodes
8+
* The builder does not own the storage but it serves a virtual protocol for
9+
* - node_storage: store the node list
10+
* - node_lookup: store a fast look-up for the nodes
1511
*
16-
* Note:
12+
* @note
1713
* - This is the only data structre allowed to modify a routing resource graph
1814
*
1915
*/
16+
#include "rr_graph_storage.h"
17+
#include "rr_spatial_lookup.h"
18+
2019
class RRGraphBuilder {
2120
/* -- Constructors -- */
2221
public:
@@ -43,12 +42,13 @@ class RRGraphBuilder {
4342
*
4443
* The node will be added to the lookup for every side it is on (for OPINs and IPINs)
4544
* and for every (x,y) location at which it exists (for wires that span more than one (x,y)).
45+
*
4646
* This function requires a valid node which has already been allocated in the node storage, with
47-
* - a valid node id
48-
* - valid geometry information: xlow/ylow/xhigh/yhigh
49-
* - a valid node type
50-
* - a valid node ptc number
51-
* - a valid side (applicable to OPIN and IPIN nodes only
47+
* - a valid node id
48+
* - valid geometry information: xlow/ylow/xhigh/yhigh
49+
* - a valid node type
50+
* - a valid node ptc number
51+
* - a valid side (applicable to OPIN and IPIN nodes only
5252
*/
5353
void add_node_to_all_locs(RRNodeId node);
5454

0 commit comments

Comments
 (0)