diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-06 23:11:11 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2015-09-06 23:11:11 -0500 |
commit | bc5be9ac439b456cf57430c22827827a6c6ecc63 (patch) | |
tree | a25d5216d87eaa120369f6e0abef8e26123d045c /configs | |
parent | 740984b30be923e0c171a52fe357a05016fe08c0 (diff) | |
download | gem5-bc5be9ac439b456cf57430c22827827a6c6ecc63.tar.xz |
config: allow ruby to be used with Minor CPU
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/se.py | 4 |
1 files 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) |