sweep.py (10789:e94c22bd9ef1) sweep.py (10832:33f1c7b65a88)
1# Copyright (c) 2014-2015 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

--- 82 unchanged lines hidden (view full) ---

91
92# we are fine with 256 MB memory for now
93mem_range = AddrRange('256MB')
94system.mem_ranges = [mem_range]
95
96# force a single channel to match the assumptions in the DRAM traffic
97# generator
98options.mem_channels = 1
1# Copyright (c) 2014-2015 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

--- 82 unchanged lines hidden (view full) ---

91
92# we are fine with 256 MB memory for now
93mem_range = AddrRange('256MB')
94system.mem_ranges = [mem_range]
95
96# force a single channel to match the assumptions in the DRAM traffic
97# generator
98options.mem_channels = 1
99options.external_memory_system = 0
99MemConfig.config_mem(options, system)
100
101# the following assumes that we are using the native DRAM
102# controller, check to be sure
103if not isinstance(system.mem_ctrls[0], m5.objects.DRAMCtrl):
104 fatal("This script assumes the memory is a DRAMCtrl subclass")
105
106# Set the address mapping based on input argument

--- 93 unchanged lines hidden ---
100MemConfig.config_mem(options, system)
101
102# the following assumes that we are using the native DRAM
103# controller, check to be sure
104if not isinstance(system.mem_ctrls[0], m5.objects.DRAMCtrl):
105 fatal("This script assumes the memory is a DRAMCtrl subclass")
106
107# Set the address mapping based on input argument

--- 93 unchanged lines hidden ---