diff options
author | Akash Bagdia <akash.bagdia@arm.com> | 2013-06-27 05:49:49 -0400 |
---|---|---|
committer | Akash Bagdia <akash.bagdia@arm.com> | 2013-06-27 05:49:49 -0400 |
commit | 4459b305251109ff147d72142452e25c74542ebd (patch) | |
tree | a1fe5a5127f8549b00b930ac2e82080b0cfe1968 /configs/example/ruby_fs.py | |
parent | 7eccb1b779cb6458ed78ba73f2fdabe94fa805b3 (diff) | |
download | gem5-4459b305251109ff147d72142452e25c74542ebd.tar.xz |
config: Add a CPU clock command-line option
This patch adds a 'cpu_clock' command-line option and uses the value
to assign clocks to components running at the CPU speed (L1 and L2
including the L2-bus). The configuration scripts are updated
accordingly.
The 'clock' option is left unchanged in this patch as it is still used
by a number of components. In follow-on patches the latter will be
disambiguated further.
Diffstat (limited to 'configs/example/ruby_fs.py')
-rw-r--r-- | configs/example/ruby_fs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index e04e14434..e6239caf4 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -80,7 +80,7 @@ if not (options.cpu_type == "detailed" or options.cpu_type == "timing"): sys.exit(1) (CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) -CPUClass.clock = options.clock +CPUClass.clock = options.cpu_clock TestMemClass = Simulation.setMemClass(options) |