ruby: changes how Topologies are created
Review Request #1285 - Created July 2, 2012 and submitted
Changeset 9073:da6c24cdff99 --------------------------- ruby: changes how Topologies are created Instead of just passing a list of controllers to the makeTopology function in src/mem/ruby/network/topologies/<Topo>.py we pass in a function pointer which knows how to make the topology, possibly with some extra state set in the configs/ruby/<protocol>.py file. Thus, we can move all of the files from network/topologies to configs/topologies. A new class BaseTopology is added which all topologies in configs/topologies must inheirit from and follow its API.
Posted (July 4, 2012, 10:24 a.m.)
In the long run I hope we can clean this up even further, but I think this is a step in the right direction.
Posted (July 11, 2012, 10:15 p.m.)
Brad, why can we not move the function instantiateTopology() to Ruby.py?