Skip to content

Commit

Permalink
Update draw.h
Browse files Browse the repository at this point in the history
Changes in comments
  • Loading branch information
Meet-Patel2580 authored Sep 10, 2023
1 parent 720e984 commit 11490af
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vpr/src/draw/draw.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,12 @@ bool rgb_is_same(ezgl::color color1, ezgl::color color2);
t_draw_layer_display get_element_visibility_and_transparency(int src_layer, int sink_layer);

/**
* @brief takes in the x and y coordinates of where the user clicked on the screen and returns the corresponding clusterBlockId that represents
* the clb clicked upon by the user on a currently visible FPGA layer. Search for the clb begins from the top layer to ensure to
* return the clusterBlockId of a clb on a higher layer during instances of overlap between clb blocks.
* @brief takes in the x and y world coordinates of where the user clicked on the screen and returns the corresponding clusterBlockId that represents
* the clb clicked upon by the user on a currently visible FPGA layer. Search for the clb begins from the top layer to ensure it
* returns the clusterBlockId of a clb on a higher layer during instances of overlap between clb blocks.
* @param x
* @param y
* @return returns the ClusterBlockId of the clb at the specified (x,y) location as seen by looking downwards from the top of a 3D FPGA.
* @return returns the ClusterBlockId of the clb at the specified (x,y) location (in world coordinates) as seen by looking downwards from the top of a 3D FPGA.
* Chooses the clb on the top visible layer if there are overlapping blocks. Returns EMPTY_BLOCK_ID (-1) otherwise,if clb is not found on any visible layer.
*/
ClusterBlockId get_cluster_block_id_from_xy_loc(double x, double y);
Expand Down

0 comments on commit 11490af

Please sign in to comment.