Skip to content

Commit 3165d02

Browse files
Merge pull request #2929 from verilog-to-routing/temp_fix_print_channel_stats
Fixed ignored y channels in computing routing channel utilization histogram.
2 parents 0280ba9 + e7c888e commit 3165d02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/route/channel_stats.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void print_channel_stats(bool is_flat) {
3636
for (size_t x = 0; x < device_ctx.grid.width() - 1; ++x) {
3737
for (size_t y = 0; y < device_ctx.grid.height() - 1; ++y) {
3838
float chanx_util = routing_util(chanx_usage[x][y], chanx_avail[x][y]);
39-
float chany_util = routing_util(chanx_usage[x][y], chanx_avail[x][y]);
39+
float chany_util = routing_util(chany_usage[x][y], chany_avail[x][y]);
4040

4141
for (float util : {chanx_util, chany_util}) {
4242
//Record peak utilization

0 commit comments

Comments
 (0)