tsunami-simple-atomic.py revision 9826:014ff1fbff6d
18504SN/A# Copyright (c) 2012 ARM Limited
28504SN/A# All rights reserved.
38504SN/A#
49885Sstever@gmail.com# The license below extends only to copyright in the software and shall
59885Sstever@gmail.com# not be construed as granting a license to any other intellectual
68504SN/A# property including but not limited to intellectual property relating
710451Snilay@cs.wisc.edu# to a hardware implementation of the functionality of the software
89901Sandreas@sandberg.pp.se# licensed hereunder.  You may use the software subject to the license
99901Sandreas@sandberg.pp.se# terms below provided that you ensure that this notice is replicated
109901Sandreas@sandberg.pp.se# unmodified and in its entirety in all distributions of the software,
118504SN/A# modified or unmodified, in source code or in binary form.
128504SN/A#
139885Sstever@gmail.com# Redistribution and use in source and binary forms, with or without
148504SN/A# modification, are permitted provided that the following conditions are
158504SN/A# met: redistributions of source code must retain the above copyright
169885Sstever@gmail.com# notice, this list of conditions and the following disclaimer;
179885Sstever@gmail.com# redistributions in binary form must reproduce the above copyright
188504SN/A# notice, this list of conditions and the following disclaimer in the
198504SN/A# documentation and/or other materials provided with the distribution;
208504SN/A# neither the name of the copyright holders nor the names of its
218504SN/A# contributors may be used to endorse or promote products derived from
228504SN/A# this software without specific prior written permission.
238504SN/A#
248504SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
259885Sstever@gmail.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
269885Sstever@gmail.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2710451Snilay@cs.wisc.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2810451Snilay@cs.wisc.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
298504SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
308504SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
318504SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3210451Snilay@cs.wisc.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
338504SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
348504SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
358504SN/A#
368504SN/A# Authors: Andreas Sandberg
378504SN/A
3810451Snilay@cs.wisc.edufrom m5.objects import *
398504SN/Afrom alpha_generic import *
408504SN/A
418504SN/Aroot = LinuxAlphaFSSystemUniprocessor(mem_mode='atomic',
428504SN/A                                      mem_class=DDR3_1600_x64,
4310639Sgabeblack@google.com                                      cpu_class=AtomicSimpleCPU).create_root()
448504SN/A