Ruby: Use map option for selecting b/w sparse and memory vector

This commit is contained in:
Nilay Vaish 2012-01-11 13:53:38 -06:00
parent 03229f2575
commit c57dc3ffcb

View file

@ -67,7 +67,8 @@ def define_options(parser):
def create_system(options, system, piobus = None, dma_devices = []): def create_system(options, system, piobus = None, dma_devices = []):
system.ruby = RubySystem(clock = options.clock, 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 ruby = system.ruby
protocol = buildEnv['PROTOCOL'] protocol = buildEnv['PROTOCOL']