From: Nilay Vaish Date: Mon, 7 Sep 2015 04:11:11 +0000 (-0500) Subject: config: allow ruby to be used with Minor CPU X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc5be9ac439b456cf57430c22827827a6c6ecc63;p=gem5.git config: allow ruby to be used with Minor CPU --- 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)