From: Brad Beckmann Date: Tue, 24 Aug 2010 20:20:32 +0000 (-0700) Subject: config: remove ruby's requirement on the timing cmd line param X-Git-Tag: stable_2012_02_02~861 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e610290d0845f0ccbe8f2f675b40e11f62c0f88;p=gem5.git 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. --- 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