diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-10-24 13:10:31 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-10-24 13:10:31 -0400 |
commit | 86bd01dfc99e4bb40b5d7266e12b843285847c7c (patch) | |
tree | a56320b124c885b4b1e333b981431582370ccd14 /configs | |
parent | 0f98905ecca68474769546a3bad5c346d952819d (diff) | |
download | gem5-86bd01dfc99e4bb40b5d7266e12b843285847c7c.tar.xz |
Fix fs.py. Lisa did you test this? Is there some wierd python version thing?
--HG--
extra : convert_revision : 6df5f90d5b66e7af27d4f524744b9dc3c703a588
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/fs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index a9daf63be..76b62a066 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -152,8 +152,8 @@ else: sys.exit(1) if options.standard_switch: - switch_cpus = [TimingSimpleCPU(defer_registration=True, cpu_id=(np+i) for i in xrange(np))] - switch_cpus1 = [DerivO3CPU(defer_registration=True, cpu_id=(2*np+i) for i in xrange(np))] + switch_cpus = [TimingSimpleCPU(defer_registration=True, cpu_id=(np+i)) for i in xrange(np)] + switch_cpus1 = [DerivO3CPU(defer_registration=True, cpu_id=(2*np+i)) for i in xrange(np)] for i in xrange(np): switch_cpus[i].system = test_sys switch_cpus1[i].system = test_sys @@ -176,7 +176,7 @@ m5.instantiate(root) if options.checkpoint_dir: cptdir = options.checkpoint_dir else: - cptdir = getcwd() + cptdir = os.getcwd() if options.checkpoint_restore: from os.path import isdir |