projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
740984b
)
config: allow ruby to be used with Minor CPU
author
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 7 Sep 2015 04:11:11 +0000
(23:11 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Mon, 7 Sep 2015 04:11:11 +0000
(23:11 -0500)
configs/example/se.py
patch
|
blob
|
history
diff --git
a/configs/example/se.py
b/configs/example/se.py
index 5357ed7a200f4a312853453e2d30f87db7afb83c..f0e84e69dc9cf5f05f4d501c89eefa96a90efe46 100644
(file)
--- 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)