Skip to content

Commit c16f7df

Browse files
author
Nathan Shreve
committed
Added Doxygen comments to RRSpatialLookup::remove_node()
1 parent d5f50fc commit c16f7df

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

libs/librrgraph/src/base/rr_spatial_lookup.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,23 @@ class RRSpatialLookup {
159159
int ptc,
160160
e_side side = SIDES[0]);
161161

162+
/**
163+
* @brief Remove a node in the fast lookup.
164+
*
165+
* @warning
166+
* This function does not check for out-of-bounds/indexing errors. Make sure that the
167+
* parameters you provide point to a node that is already in the lookup to avoid
168+
* potential segfaults/unwanted behaviour.
169+
*
170+
* @param layer specified which FPGA die the node is located at (e.g. multi-die(3D) FPGA)
171+
* @param (x, y) are the coordinate of the node
172+
* @param type is the type of a node
173+
* @param ptc is a feature number of a node, which can be
174+
* - the class number of a common SINK/SOURCE node of grid,
175+
* - pin index in a tile when type is OPIN/IPIN
176+
* - track index in a routing channel when type is CHANX/CHANY
177+
* @param side is the side of node on the tile, applicable to OPIN/IPIN
178+
*/
162179
void remove_node(RRNodeId node,
163180
int layer,
164181
int x,

0 commit comments

Comments
 (0)