diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-22 15:53:22 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2013-03-22 15:53:22 -0500 |
commit | 2d501276429ab674c146a86802e62538892fc500 (patch) | |
tree | 11bbe0bd00647b64046cdf2c52a13fbfa07030d0 /src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc | |
parent | 2ca42cd62666f4d13eab259290b6cde5fe677862 (diff) | |
download | gem5-2d501276429ab674c146a86802e62538892fc500.tar.xz |
ruby: network: move routers from topology to network
Diffstat (limited to 'src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc')
-rw-r--r-- | src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc index a60d23457..ed75a26d1 100644 --- a/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc +++ b/src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc @@ -53,9 +53,8 @@ GarnetNetwork::GarnetNetwork(const Params *p) m_number_of_pipe_stages = p->number_of_pipe_stages; // record the routers - for (vector<BasicRouter*>::const_iterator i = - m_topology_ptr->params()->routers.begin(); - i != m_topology_ptr->params()->routers.end(); ++i) { + for (vector<BasicRouter*>::const_iterator i = p->routers.begin(); + i != p->routers.end(); ++i) { Router* router = safe_cast<Router*>(*i); m_router_ptr_vector.push_back(router); } |