summaryrefslogtreecommitdiff
path: root/configs/example
diff options
context:
space:
mode:
Diffstat (limited to 'configs/example')
-rw-r--r--configs/example/ruby_fs.py1
-rw-r--r--configs/example/ruby_se.py8
2 files changed, 3 insertions, 6 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py
index 017b24d9d..4dd1364c7 100644
--- a/configs/example/ruby_fs.py
+++ b/configs/example/ruby_fs.py
@@ -103,7 +103,6 @@ else:
# fast forward with the atomic cpu and instead set the FutureClass to None.
# Therefore the cpus resolve to the correct names and unserialize correctly.
#
-assert(options.timing)
class CPUClass(TimingSimpleCPU): pass
test_mem_mode = 'timing'
FutureClass = None
diff --git a/configs/example/ruby_se.py b/configs/example/ruby_se.py
index d51f92f19..9c440c9cd 100644
--- a/configs/example/ruby_se.py
+++ b/configs/example/ruby_se.py
@@ -134,14 +134,12 @@ if options.detailed:
process += [smt_process, ]
smt_idx += 1
-(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options)
-
#
# Currently ruby only works in timing mode
#
-assert(options.timing)
-assert(test_mem_mode == 'timing')
-assert(FutureClass == None)
+class CPUClass(TimingSimpleCPU): pass
+test_mem_mode = 'timing'
+FutureClass = None
CPUClass.clock = options.clock