From 07e525e8b78fba0ebaf5c50f32fbf30d17051891 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Sun, 26 Nov 2006 11:46:58 -0500 Subject: [PATCH] Include check for making sure caches are enabled. --HG-- extra : convert_revision : e3902b065db524ebe5bf762e44a840133ccb8d75 --- configs/common/Simulation.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/common/Simulation.py b/configs/common/Simulation.py index 374ff3fc2..e037d0343 100644 --- 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 -- 2.30.2