config: allow ruby to be used with Minor CPU
authorNilay Vaish <nilay@cs.wisc.edu>
Mon, 7 Sep 2015 04:11:11 +0000 (23:11 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Mon, 7 Sep 2015 04:11:11 +0000 (23:11 -0500)
configs/example/se.py

index 5357ed7a200f4a312853453e2d30f87db7afb83c..f0e84e69dc9cf5f05f4d501c89eefa96a90efe46 100644 (file)
@@ -241,8 +241,8 @@ for i in xrange(np):
     system.cpu[i].createThreads()
 
 if options.ruby:
-    if not (options.cpu_type == "detailed" or options.cpu_type == "timing"):
-        print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!"
+    if options.cpu_type == "atomic" or options.cpu_type == "AtomicSimpleCPU":
+        print >> sys.stderr, "Ruby does not work with atomic cpu!!"
         sys.exit(1)
 
     Ruby.create_system(options, False, system)