@@ -30,7 +30,8 @@ class RRSpatialLookup {
30
30
31
31
/* -- Accessors -- */
32
32
public:
33
- /* Returns the index of the specified routing resource node.
33
+ /* *
34
+ * Returns the index of the specified routing resource node.
34
35
* - (x, y) are the grid location within the FPGA
35
36
* - rr_type specifies the type of resource,
36
37
* - ptc gives a unique number of resources of that type (e.g. CHANX) at that (x,y).
@@ -64,7 +65,8 @@ class RRSpatialLookup {
64
65
65
66
/* -- Mutators -- */
66
67
public:
67
- /* Register a node in the fast look-up
68
+ /* *
69
+ * Register a node in the fast look-up
68
70
* - You must have a valid node id to register the node in the lookup
69
71
* - (x, y) are the coordinate of the node to be indexable in the fast look-up
70
72
* - type is the type of a node
@@ -90,20 +92,23 @@ class RRSpatialLookup {
90
92
int ptc,
91
93
e_side side);
92
94
93
- /* Mirror the last dimension of a look-up, i.e., a list of nodes, from a source coordinate to
95
+ /* *
96
+ * Mirror the last dimension of a look-up, i.e., a list of nodes, from a source coordinate to
94
97
* a destination coordinate.
95
98
* This function is mostly need by SOURCE and SINK nodes which are indexable in multiple locations.
96
99
* Considering a bounding box (x, y)->(x + width, y + height) of a multi-height and multi-width grid,
97
100
* SOURCE and SINK nodes are indexable in any location inside the boundry.
98
101
*
99
- * Note: currently this function only accept SOURCE/SINK nodes. May unlock for other depending on needs
102
+ * Note: currently this function only accepts SOURCE/SINK nodes. May unlock for the other types
103
+ * depending on needs
100
104
*/
101
105
void mirror_nodes (const vtr::Point<int >& src_coord,
102
106
const vtr::Point<int >& des_coord,
103
107
t_rr_type type,
104
108
e_side side);
105
109
106
- /* Resize three dimensions of the lookup under a given type of node to be memory efficient
110
+ /* *
111
+ * Resize three dimensions of the lookup under a given type of node to be memory efficient
107
112
* This function is called to expand the matrix when x, y or side
108
113
* when one or more of them beyond current capacity
109
114
*
0 commit comments