Skip to content

Commit e7c888e

Browse files
Compute chany_util with y channel utilization info.
1 parent 0280ba9 commit e7c888e

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)