projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f8318
)
Include check for making sure caches are enabled.
author
Kevin Lim
<ktlim@umich.edu>
Sun, 26 Nov 2006 16:46:58 +0000
(11:46 -0500)
committer
Kevin Lim
<ktlim@umich.edu>
Sun, 26 Nov 2006 16:46:58 +0000
(11:46 -0500)
--HG--
extra : convert_revision :
e3902b065db524ebe5bf762e44a840133ccb8d75
configs/common/Simulation.py
patch
|
blob
|
history
diff --git
a/configs/common/Simulation.py
b/configs/common/Simulation.py
index 374ff3fc2521598a38a00da9ad09c545fd6bd2ee..e037d03436cd091dd6e29947fc521a993d51a4e4 100644
(file)
--- a/
configs/common/Simulation.py
+++ b/
configs/common/Simulation.py
@@
-39,6
+39,9
@@
def setCPUClass(options):
if options.timing:
TmpClass = TimingSimpleCPU
elif options.detailed:
+ if not options.caches:
+ print "O3 CPU must be used with caches"
+ sys.exit(1)
TmpClass = DerivO3CPU
else:
TmpClass = AtomicSimpleCPU