We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4f3e75 commit 01ddeaeCopy full SHA for 01ddeae
vpr/src/route/router_lookahead/router_lookahead_map.cpp
@@ -515,6 +515,11 @@ static void compute_router_wire_lookahead(const std::vector<t_segment_inf>& segm
515
const auto& grid = device_ctx.grid;
516
517
const size_t num_layers = grid.get_num_layers();
518
+ // The wire look-ahead table has dimension for channel type.
519
+ // In 3-d architectures we have three channel types: CHANX, CHANY, and CHANZ.
520
+ // In 2-d architectures we only have two channel types: CHANX and CHANY.
521
+ // The size of this dimension is determined based on how many layers are available
522
+ // in the architecture.
523
const size_t chan_type_dim_size = (num_layers == 1) ? 2 : 3;
524
525
//Re-allocate
0 commit comments