minor-timing-mp.py revision 10260
13561SN/A# Copyright (c) 2013 ARM Limited
23561SN/A# All rights reserved.
33561SN/A#
43561SN/A# The license below extends only to copyright in the software and shall
53561SN/A# not be construed as granting a license to any other intellectual
63561SN/A# property including but not limited to intellectual property relating
73561SN/A# to a hardware implementation of the functionality of the software
83561SN/A# licensed hereunder.  You may use the software subject to the license
93561SN/A# terms below provided that you ensure that this notice is replicated
103561SN/A# unmodified and in its entirety in all distributions of the software,
113561SN/A# modified or unmodified, in source code or in binary form.
123561SN/A#
133561SN/A# Copyright (c) 2006-2007 The Regents of The University of Michigan
143561SN/A# All rights reserved.
153561SN/A#
163561SN/A# Redistribution and use in source and binary forms, with or without
173561SN/A# modification, are permitted provided that the following conditions are
183561SN/A# met: redistributions of source code must retain the above copyright
193561SN/A# notice, this list of conditions and the following disclaimer;
203561SN/A# redistributions in binary form must reproduce the above copyright
213561SN/A# notice, this list of conditions and the following disclaimer in the
223561SN/A# documentation and/or other materials provided with the distribution;
233561SN/A# neither the name of the copyright holders nor the names of its
243561SN/A# contributors may be used to endorse or promote products derived from
253561SN/A# this software without specific prior written permission.
263561SN/A#
273561SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
283561SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
293561SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
303561SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
316757SAli.Saidi@ARM.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
326757SAli.Saidi@ARM.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
333561SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
343561SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
353561SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
363561SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
373561SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
383561SN/A#
393565SN/A# Authors: Andreas Hansson
403561SN/A
416757SAli.Saidi@ARM.comfrom m5.objects import *
423561SN/Afrom base_config import *
433561SN/A
443561SN/Anb_cores = 4
453561SN/Aroot = BaseSESystem(mem_mode='timing', mem_class=DDR3_1600_x64,
463561SN/A                    cpu_class=MinorCPU, num_cpus=nb_cores).create_root()
473561SN/A