Hi everybody
I am new in gem5 an I have some elementary questions about definitions and
variables in ruby mode.
for example I consider a 4*4 mesh network with garnet.

1- In "mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc", was
used m_nodes at loop of init function.
What is m_nodes?? are routers?? are cores? how many nodes are there for 4*4
mesh ?

2- In constructor of previous file, was wrote :
// record the network interfaces
what does Network interface mean in gem5?? which element are network
interface?
what is m_nis?? :
std::vector<NetworkInterface *> m_nis;   // All NI's in Network

3- In garnetNetwork.cc ( *GarnetNetwork::init()* ) was wrote:
    for (int i=0; i < m_nodes; i++) {
        m_nis[i]->addNode(m_toNetQueues[i], m_fromNetQueues[i]);
    }
what does this loop do?

Thanks
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to