tsunami-simple-timing-dual.py revision 9826
16906SBrad.Beckmann@amd.com# Copyright (c) 2012 ARM Limited 26906SBrad.Beckmann@amd.com# All rights reserved. 36906SBrad.Beckmann@amd.com# 46906SBrad.Beckmann@amd.com# The license below extends only to copyright in the software and shall 56906SBrad.Beckmann@amd.com# not be construed as granting a license to any other intellectual 66906SBrad.Beckmann@amd.com# property including but not limited to intellectual property relating 76906SBrad.Beckmann@amd.com# to a hardware implementation of the functionality of the software 86906SBrad.Beckmann@amd.com# licensed hereunder. You may use the software subject to the license 96906SBrad.Beckmann@amd.com# terms below provided that you ensure that this notice is replicated 106906SBrad.Beckmann@amd.com# unmodified and in its entirety in all distributions of the software, 116906SBrad.Beckmann@amd.com# modified or unmodified, in source code or in binary form. 126906SBrad.Beckmann@amd.com# 136906SBrad.Beckmann@amd.com# Redistribution and use in source and binary forms, with or without 146906SBrad.Beckmann@amd.com# modification, are permitted provided that the following conditions are 156906SBrad.Beckmann@amd.com# met: redistributions of source code must retain the above copyright 166906SBrad.Beckmann@amd.com# notice, this list of conditions and the following disclaimer; 176906SBrad.Beckmann@amd.com# redistributions in binary form must reproduce the above copyright 186906SBrad.Beckmann@amd.com# notice, this list of conditions and the following disclaimer in the 196906SBrad.Beckmann@amd.com# documentation and/or other materials provided with the distribution; 206906SBrad.Beckmann@amd.com# neither the name of the copyright holders nor the names of its 216906SBrad.Beckmann@amd.com# contributors may be used to endorse or promote products derived from 226906SBrad.Beckmann@amd.com# this software without specific prior written permission. 236906SBrad.Beckmann@amd.com# 246906SBrad.Beckmann@amd.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 256906SBrad.Beckmann@amd.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 266906SBrad.Beckmann@amd.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 276906SBrad.Beckmann@amd.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 286906SBrad.Beckmann@amd.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 296906SBrad.Beckmann@amd.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 308183Snilay@cs.wisc.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 316906SBrad.Beckmann@amd.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 326906SBrad.Beckmann@amd.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 336906SBrad.Beckmann@amd.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 346906SBrad.Beckmann@amd.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 356906SBrad.Beckmann@amd.com# 366906SBrad.Beckmann@amd.com# Authors: Andreas Sandberg 376906SBrad.Beckmann@amd.com 386906SBrad.Beckmann@amd.comfrom m5.objects import * 396906SBrad.Beckmann@amd.comfrom alpha_generic import * 406906SBrad.Beckmann@amd.com 417538SBrad.Beckmann@amd.comroot = LinuxAlphaFSSystem(mem_mode='timing', 427538SBrad.Beckmann@amd.com mem_class=DDR3_1600_x64, 437538SBrad.Beckmann@amd.com cpu_class=TimingSimpleCPU, 448436SBrad.Beckmann@amd.com num_cpus=2).create_root() 456906SBrad.Beckmann@amd.com