realview-o3.py revision 10336:60dddc0a6f78
113432Spau.cabre@metempsy.com# Copyright (c) 2012 ARM Limited
213432Spau.cabre@metempsy.com# All rights reserved.
313432Spau.cabre@metempsy.com#
413432Spau.cabre@metempsy.com# The license below extends only to copyright in the software and shall
513432Spau.cabre@metempsy.com# not be construed as granting a license to any other intellectual
613432Spau.cabre@metempsy.com# property including but not limited to intellectual property relating
713432Spau.cabre@metempsy.com# to a hardware implementation of the functionality of the software
813432Spau.cabre@metempsy.com# licensed hereunder.  You may use the software subject to the license
913432Spau.cabre@metempsy.com# terms below provided that you ensure that this notice is replicated
1013432Spau.cabre@metempsy.com# unmodified and in its entirety in all distributions of the software,
1113432Spau.cabre@metempsy.com# modified or unmodified, in source code or in binary form.
1213432Spau.cabre@metempsy.com#
1313432Spau.cabre@metempsy.com# Redistribution and use in source and binary forms, with or without
1413432Spau.cabre@metempsy.com# modification, are permitted provided that the following conditions are
1513432Spau.cabre@metempsy.com# met: redistributions of source code must retain the above copyright
1613432Spau.cabre@metempsy.com# notice, this list of conditions and the following disclaimer;
1713432Spau.cabre@metempsy.com# redistributions in binary form must reproduce the above copyright
1813432Spau.cabre@metempsy.com# notice, this list of conditions and the following disclaimer in the
1913432Spau.cabre@metempsy.com# documentation and/or other materials provided with the distribution;
2013432Spau.cabre@metempsy.com# neither the name of the copyright holders nor the names of its
2113432Spau.cabre@metempsy.com# contributors may be used to endorse or promote products derived from
2213432Spau.cabre@metempsy.com# this software without specific prior written permission.
2313432Spau.cabre@metempsy.com#
2413432Spau.cabre@metempsy.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2513432Spau.cabre@metempsy.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2613432Spau.cabre@metempsy.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2713432Spau.cabre@metempsy.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2813432Spau.cabre@metempsy.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2913432Spau.cabre@metempsy.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3013432Spau.cabre@metempsy.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3113432Spau.cabre@metempsy.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3213432Spau.cabre@metempsy.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3313432Spau.cabre@metempsy.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3413432Spau.cabre@metempsy.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3513432Spau.cabre@metempsy.com#
3613432Spau.cabre@metempsy.com# Authors: Andreas Sandberg
3713432Spau.cabre@metempsy.com
3813432Spau.cabre@metempsy.comfrom m5.objects import *
3913432Spau.cabre@metempsy.comfrom arm_generic import *
4013432Spau.cabre@metempsy.comfrom O3_ARM_v7a import O3_ARM_v7a_3
4113432Spau.cabre@metempsy.com
4213432Spau.cabre@metempsy.comroot = LinuxArmFSSystemUniprocessor(mem_mode='timing',
4313432Spau.cabre@metempsy.com                                    mem_class=DDR3_1600_x64,
4413432Spau.cabre@metempsy.com                                    cpu_class=O3_ARM_v7a_3).create_root()
4513432Spau.cabre@metempsy.com