@@ -39,25 +39,26 @@ class RRSpatialLookup {
39
39
/* *
40
40
* @brief Returns the index of the specified routing resource node.
41
41
*
42
- * - (x, y) are the grid location within the FPGA
43
- * - rr_type specifies the type of resource,
44
- * - ptc gives a unique number of resources of that type (e.g. CHANX) at that (x,y).
45
- * All ptcs start at 0 and are positive.
46
- * Depending on what type of resource this is, ptc can be
47
- * - the class number of a common SINK/SOURCE node of grid,
48
- * starting at 0 and go up to class_inf size - 1 of SOURCEs + SINKs in a grid
49
- * - pin number of an input/output pin of a grid. They would normally start at 0
50
- * and go to the number of pins on a block at that (x, y) location
51
- * - track number of a routing wire in a channel. They would normally go from 0
52
- * to channel_width - 1 at that (x,y)
53
- *
54
- * An invalid id will be returned if the node does not exist
55
- *
56
- * Note that for segments (CHANX and CHANY) of length > 1, the segment is
42
+ * @param (x, y) are the grid location within the FPGA
43
+ * @oaram rr_type specifies the type of resource,
44
+ * @param ptc gives a unique number of resources of that type (e.g. CHANX) at that (x,y).
45
+ *
46
+ * @note All ptcs start at 0 and are positive.
47
+ * Depending on what type of resource this is, ptc can be
48
+ * - the class number of a common SINK/SOURCE node of grid,
49
+ * starting at 0 and go up to class_inf size - 1 of SOURCEs + SINKs in a grid
50
+ * - pin number of an input/output pin of a grid. They would normally start at 0
51
+ * and go to the number of pins on a block at that (x, y) location
52
+ * - track number of a routing wire in a channel. They would normally go from 0
53
+ * to channel_width - 1 at that (x,y)
54
+ *
55
+ * @note An invalid id will be returned if the node does not exist
56
+ *
57
+ * @note For segments (CHANX and CHANY) of length > 1, the segment is
57
58
* given an rr_index based on the (x,y) location at which it starts (i.e.
58
59
* lowest (x,y) location at which this segment exists).
59
60
*
60
- * The 'side' argument only applies to IPIN/OPIN types, and specifies which
61
+ * @note The 'side' argument only applies to IPIN/OPIN types, and specifies which
61
62
* side of the grid tile the node should be located on. The value is ignored
62
63
* for non-IPIN/OPIN types
63
64
*
0 commit comments