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

fix weights between router and node. #31

Open
wants to merge 56 commits into
base: master
Choose a base branch
from

Conversation

Stfort52
Copy link

@Stfort52 Stfort52 commented Jan 5, 2022

The anynet simulation fails with weighed nodes. For example, the example given in anynet.cpp like the one below fails.

/*
 example 2:
 router 0 node 0 node 1 5 node 2 5

 Router 0 is directly connected to node 0-2. Channel latency is 5cycles for 1 and 2. In 
 this case the latency specification is bidirectional, the injeciton and ejection lat
 for node 1 and 2 are 5-cycle
*/ 

I believe that this is because of the way the original code adds weights to the nodes,
as it does not take into account that node directives can be a head in the line.

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

Successfully merging this pull request may close these issues.

1 participant