cpu: Replace the fastmem with a new CPU model
[gem5.git] / configs / example / se.py
index 015a953da5a984b3dfbbd543f4447db65c6024c3..804ef02c5eb35aef6cfee3ea67317ca145f27220 100644 (file)
@@ -213,16 +213,9 @@ if CpuConfig.is_kvm_cpu(CPUClass) or CpuConfig.is_kvm_cpu(FutureClass):
         fatal("KvmCPU can only be used in SE mode with x86")
 
 # Sanity check
-if options.fastmem:
-    if CPUClass != AtomicSimpleCPU:
-        fatal("Fastmem can only be used with atomic CPU!")
-    if (options.caches or options.l2cache):
-        fatal("You cannot use fastmem in combination with caches!")
-
 if options.simpoint_profile:
-    if not options.fastmem:
-        # Atomic CPU checked with fastmem option already
-        fatal("SimPoint generation should be done with atomic cpu and fastmem")
+    if not CpuConfig.is_atomic_cpu(TestCPUClass):
+        fatal("SimPoint/BPProbe should be done with an atomic cpu")
     if np > 1:
         fatal("SimPoint generation not supported with more than one CPUs")
 
@@ -234,9 +227,6 @@ for i in xrange(np):
     else:
         system.cpu[i].workload = multiprocesses[i]
 
-    if options.fastmem:
-        system.cpu[i].fastmem = True
-
     if options.simpoint_profile:
         system.cpu[i].addSimPointProbe(options.simpoint_interval)