SConscript revision 9023
16019Shines@cs.fsu.edu# -*- mode:python -*- 26019Shines@cs.fsu.edu 36019Shines@cs.fsu.edu# Copyright (c) 2006 The Regents of The University of Michigan 46019Shines@cs.fsu.edu# All rights reserved. 56019Shines@cs.fsu.edu# 66019Shines@cs.fsu.edu# Redistribution and use in source and binary forms, with or without 76019Shines@cs.fsu.edu# modification, are permitted provided that the following conditions are 86019Shines@cs.fsu.edu# met: redistributions of source code must retain the above copyright 96019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer; 106019Shines@cs.fsu.edu# redistributions in binary form must reproduce the above copyright 116019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer in the 126019Shines@cs.fsu.edu# documentation and/or other materials provided with the distribution; 136019Shines@cs.fsu.edu# neither the name of the copyright holders nor the names of its 146019Shines@cs.fsu.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('CommMonitor.py') 366019Shines@cs.fsu.eduSimObject('MemObject.py') 376019Shines@cs.fsu.edu 386019Shines@cs.fsu.eduSource('bridge.cc') 396019Shines@cs.fsu.eduSource('bus.cc') 406019Shines@cs.fsu.eduSource('comm_monitor.cc') 416019Shines@cs.fsu.eduSource('mem_object.cc') 426019Shines@cs.fsu.eduSource('mport.cc') 436019Shines@cs.fsu.eduSource('packet.cc') 446019Shines@cs.fsu.eduSource('port.cc') 456019Shines@cs.fsu.eduSource('packet_queue.cc') 466019Shines@cs.fsu.eduSource('tport.cc') 476019Shines@cs.fsu.eduSource('port_proxy.cc') 486019Shines@cs.fsu.eduSource('fs_translating_port_proxy.cc') 496019Shines@cs.fsu.eduSource('se_translating_port_proxy.cc') 506019Shines@cs.fsu.edu 516019Shines@cs.fsu.eduif env['TARGET_ISA'] != 'no': 526019Shines@cs.fsu.edu SimObject('AbstractMemory.py') 536019Shines@cs.fsu.edu SimObject('SimpleMemory.py') 546019Shines@cs.fsu.edu Source('abstract_mem.cc') 556019Shines@cs.fsu.edu Source('simple_mem.cc') 566019Shines@cs.fsu.edu Source('page_table.cc') 576019Shines@cs.fsu.edu Source('physical.cc') 586019Shines@cs.fsu.edu 596019Shines@cs.fsu.eduDebugFlag('Bus') 606019Shines@cs.fsu.eduDebugFlag('BusAddrRanges') 616019Shines@cs.fsu.eduDebugFlag('BusBridge') 62DebugFlag('CommMonitor') 63DebugFlag('LLSC') 64DebugFlag('MMU') 65DebugFlag('MemoryAccess') 66DebugFlag('PacketQueue') 67 68DebugFlag('ProtocolTrace') 69DebugFlag('RubyCache') 70DebugFlag('RubyCacheTrace') 71DebugFlag('RubyDma') 72DebugFlag('RubyGenerated') 73DebugFlag('RubyMemory') 74DebugFlag('RubyNetwork') 75DebugFlag('RubyPort') 76DebugFlag('RubyQueue') 77DebugFlag('RubySequencer') 78DebugFlag('RubySlicc') 79DebugFlag('RubySystem') 80DebugFlag('RubyTester') 81 82CompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 83 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 84 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) 85