diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-12-18 01:52:57 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-12-18 01:52:57 -0500 |
commit | 45ea1549c9cec71b5119702056fad20a0db1ebdf (patch) | |
tree | b420d99a930c9209664884edd299c219e0136d05 /configs | |
parent | 71909a50de2dd5154622c936179d97ec5220f872 (diff) | |
download | gem5-45ea1549c9cec71b5119702056fad20a0db1ebdf.tar.xz |
Checkpointing: Fix a bug in the simulation script when restoring without standard switch and change some ifs to work with the default port since every port is now connected to something.
--HG--
extra : convert_revision : 72507cf13e58465291b0dce6322e853bee5a2b89
Diffstat (limited to 'configs')
-rw-r--r-- | configs/common/Simulation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index 84628b347..1ff36c5d0 100644 --- a/configs/common/Simulation.py +++ b/configs/common/Simulation.py @@ -91,7 +91,7 @@ def run(options, root, testsys, cpu_class): switch_cpus[i].workload = testsys.cpu[i].workload switch_cpus[i].clock = testsys.cpu[0].clock - root.switch_cpus = switch_cpus + testsys.switch_cpus = switch_cpus switch_cpu_list = [(testsys.cpu[i], switch_cpus[i]) for i in xrange(np)] if options.standard_switch: |