summaryrefslogtreecommitdiff
path: root/configs/example/se.py
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-06-28 21:42:26 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-06-28 21:42:26 -0500
commit516b7849e8efb369ede9c711309667d48897c9c2 (patch)
treec5acb0b62c4aba1d1f470cece66e115ac70347f2 /configs/example/se.py
parentb3980cdb9a511227d5b2eb2d4ba75fde34cb209b (diff)
downloadgem5-516b7849e8efb369ede9c711309667d48897c9c2.tar.xz
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.
Diffstat (limited to 'configs/example/se.py')
-rw-r--r--configs/example/se.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index a564901a3..63f6ddc80 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -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))