MemConfig.py (11551:d24ad08b22b0) | MemConfig.py (11818:f12963cb9dc2) |
---|---|
1# Copyright (c) 2013 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 --- 149 unchanged lines hidden (view full) --- 158 subsystem = system.hmc_dev 159 xbar = system.hmc_dev.xbar 160 else: 161 subsystem = system 162 xbar = system.membus 163 164 if options.tlm_memory: 165 system.external_memory = m5.objects.ExternalSlave( | 1# Copyright (c) 2013 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 --- 149 unchanged lines hidden (view full) --- 158 subsystem = system.hmc_dev 159 xbar = system.hmc_dev.xbar 160 else: 161 subsystem = system 162 xbar = system.membus 163 164 if options.tlm_memory: 165 system.external_memory = m5.objects.ExternalSlave( |
166 port_type="tlm", | 166 port_type="tlm_slave", |
167 port_data=options.tlm_memory, 168 port=system.membus.master, 169 addr_ranges=system.mem_ranges) 170 system.kernel_addr_check = False 171 return 172 173 if options.external_memory_system: 174 subsystem.external_memory = m5.objects.ExternalSlave( --- 55 unchanged lines hidden --- | 167 port_data=options.tlm_memory, 168 port=system.membus.master, 169 addr_ranges=system.mem_ranges) 170 system.kernel_addr_check = False 171 return 172 173 if options.external_memory_system: 174 subsystem.external_memory = m5.objects.ExternalSlave( --- 55 unchanged lines hidden --- |