Yes, I believe Jason is going to follow up this patch with further improvements.

Brad


From: Steve Reinhardt [mailto:[email protected]] On Behalf Of Steve 
Reinhardt
Sent: Wednesday, July 04, 2012 5:25 PM
To: Steve Reinhardt; Default; Beckmann, Brad
Subject: Re: Review Request: ruby: changes how Topologies are created

This is an automatically generated e-mail. To reply, visit: 
http://reviews.gem5.org/r/1285/



Ship it!

In the long run I hope we can clean this up even further, but I think this is a 
step in the right direction.


- Steve


On July 2nd, 2012, 10:41 p.m., Brad Beckmann wrote:
Review request for Default.
By Brad Beckmann.

Updated July 2, 2012, 10:41 p.m.

Description

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.


Diffs

  *   configs/example/ruby_direct_test.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/example/ruby_fs.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/example/ruby_mem_test.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/example/ruby_network_test.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/example/ruby_random_test.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/example/se.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/ruby/MESI_CMP_directory.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/ruby/MI_example.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/ruby/MOESI_CMP_directory.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/ruby/MOESI_CMP_token.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/ruby/MOESI_hammer.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/ruby/Network_test.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/ruby/Ruby.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   configs/topologies/BaseTopology.py (PRE-CREATION)
  *   configs/topologies/Cluster.py (PRE-CREATION)
  *   src/mem/ruby/network/topologies/Crossbar.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   src/mem/ruby/network/topologies/Mesh.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   src/mem/ruby/network/topologies/MeshDirCorners.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   src/mem/ruby/network/topologies/Pt2Pt.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   src/mem/ruby/network/topologies/SConscript 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   src/mem/ruby/network/topologies/TopologyCreator.py (PRE-CREATION)
  *   src/mem/ruby/network/topologies/Torus.py 
(d8e5ca139d7c24eeb665ac0aab41e180886278cb)
  *   src/python/m5/SimObject.py (d8e5ca139d7c24eeb665ac0aab41e180886278cb)

View Diff<http://reviews.gem5.org/r/1285/diff/>


_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to