SConscript revision 6629
111515Sandreas.sandberg@arm.com# -*- mode:python -*- 211515Sandreas.sandberg@arm.com 38721SN/A# Copyright (c) 2006 The Regents of The University of Michigan 48721SN/A# All rights reserved. 57513SN/A# 611960Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without 711960Sgabeblack@google.com# modification, are permitted provided that the following conditions are 811960Sgabeblack@google.com# met: redistributions of source code must retain the above copyright 911960Sgabeblack@google.com# notice, this list of conditions and the following disclaimer; 1011219Snilay@cs.wisc.edu# redistributions in binary form must reproduce the above copyright 1111570SCurtis.Dunham@arm.com# notice, this list of conditions and the following disclaimer in the 1211570SCurtis.Dunham@arm.com# documentation and/or other materials provided with the distribution; 137513SN/A# neither the name of the copyright holders nor the names of its 147513SN/A# contributors may be used to endorse or promote products derived from 157513SN/A# this software without specific prior written permission. 167513SN/A# 177513SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 187513SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 197513SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 207513SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 217513SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 227513SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 237513SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 247513SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 257513SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 267513SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2711960Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28# 29# Authors: Nathan Binkert 30 31Import('*') 32 33#if 'O3CPU' in env['CPU_MODELS']: 34SimObject('MemTest.py') 35 36Source('memtest.cc') 37 38TraceFlag('MemTest') 39