Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tile-Hub-Tile #46

Closed
setat opened this issue Oct 27, 2017 · 1 comment
Closed

Tile-Hub-Tile #46

setat opened this issue Oct 27, 2017 · 1 comment

Comments

@setat
Copy link

setat commented Oct 27, 2017

Hi,
In which part of the source code, I can find Tile-Hub-Tile process?
I mean if source tile and destination tile connect to the same hub, we have tile-hub-tile connection,
where can I find this part?

If in hub.cpp, which part of the code exactly?

Hub.cpp......>In this part, line 403:
void Hub::tileToAntennaProcess()
{....
403: r_from_tile[i] = route(flit);
...}
we can have two answers for route(flit);
1-port number which the destination tile is connected or 2- DIRECTION_WIRELESS
we only use DIRECTION_WIRELESS
what if we have "port number which the destination tile is connected" as the returned of route(flit)?

@davidepatti
Copy link
Owner

In the current routing strategies implemented, you go to wireless direction when destination is connected to a different hub. Otherwise you continue to the next hop using wired. It's like driving by car (wired) and discovering that you have reached an airport that has a direct flight to another airport. Of course, any other strategy could be implemented in noxim by adding some code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants