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/fixed-pipeline | |
parent | 2ca42cd62666f4d13eab259290b6cde5fe677862 (diff) | |
download | gem5-2d501276429ab674c146a86802e62538892fc500.tar.xz |
ruby: network: move routers from topology to network
Diffstat (limited to 'src/mem/ruby/network/garnet/fixed-pipeline')
-rw-r--r-- | src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc index f6fcc2514..c4965af17 100644 --- a/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc +++ b/src/mem/ruby/network/garnet/fixed-pipeline/GarnetNetwork_d.cc @@ -59,9 +59,8 @@ GarnetNetwork_d::GarnetNetwork_d(const Params *p) } // 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_d* router = safe_cast<Router_d*>(*i); m_router_ptr_vector.push_back(router); } @@ -115,7 +114,6 @@ GarnetNetwork_d::init() router->printFaultVector(cout); } } - } GarnetNetwork_d::~GarnetNetwork_d() |