Replies: 1 comment
-
This question has been answered on the gem5-dev forum. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
gem5 newbie here.
I'm reading the gem5 source and I find line 119 of SwitchAllocator.cc confusing. Why call
m_router->getInputUnit(inport)
in the inner loop even thoughinport
does not appear to have changed?Also, I find the first line of the code flow difficult to parse.
Does this mean that every NI is by definition "connected to one coherence protocol controller on one end, and one router on the other", or do the following steps apply only to NIs that are "connected to one coherence protocol controller on one end, and one router on the other"?
Beta Was this translation helpful? Give feedback.
All reactions