Lines Matching defs:system
30 """ This file creates a system with Ruby caches and runs the ruby random tester
47 # create the system we are going to simulate
48 system = System()
50 # Set the clock fequency of the system (and all of its children)
51 system.clk_domain = SrcClockDomain()
52 system.clk_domain.clock = '1GHz'
53 system.clk_domain.voltage_domain = VoltageDomain()
55 # Set up the system
56 system.mem_mode = 'timing' # Use timing accesses
57 system.mem_ranges = [AddrRange('512MB')] # Create an address range
60 system.tester = RubyTester(checks_to_complete = 100,
65 system.mem_ctrl = SimpleMemory(latency="50ns", bandwidth="0GB/s")
66 system.mem_ctrl.range = system.mem_ranges[0]
69 system.caches = TestCacheSystem()
70 system.caches.setup(system, system.tester, [system.mem_ctrl])
73 root = Root(full_system = False, system = system)