projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b1a27
)
Update configs.
author
Kevin Lim
<ktlim@umich.edu>
Wed, 19 Jul 2006 19:24:22 +0000
(15:24 -0400)
committer
Kevin Lim
<ktlim@umich.edu>
Wed, 19 Jul 2006 19:24:22 +0000
(15:24 -0400)
configs/test/test.py:
Update for changes to SEConfig.
--HG--
extra : convert_revision :
a089a7db4035889db01d543d9a18ea6526f832ca
configs/test/test.py
patch
|
blob
|
history
diff --git
a/configs/test/test.py
b/configs/test/test.py
index e1b75f4bc8de6fe398de25b990fdbefa6ae5c797..3b637f70f6da66f7d67235842a5e3197e4dd58bb 100644
(file)
--- 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)