Skip to content

Commit afba6ac

Browse files
committed
fix some comments
1 parent 360f1b0 commit afba6ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

vpr/src/route/router_lookahead_map.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class Cost_Entry {
5858
// This is a 6D array storing the cost to travel from a node of type CHANX/CHANY to a point that is dx, dy further, and is on the "layer_num" layer.
5959
// To store this information, the first index is the layer number that the node under consideration is on, the second index represents the type of channel (X/Y)
6060
// that the node under consideration belongs to, the third is the segment type (specified in the architecture file under the "segmentlist" tag), the fourth is the
61-
// "layer_num" mentioned above, the fifth is dx, and the last one is dy.
61+
// target "layer_num" mentioned above, the fifth is dx, and the last one is dy.
6262
typedef vtr::NdMatrix<Cost_Entry, 6> t_wire_cost_map; //[0..num_layers][0..1][[0..num_seg_types-1][0..num_layers][0..device_ctx.grid.width()-1][0..device_ctx.grid.height()-1]
6363
//[0..1] entry distinguish between CHANX/CHANY start nodes respectively
6464
// The first index is the layer number that the node under consideration is on, and the forth index

vpr/src/route/router_lookahead_map_utils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ static void dijkstra_flood_to_wires(int itile, RRNodeId inode, util::t_src_opin_
2222
static void dijkstra_flood_to_ipins(RRNodeId node, util::t_chan_ipins_delays& chan_ipins_delays);
2323

2424
/**
25-
* @brief Return the maximum ptc number of the SOURCE/OPINs of a tile type
2625
* @param itile
27-
* @return
26+
* @return Return the maximum ptc number of the SOURCE/OPINs of a tile type
2827
*/
2928
static int get_tile_src_opin_max_ptc_from_rr_graph(int itile);
3029

@@ -314,6 +313,7 @@ template void expand_dijkstra_neighbours(const RRGraphView& rr_graph,
314313
t_src_opin_delays compute_router_src_opin_lookahead(bool is_flat) {
315314
vtr::ScopedStartFinishTimer timer("Computing src/opin lookahead");
316315
auto& device_ctx = g_vpr_ctx.device();
316+
const auto
317317
auto& rr_graph = device_ctx.rr_graph;
318318

319319
int num_layers = device_ctx.grid.get_num_layers();

0 commit comments

Comments
 (0)