14202SN/A# -*- mode:python -*- 24202SN/A 34202SN/A# Copyright (c) 2006 The Regents of The University of Michigan 44202SN/A# All rights reserved. 54202SN/A# 64202SN/A# Redistribution and use in source and binary forms, with or without 74202SN/A# modification, are permitted provided that the following conditions are 84202SN/A# met: redistributions of source code must retain the above copyright 94202SN/A# notice, this list of conditions and the following disclaimer; 104202SN/A# redistributions in binary form must reproduce the above copyright 114202SN/A# notice, this list of conditions and the following disclaimer in the 124202SN/A# documentation and/or other materials provided with the distribution; 134202SN/A# neither the name of the copyright holders nor the names of its 144202SN/A# contributors may be used to endorse or promote products derived from 154202SN/A# this software without specific prior written permission. 164202SN/A# 174202SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 184202SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 194202SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 204202SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 214202SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 224202SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 234202SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 244202SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 254202SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 264202SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 274202SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 284202SN/A# 294202SN/A# Authors: Nathan Binkert 304202SN/A 314202SN/AImport('*') 324202SN/A 336629SN/A#if 'O3CPU' in env['CPU_MODELS']: 346629SN/ASimObject('MemTest.py') 354486SN/A 366629SN/ASource('memtest.cc') 375192SN/A 388335Snate@binkert.orgDebugFlag('MemTest') 39