config: ruby: remove memory controller from network test
authorNilay Vaish <nilay@cs.wisc.edu>
Sat, 19 Apr 2014 14:00:30 +0000 (09:00 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Sat, 19 Apr 2014 14:00:30 +0000 (09:00 -0500)
It is not in use and not required as such.

configs/ruby/Network_test.py

index d331163b307099c4c0f580b235585b3cf4d29214..553927bb7332196a93042e84ce31c13019732de8 100644 (file)
@@ -101,23 +101,7 @@ def create_system(options, system, dma_ports, ruby_system):
     assert(phys_mem_size % options.num_dirs == 0)
     mem_module_size = phys_mem_size / options.num_dirs
 
-    # Run each of the ruby memory controllers at a ratio of the frequency of
-    # the ruby system.
-    # clk_divider value is a fix to pass regression.
-    ruby_system.memctrl_clk_domain = DerivedClockDomain(
-                                          clk_domain=ruby_system.clk_domain,
-                                          clk_divider=3)
-
     for i in xrange(options.num_dirs):
-        #
-        # Create the Ruby objects associated with the directory controller
-        #
-
-        mem_cntrl = RubyMemoryControl(
-                              clk_domain = ruby_system.memctrl_clk_domain,
-                              version = i,
-                              ruby_system = ruby_system)
-
         dir_size = MemorySize('0B')
         dir_size.value = mem_module_size
 
@@ -125,7 +109,6 @@ def create_system(options, system, dma_ports, ruby_system):
                                          directory = \
                                          RubyDirectoryMemory(version = i,
                                                              size = dir_size),
-                                         memBuffer = mem_cntrl,
                                          ruby_system = ruby_system)
 
         exec("ruby_system.dir_cntrl%d = dir_cntrl" % i)