Skip to content

Commit 360f1b0

Browse files
committed
comment on t_wire_cost_map
1 parent 4ef2932 commit 360f1b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vpr/src/route/router_lookahead_map.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ class Cost_Entry {
5555

5656
/* provides delay/congestion estimates to travel specified distances
5757
* in the x/y direction */
58+
// 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.
59+
// 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)
60+
// 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.
5862
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]
5963
//[0..1] entry distinguish between CHANX/CHANY start nodes respectively
6064
// The first index is the layer number that the node under consideration is on, and the forth index

0 commit comments

Comments
 (0)