config: remove ruby's requirement on the timing cmd line param
Since ruby only works in timing mode, explicitly requiring the timing cmd line param to be specified is not necessary.
This commit is contained in:
parent
8572d8fd91
commit
0e610290d0
2 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue