summaryrefslogtreecommitdiff
path: root/tests/simple-atomic.py
blob: e3eb62ef07719ac77e9910e3536d848551876448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.connectMemPorts(system.membus)

root = Root(system = system)