configs: rearrange the available options in Options.py

It also changes the instantiation of physmem in se.py so as to make
use of the memory size supplied by the mem_size option.
This commit is contained in:
Nilay Vaish
2013-06-28 21:42:26 -05:00
parent b3980cdb9a
commit 516b7849e8
2 changed files with 30 additions and 23 deletions

View File

@@ -157,7 +157,7 @@ if options.smt and options.num_cpus > 1:
np = options.num_cpus
system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)],
physmem = MemClass(range=AddrRange("512MB")),
physmem = MemClass(range=AddrRange(options.mem_size)),
mem_mode = test_mem_mode,
clk_domain = SrcClockDomain(clock = options.sys_clock))