From 4459b305251109ff147d72142452e25c74542ebd Mon Sep 17 00:00:00 2001 From: Akash Bagdia Date: Thu, 27 Jun 2013 05:49:49 -0400 Subject: 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. --- configs/example/fs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configs/example/fs.py') diff --git a/configs/example/fs.py b/configs/example/fs.py index b17266e54..31106cba7 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -81,8 +81,8 @@ def is_kvm_cpu(cpu_class): # system under test can be any CPU (TestCPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) -TestCPUClass.clock = options.clock -DriveCPUClass.clock = options.clock +TestCPUClass.clock = options.cpu_clock +DriveCPUClass.clock = options.cpu_clock # Match the memories with the CPUs, the driver system always simple, # and based on the options for the test system -- cgit v1.2.3