booksim / booksim2

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

What's the coordinate in Booksim2? #6

Closed victorisildur closed 8 years ago

victorisildur commented 8 years ago

Hi, I'm working on a broadcast routefunc on booksim2, and I found the coordinate is quite subtle. The only hint I can get is in the routefunc.cpp's dor_next_mesh() method: It returns 2*dim_left for right or 2*dim_left for left. Well, if my network has 2 dimensions, what's dimension 0, and 2*0 indicate for what? Also, how is router's id calculated? Plz give me some hint for 2 dimension network.

victorisildur commented 8 years ago

Well, seems no one is here. I found the there may have no meaning in talking about 2 dimensions. The code assumes there are many dimensions, and routefunc calc the direction on every dimension.

razzfazz commented 8 years ago

Sorry, you'll be better off asking questions like this on the mailing list.

razzfazz commented 8 years ago

Since there's not actually an issue here, I'll go ahead and close this.