diff options
Diffstat (limited to 'configs')
-rw-r--r-- | configs/example/fs.py | 2 | ||||
-rw-r--r-- | configs/example/ruby_fs.py | 1 | ||||
-rw-r--r-- | configs/example/se.py | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/configs/example/fs.py b/configs/example/fs.py index f1b8acedf..9b8ae1d29 100644 --- a/configs/example/fs.py +++ b/configs/example/fs.py @@ -139,6 +139,7 @@ for i in xrange(np): test_sys.cpu[i].fastmem = True if options.checker: test_sys.cpu[i].addCheckerCpu() + test_sys.cpu[i].createThreads() CacheConfig.config_cache(options, test_sys) @@ -155,6 +156,7 @@ if len(bm) == 2: drive_sys = makeArmSystem(drive_mem_mode, options.machine_type, bm[1]) drive_sys.cpu = DriveCPUClass(cpu_id=0) + drive_sys.cpu.createThreads() drive_sys.cpu.createInterruptController() drive_sys.cpu.connectAllPorts(drive_sys.membus) if options.fastmem: diff --git a/configs/example/ruby_fs.py b/configs/example/ruby_fs.py index 97863a46b..8d21cfb32 100644 --- a/configs/example/ruby_fs.py +++ b/configs/example/ruby_fs.py @@ -103,6 +103,7 @@ for (i, cpu) in enumerate(system.cpu): # # Tie the cpu ports to the correct ruby system ports # + cpu.createThreads() cpu.createInterruptController() cpu.icache_port = system.ruby._cpu_ruby_ports[i].slave cpu.dcache_port = system.ruby._cpu_ruby_ports[i].slave diff --git a/configs/example/se.py b/configs/example/se.py index c4c6daedf..fe5524ef5 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -180,6 +180,8 @@ for i in xrange(np): if options.checker: system.cpu[i].addCheckerCpu() + system.cpu[i].createThreads() + if options.ruby: if not (options.cpu_type == "detailed" or options.cpu_type == "timing"): print >> sys.stderr, "Ruby requires TimingSimpleCPU or O3CPU!!" |