Include check for making sure caches are enabled.
--HG-- extra : convert_revision : e3902b065db524ebe5bf762e44a840133ccb8d75
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user