16994Snate@binkert.org# -*- mode:python -*- 26994Snate@binkert.org 36994Snate@binkert.org# Copyright (c) 2003-2006 The Regents of The University of Michigan 46994Snate@binkert.org# All rights reserved. 56994Snate@binkert.org# 66994Snate@binkert.org# Redistribution and use in source and binary forms, with or without 76994Snate@binkert.org# modification, are permitted provided that the following conditions are 86994Snate@binkert.org# met: redistributions of source code must retain the above copyright 96994Snate@binkert.org# notice, this list of conditions and the following disclaimer; 106994Snate@binkert.org# redistributions in binary form must reproduce the above copyright 116994Snate@binkert.org# notice, this list of conditions and the following disclaimer in the 126994Snate@binkert.org# documentation and/or other materials provided with the distribution; 136994Snate@binkert.org# neither the name of the copyright holders nor the names of its 146994Snate@binkert.org# contributors may be used to endorse or promote products derived from 156994Snate@binkert.org# this software without specific prior written permission. 166994Snate@binkert.org# 176994Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186994Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196994Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206994Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216994Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226994Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236994Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246994Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256994Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266994Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276994Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286994Snate@binkert.org# 296994Snate@binkert.org# Authors: Steve Reinhardt 306994Snate@binkert.org 316994Snate@binkert.orgImport('*') 326994Snate@binkert.org 3310319SAndreas.Sandberg@ARM.comCpuModel('CheckerCPU') 34