Skip to content

Commit 8c61356

Browse files
committed
[vpr][route][lookahead] fix comment to show that the second index in wire_cost_map index is target layer
1 parent a342b67 commit 8c61356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/route/router_lookahead_map.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ class MapLookahead : public RouterLookahead {
4747
// 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)
4848
// 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
4949
// target "layer_num" mentioned above, the fifth is dx, and the last one is dy.
50-
typedef vtr::NdMatrix<util::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]
50+
typedef vtr::NdMatrix<util::Cost_Entry, 6> t_wire_cost_map; //[0..num_layers][0..num_layers][0..1][[0..num_seg_types-1][0..device_ctx.grid.width()-1][0..device_ctx.grid.height()-1]
5151
//[0..1] entry distinguish between CHANX/CHANY start nodes respectively
52-
// The first index is the layer number that the node under consideration is on, and the forth index
52+
// The first index is the layer number that the node under consideration is on, and the second index
5353
// is the layer number that the target node is on.
5454

5555
void read_router_lookahead(const std::string& file);

0 commit comments

Comments
 (0)