diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-08-21 12:31:59 -0400 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-08-21 12:31:59 -0400 |
commit | 21b21c63b02456276ebf3b49d61dc42156a20b8e (patch) | |
tree | 0a81418f0d2788380ae0379f0a28d106225256bf | |
parent | 25643e07c8966d2239d577073f7f07f95e4e1e4e (diff) | |
download | gem5-21b21c63b02456276ebf3b49d61dc42156a20b8e.tar.xz |
fs.py:
Add temporary cpu.mem parameter settings.
configs/example/fs.py:
Add temporary cpu.mem parameter settings.
--HG--
extra : convert_revision : d7c2fcd8df8dc809b0511485877b2a85769aaf43
-rw-r--r-- | configs/example/fs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index b26d31040..312a96d38 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -90,15 +90,18 @@ if len(bm) == 2: s1 = makeLinuxAlphaSystem(mem_mode, bm[0]) s1.cpu = cpu cpu.connectMemPorts(s1.membus) + cpu.mem = s1.physmem s2 = makeLinuxAlphaSystem(mem_mode, bm[1]) s2.cpu = cpu2 cpu2.connectMemPorts(s2.membus) + cpu2.mem = s2.physmem root = makeDualRoot(s1, s2, options.etherdump) elif len(bm) == 1: root = Root(clock = '1THz', system = makeLinuxAlphaSystem(mem_mode, bm[0])) root.system.cpu = cpu cpu.connectMemPorts(root.system.membus) + cpu.mem = root.system.physmem else: print "Error I don't know how to create more than 2 systems." sys.exit(1) |