From bc5be9ac439b456cf57430c22827827a6c6ecc63 Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Sun, 6 Sep 2015 23:11:11 -0500 Subject: [PATCH] config: allow ruby to be used with Minor CPU --- configs/example/se.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/example/se.py b/configs/example/se.py index 5357ed7a2..f0e84e69d 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -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)