Include check for making sure caches are enabled.
--HG-- extra : convert_revision : e3902b065db524ebe5bf762e44a840133ccb8d75
This commit is contained in:
parent
28f8318252
commit
07e525e8b7
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ def setCPUClass(options):
|
||||||
if options.timing:
|
if options.timing:
|
||||||
TmpClass = TimingSimpleCPU
|
TmpClass = TimingSimpleCPU
|
||||||
elif options.detailed:
|
elif options.detailed:
|
||||||
|
if not options.caches:
|
||||||
|
print "O3 CPU must be used with caches"
|
||||||
|
sys.exit(1)
|
||||||
TmpClass = DerivO3CPU
|
TmpClass = DerivO3CPU
|
||||||
else:
|
else:
|
||||||
TmpClass = AtomicSimpleCPU
|
TmpClass = AtomicSimpleCPU
|
||||||
|
|
Loading…
Reference in a new issue