base_config.py (9674:d35bd171cf2a) | base_config.py (9788:5558ee8dd7d9) |
---|---|
1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 147 unchanged lines hidden (view full) --- 156 """Basic full system builder.""" 157 158 def __init__(self, **kwargs): 159 BaseSystem.__init__(self, **kwargs) 160 161 def init_system(self, system): 162 BaseSystem.init_system(self, system) 163 | 1# Copyright (c) 2012 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 147 unchanged lines hidden (view full) --- 156 """Basic full system builder.""" 157 158 def __init__(self, **kwargs): 159 BaseSystem.__init__(self, **kwargs) 160 161 def init_system(self, system): 162 BaseSystem.init_system(self, system) 163 |
164 #create the iocache 165 system.iocache = IOCache(clock='1GHz', addr_ranges=system.mem_ranges) | 164 # create the iocache, which by default runs at the system clock 165 system.iocache = IOCache(addr_ranges=system.mem_ranges) |
166 system.iocache.cpu_side = system.iobus.master 167 system.iocache.mem_side = system.membus.slave 168 169 def create_root(self): 170 system = self.create_system() 171 m5.ticks.setGlobalFrequency('1THz') 172 return Root(full_system=True, system=system) 173 --- 30 unchanged lines hidden --- | 166 system.iocache.cpu_side = system.iobus.master 167 system.iocache.mem_side = system.membus.slave 168 169 def create_root(self): 170 system = self.create_system() 171 m5.ticks.setGlobalFrequency('1THz') 172 return Root(full_system=True, system=system) 173 --- 30 unchanged lines hidden --- |