From ae6ab7c03ca719b7ab000ee62538fc71dd0cf8df Mon Sep 17 00:00:00 2001 From: Andreas Hansson Date: Mon, 23 Jul 2012 09:32:22 -0400 Subject: Config: Use clock option in se/fs script and pass to switch_cpus This patch changes the se and fs script to use the clock option and not simply set the CPUs clock to 2 GHz. It also makes a minor change to the assignment of the switch_cpus clock to allow different clocks. --- 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 a6d4869f3..b0eb2f1ae 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -74,8 +74,8 @@ drive_mem_mode = 'atomic' # system under test can be any CPU (TestCPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options) -TestCPUClass.clock = '2GHz' -DriveCPUClass.clock = '2GHz' +TestCPUClass.clock = options.clock +DriveCPUClass.clock = options.clock if options.benchmark: try: -- cgit v1.2.3