summaryrefslogtreecommitdiff
path: root/configs/splash2
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-06-04 23:08:26 -0400
committerSteve Reinhardt <stever@eecs.umich.edu>2005-06-04 23:08:26 -0400
commited743cb3b0cd842650853f1e4df69b46512acb9b (patch)
tree4c4a2e035fb9ad967022df2d2eb2360351e9a115 /configs/splash2
parent609cacc3da432ca25d19e5a41ea11dc7e0f4b2f7 (diff)
downloadgem5-ed743cb3b0cd842650853f1e4df69b46512acb9b.tar.xz
Clean up to work with recent python config changes.
configs/splash2/run.py: parent is now Parent. Need to explicitly instantiate classes. --HG-- extra : convert_revision : c260fad00ca82cb1032e73af2e5caa2ad013067d
Diffstat (limited to 'configs/splash2')
-rw-r--r--configs/splash2/run.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/configs/splash2/run.py b/configs/splash2/run.py
index 2ecdf3fc1..ebbe14939 100644
--- a/configs/splash2/run.py
+++ b/configs/splash2/run.py
@@ -34,14 +34,14 @@ if 'SYSTEM' not in env:
if env['SYSTEM'] == 'Simple':
from SimpleConfig import *
- BaseCPU.workload = parent.workload
+ BaseCPU.workload = Parent.workload
SimpleStandAlone.cpu = [ CPU() for i in xrange(int(env['NP'])) ]
- root = SimpleStandAlone
+ root = SimpleStandAlone()
elif env['SYSTEM'] == 'Detailed':
from DetailedConfig import *
- BaseCPU.workload = parent.workload
+ BaseCPU.workload = Parent.workload
DetailedStandAlone.cpu = [ DetailedCPU() for i in xrange(int(env['NP'])) ]
- root = DetailedStandAlone
+ root = DetailedStandAlone()
else:
panic("The SYSTEM environment variable was set to something improper.\n Use Simple or Detailed\n")