diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-07-19 15:24:22 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-07-19 15:24:22 -0400 |
commit | 1fdf14dd5a6e58f71150d30257b2b6792200c811 (patch) | |
tree | c55382b82e900286556f66033668bb2a9e2c79f5 /configs | |
parent | 82b1a278ec300c67f7faca2ea7db7afb60f223de (diff) | |
download | gem5-1fdf14dd5a6e58f71150d30257b2b6792200c811.tar.xz |
Update configs.
configs/test/test.py:
Update for changes to SEConfig.
--HG--
extra : convert_revision : a089a7db4035889db01d543d9a18ea6526f832ca
Diffstat (limited to 'configs')
-rw-r--r-- | configs/test/test.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/configs/test/test.py b/configs/test/test.py index e1b75f4bc..3b637f70f 100644 --- a/configs/test/test.py +++ b/configs/test/test.py @@ -7,6 +7,7 @@ import m5 import os, optparse, sys m5.AddToPath('../common') from SEConfig import * +from m5.objects import * this_dir = os.path.dirname(__file__) @@ -36,12 +37,10 @@ if options.detailed: process += [smt_process, ] smt_idx += 1 -cpu.workload = process +root = MySESystem(process) if options.timing or options.detailed: - system.mem_mode = 'timing' - - + root.system.mem_mode = 'timing' # instantiate configuration m5.instantiate(root) |