From: Andreas Hansson Date: Tue, 14 Feb 2012 17:11:18 +0000 (-0500) Subject: Script: Fix the scripts that use the num_cpus cache parameter X-Git-Tag: stable_2012_06_28~227 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac91f90145f824b202d79a9e275fc5cee1071159;p=gem5.git Script: Fix the scripts that use the num_cpus cache parameter This patch merely removes the use of the num_cpus cache parameter which no longer exists after the introduction of the masterIds. The affected scripts fail when trying to set the parameter. Note that this patch does not update the regression stats. --- diff --git a/configs/common/CacheConfig.py b/configs/common/CacheConfig.py index 720eb9f56..b9192fcbf 100644 --- a/configs/common/CacheConfig.py +++ b/configs/common/CacheConfig.py @@ -46,7 +46,6 @@ def config_cache(options, system): system.tol2bus = Bus() system.l2.cpu_side = system.tol2bus.master system.l2.mem_side = system.membus.slave - system.l2.num_cpus = options.num_cpus for i in xrange(options.num_cpus): if options.caches: diff --git a/tests/configs/realview-simple-atomic-dual.py b/tests/configs/realview-simple-atomic-dual.py index 985f2016b..20bf89bed 100644 --- a/tests/configs/realview-simple-atomic-dual.py +++ b/tests/configs/realview-simple-atomic-dual.py @@ -83,7 +83,6 @@ system.toL2Bus = Bus() system.l2c = L2(size='4MB', assoc=8) system.l2c.cpu_side = system.toL2Bus.master system.l2c.mem_side = system.membus.slave -system.l2c.num_cpus = 2 #connect up the cpu and l1s for c in cpus: