Review Board 2.0.15


ruby: changes how Topologies are created

Review Request #1285 - Created July 2, 2012 and submitted

Information
Brad Beckmann
gem5
default
Reviewers
Default
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.

   
Review request changed
Updated (July 11, 2012, 2:43 a.m.)

Status: Closed (submitted)

Posted (July 11, 2012, 10:15 p.m.)
Brad, why can we not move the function instantiateTopology() to Ruby.py?