Skip to content

Commit

Permalink
Added Doxygen comments to RRSpatialLookup::remove_node()
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Shreve committed Jul 6, 2024
1 parent d5f50fc commit c16f7df
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions libs/librrgraph/src/base/rr_spatial_lookup.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,23 @@ class RRSpatialLookup {
int ptc,
e_side side = SIDES[0]);

/**
* @brief Remove a node in the fast lookup.
*
* @warning
* This function does not check for out-of-bounds/indexing errors. Make sure that the
* parameters you provide point to a node that is already in the lookup to avoid
* potential segfaults/unwanted behaviour.
*
* @param layer specified which FPGA die the node is located at (e.g. multi-die(3D) FPGA)
* @param (x, y) are the coordinate of the node
* @param type is the type of a node
* @param ptc is a feature number of a node, which can be
* - the class number of a common SINK/SOURCE node of grid,
* - pin index in a tile when type is OPIN/IPIN
* - track index in a routing channel when type is CHANX/CHANY
* @param side is the side of node on the tile, applicable to OPIN/IPIN
*/
void remove_node(RRNodeId node,
int layer,
int x,
Expand Down

0 comments on commit c16f7df

Please sign in to comment.