SConscript revision 5650
16019Shines@cs.fsu.edu# -*- mode:python -*- 26019Shines@cs.fsu.edu 37100Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 47100Sgblack@eecs.umich.edu# All rights reserved. 57100Sgblack@eecs.umich.edu# 67100Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 77100Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 87100Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 97100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 107100Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 117100Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 127100Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 137100Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 147100Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 156019Shines@cs.fsu.edu# this software without specific prior written permission. 166019Shines@cs.fsu.edu# 176019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286019Shines@cs.fsu.edu# 296019Shines@cs.fsu.edu# Authors: Nathan Binkert 306019Shines@cs.fsu.edu 316019Shines@cs.fsu.eduImport('*') 326019Shines@cs.fsu.edu 336019Shines@cs.fsu.eduSimObject('Bridge.py') 346019Shines@cs.fsu.eduSimObject('Bus.py') 356019Shines@cs.fsu.eduSimObject('PhysicalMemory.py') 366019Shines@cs.fsu.eduSimObject('MemObject.py') 376019Shines@cs.fsu.edu 386019Shines@cs.fsu.edu# Workaround for bug in SCons version > 0.97d20071212 396019Shines@cs.fsu.edu# Scons bug id: 2006 M5 Bug id: 308 406019Shines@cs.fsu.eduDir('config') 416019Shines@cs.fsu.edu 426757SAli.Saidi@ARM.comSource('bridge.cc') 436019Shines@cs.fsu.eduSource('bus.cc') 446019Shines@cs.fsu.eduSource('dram.cc') 456019Shines@cs.fsu.eduSource('mem_object.cc') 466019Shines@cs.fsu.eduSource('packet.cc') 476019Shines@cs.fsu.eduSource('physical.cc') 486019Shines@cs.fsu.eduSource('port.cc') 496019Shines@cs.fsu.eduSource('tport.cc') 506019Shines@cs.fsu.eduSource('mport.cc') 516253Sgblack@eecs.umich.edu 527170Sgblack@eecs.umich.eduif env['FULL_SYSTEM']: 536253Sgblack@eecs.umich.edu Source('vport.cc') 547202Sgblack@eecs.umich.eduelse: 556253Sgblack@eecs.umich.edu Source('page_table.cc') 566253Sgblack@eecs.umich.edu Source('translating_port.cc') 577396Sgblack@eecs.umich.edu 587259Sgblack@eecs.umich.eduTraceFlag('Bus') 596397Sgblack@eecs.umich.eduTraceFlag('BusAddrRanges') 606019Shines@cs.fsu.eduTraceFlag('BusBridge') 616019Shines@cs.fsu.eduTraceFlag('LLSC') 626757SAli.Saidi@ARM.comTraceFlag('MMU') 636019Shines@cs.fsu.eduTraceFlag('MemoryAccess') 646397Sgblack@eecs.umich.edu