src/mem/ruby/network/simple/SimpleNetwork.cc
// From an endpoint node to a switch
From an endpoint node to a switch
From an endpoint node to a switch
void
SimpleNetwork::makeExtInLink(NodeID global_src, SwitchID dest, BasicLink* link,
                          std::vector<NetDest>& routing_table_entry)
{
    NodeID local_src = getLocalNodeID(global_src);
    assert(local_src < m_nodes);
    m_switches[dest]->addInPort(m_toNetQueues[local_src]);
}
void SimpleNetwork :: makeExtInLink ( NodeID global_src , SwitchID dest , BasicLink * link , std :: vector < NetDest > & routing_table_entry ) { NodeID local_src = getLocalNodeID ( global_src ) ; assert ( local_src < m_nodes ) ; m_switches [ dest ] -> addInPort ( m_toNetQueues [ local_src ] ) ; }
From an endpoint node to a switch
From an endpoint node to a switch