Clean up to work with recent python config changes.
authorSteve Reinhardt <stever@eecs.umich.edu>
Sun, 5 Jun 2005 03:08:26 +0000 (23:08 -0400)
committerSteve Reinhardt <stever@eecs.umich.edu>
Sun, 5 Jun 2005 03:08:26 +0000 (23:08 -0400)
configs/splash2/run.py:
    parent is now Parent.
    Need to explicitly instantiate classes.

--HG--
extra : convert_revision : c260fad00ca82cb1032e73af2e5caa2ad013067d

configs/splash2/run.py

index 2ecdf3fc109059da157fbefa62e8154bf585fa6d..ebbe14939fbc3a5a7a0d149a92d3cd7ebbfdcceb 100644 (file)
@@ -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")