SConscript revision 7768
113540Sandrea.mondelli@ucf.edu# -*- mode:python -*- 211482Sandreas.sandberg@arm.com 311482Sandreas.sandberg@arm.com# Copyright (c) 2006 The Regents of The University of Michigan 411482Sandreas.sandberg@arm.com# All rights reserved. 511482Sandreas.sandberg@arm.com# 611482Sandreas.sandberg@arm.com# Redistribution and use in source and binary forms, with or without 711482Sandreas.sandberg@arm.com# modification, are permitted provided that the following conditions are 811482Sandreas.sandberg@arm.com# met: redistributions of source code must retain the above copyright 911482Sandreas.sandberg@arm.com# notice, this list of conditions and the following disclaimer; 1011482Sandreas.sandberg@arm.com# redistributions in binary form must reproduce the above copyright 1111482Sandreas.sandberg@arm.com# notice, this list of conditions and the following disclaimer in the 1211482Sandreas.sandberg@arm.com# documentation and/or other materials provided with the distribution; 1311482Sandreas.sandberg@arm.com# neither the name of the copyright holders nor the names of its 1411482Sandreas.sandberg@arm.com# contributors may be used to endorse or promote products derived from 1511482Sandreas.sandberg@arm.com# this software without specific prior written permission. 1611482Sandreas.sandberg@arm.com# 1711482Sandreas.sandberg@arm.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1811482Sandreas.sandberg@arm.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1911482Sandreas.sandberg@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2011482Sandreas.sandberg@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2111482Sandreas.sandberg@arm.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2211482Sandreas.sandberg@arm.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2311482Sandreas.sandberg@arm.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2411482Sandreas.sandberg@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2511482Sandreas.sandberg@arm.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2611482Sandreas.sandberg@arm.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2711482Sandreas.sandberg@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2811482Sandreas.sandberg@arm.com# 2911482Sandreas.sandberg@arm.com# Authors: Nathan Binkert 3011482Sandreas.sandberg@arm.com 3111482Sandreas.sandberg@arm.comImport('*') 3211482Sandreas.sandberg@arm.com 3311482Sandreas.sandberg@arm.comSimObject('Bridge.py') 3411482Sandreas.sandberg@arm.comSimObject('Bus.py') 3511482Sandreas.sandberg@arm.comSimObject('MemObject.py') 3611482Sandreas.sandberg@arm.com 3711482Sandreas.sandberg@arm.comSource('bridge.cc') 3811482Sandreas.sandberg@arm.comSource('bus.cc') 3911482Sandreas.sandberg@arm.comSource('mem_object.cc') 4012575Sgiacomo.travaglini@arm.comSource('packet.cc') 4112575Sgiacomo.travaglini@arm.comSource('port.cc') 4211482Sandreas.sandberg@arm.comSource('tport.cc') 4311482Sandreas.sandberg@arm.comSource('mport.cc') 4411482Sandreas.sandberg@arm.com 4511482Sandreas.sandberg@arm.comif env['TARGET_ISA'] != 'no': 4611482Sandreas.sandberg@arm.com SimObject('PhysicalMemory.py') 4711482Sandreas.sandberg@arm.com Source('dram.cc') 4811482Sandreas.sandberg@arm.com Source('physical.cc') 4911482Sandreas.sandberg@arm.com 5011482Sandreas.sandberg@arm.comif env['FULL_SYSTEM']: 5111482Sandreas.sandberg@arm.com Source('vport.cc') 5211482Sandreas.sandberg@arm.comelif env['TARGET_ISA'] != 'no': 5311482Sandreas.sandberg@arm.com Source('page_table.cc') 5411482Sandreas.sandberg@arm.com Source('translating_port.cc') 5511482Sandreas.sandberg@arm.com 5611482Sandreas.sandberg@arm.comTraceFlag('Bus') 5711482Sandreas.sandberg@arm.comTraceFlag('BusAddrRanges') 5811482Sandreas.sandberg@arm.comTraceFlag('BusBridge') 5911482Sandreas.sandberg@arm.comTraceFlag('LLSC') 6011482Sandreas.sandberg@arm.comTraceFlag('MMU') 6111482Sandreas.sandberg@arm.comTraceFlag('MemoryAccess') 6211482Sandreas.sandberg@arm.comTraceFlag('Ruby') 6311482Sandreas.sandberg@arm.com