ruby: convert Topology to regular class
authorNilay Vaish <nilay@cs.wisc.edu>
Fri, 22 Mar 2013 20:53:23 +0000 (15:53 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Fri, 22 Mar 2013 20:53:23 +0000 (15:53 -0500)
commit5aa43e130acec02bc616008a8758cf5096025c19
treef1277ef0002aadfb911f126ec0537afa572f3789
parent2d501276429ab674c146a86802e62538892fc500
ruby: convert Topology to regular class
The Topology class in Ruby does not need to inherit from SimObject class.
This patch turns it into a regular class. The topology object is now created
in the constructor of the Network class. All the parameters for the topology
class have been moved to the network class.
configs/ruby/Ruby.py
src/mem/ruby/network/Network.cc
src/mem/ruby/network/Network.hh
src/mem/ruby/network/Network.py
src/mem/ruby/network/Topology.cc
src/mem/ruby/network/Topology.hh
src/mem/ruby/network/garnet/BaseGarnetNetwork.cc