diff --git a/configs/example/fs.py b/configs/example/fs.py index c0b434eb31..a5a5661f0e 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -121,10 +121,10 @@ if options.kernel is not None: if options.script is not None: test_sys.readfile = options.script -CacheConfig.config_cache(options, system) - test_sys.cpu = [TestCPUClass(cpu_id=i) for i in xrange(np)] +CacheConfig.config_cache(options, test_sys) + if options.caches or options.l2cache: test_sys.bridge.filter_ranges_a=[AddrRange(0, Addr.max)] test_sys.bridge.filter_ranges_b=[AddrRange(0, size='8GB')]