Ruby: Use map option for selecting b/w sparse and memory vector
authorNilay Vaish <nilay@cs.wisc.edu>
Wed, 11 Jan 2012 19:53:38 +0000 (13:53 -0600)
committerNilay Vaish <nilay@cs.wisc.edu>
Wed, 11 Jan 2012 19:53:38 +0000 (13:53 -0600)
configs/ruby/Ruby.py

index b70ffe177fc6eb38288a3f7ccc501dcffbb00382..a07bea1bbb720bdf3e9a46e9fee16d45dcaad873 100644 (file)
@@ -67,7 +67,8 @@ def define_options(parser):
 def create_system(options, system, piobus = None, dma_devices = []):
 
     system.ruby = RubySystem(clock = options.clock,
-                             stats_filename = options.ruby_stats)
+                             stats_filename = options.ruby_stats,
+                             no_mem_vec = options.use_map)
     ruby = system.ruby
 
     protocol = buildEnv['PROTOCOL']