SConscript revision 5192
19885Sstever@gmail.com# -*- mode:python -*- 211023Sjthestness@gmail.com 39885Sstever@gmail.com# Copyright (c) 2006 The Regents of The University of Michigan 411023Sjthestness@gmail.com# All rights reserved. 511023Sjthestness@gmail.com# 611023Sjthestness@gmail.com# Redistribution and use in source and binary forms, with or without 711023Sjthestness@gmail.com# modification, are permitted provided that the following conditions are 86167SN/A# met: redistributions of source code must retain the above copyright 911680SCurtis.Dunham@arm.com# notice, this list of conditions and the following disclaimer; 1011960Sgabeblack@google.com# redistributions in binary form must reproduce the above copyright 1111219Snilay@cs.wisc.edu# notice, this list of conditions and the following disclaimer in the 12# documentation and/or other materials provided with the distribution; 13# neither the name of the copyright holders nor the names of its 14# contributors may be used to endorse or promote products derived from 15# this software without specific prior written permission. 16# 17# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28# 29# Authors: Nathan Binkert 30 31Import('*') 32 33SimObject('Bridge.py') 34SimObject('Bus.py') 35SimObject('PhysicalMemory.py') 36SimObject('MemObject.py') 37 38Source('bridge.cc') 39Source('bus.cc') 40Source('dram.cc') 41Source('mem_object.cc') 42Source('packet.cc') 43Source('physical.cc') 44Source('port.cc') 45Source('tport.cc') 46 47if env['FULL_SYSTEM']: 48 Source('vport.cc') 49else: 50 Source('page_table.cc') 51 Source('translating_port.cc') 52 53TraceFlag('Bus') 54TraceFlag('BusAddrRanges') 55TraceFlag('BusBridge') 56TraceFlag('LLSC') 57TraceFlag('MMU') 58TraceFlag('MemoryAccess') 59