summaryrefslogtreecommitdiff
path: root/tests/simple-atomic.py
blob: 78e87dc251ee4e0189140fb3deeba629021cbcda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import m5
from m5.objects import *
m5.AddToPath('../configs/common')
from SEConfig import *

system = System(cpu = AtomicSimpleCPU(),
                physmem = PhysicalMemory(),
                membus = Bus())
system.physmem.port = system.membus.port
system.cpu.icache_port = system.membus.port
system.cpu.dcache_port = system.membus.port

root = Root(system = system)