Since ruby only works in timing mode, explicitly requiring the timing cmd line
param to be specified is not necessary.
# 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
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