From 11490af8b88cb8c3dc9d6f892a7e1c52cdfe9bf9 Mon Sep 17 00:00:00 2001 From: Meet Patel <77514463+Meet-Patel2580@users.noreply.github.com> Date: Sun, 10 Sep 2023 14:09:33 -0400 Subject: [PATCH] Update draw.h Changes in comments --- vpr/src/draw/draw.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vpr/src/draw/draw.h b/vpr/src/draw/draw.h index dcc9b0f51eb..1c39f12f49b 100644 --- a/vpr/src/draw/draw.h +++ b/vpr/src/draw/draw.h @@ -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);