booksim / booksim2

BookSim 2.0
http://nocs.stanford.edu/booksim.html
Other
255 stars 158 forks source link

what is the meaning of 'in_channel' #30

Closed jiaruixiao closed 3 years ago

jiaruixiao commented 3 years ago

Hi guys! Recently I am learning routefunc.cpp in Booksim 2.0. when I use Adaptive_xy_yx_mesh, I hae no idea what's the meaning of 'in_channel' in following code:

` if(in_channel < 2*gN){ x_then_y = (f->vc < (vcBegin + available_vcs));

}

`

Can anyone explain the meaning of 'in_channel<2*gN'? Thanks!