Lines Matching defs:system
30 """ This file creates a system with Ruby caches and executes 'threads', a
56 # create the system we are going to simulate
57 system = System()
59 # Set the clock fequency of the system (and all of its children)
60 system.clk_domain = SrcClockDomain()
61 system.clk_domain.clock = '1GHz'
62 system.clk_domain.voltage_domain = VoltageDomain()
64 # Set up the system
65 system.mem_mode = 'timing' # Use timing accesses
66 system.mem_ranges = [AddrRange('512MB')] # Create an address range
69 system.cpu = [TimingSimpleCPU() for i in range(2)]
72 system.mem_ctrl = DDR3_1600_8x8()
73 system.mem_ctrl.range = system.mem_ranges[0]
76 for cpu in system.cpu:
80 system.caches = MyCacheSystem()
81 system.caches.setup(system, system.cpu, [system.mem_ctrl])
98 for cpu in system.cpu:
102 # Set up the pseudo file system for the threads function above
103 config_filesystem(system)
106 root = Root(full_system = False, system = system)