SConscript revision 9243
112771Sqtt2@cornell.edu# -*- mode:python -*- 212771Sqtt2@cornell.edu 312771Sqtt2@cornell.edu# Copyright (c) 2006 The Regents of The University of Michigan 412771Sqtt2@cornell.edu# All rights reserved. 512771Sqtt2@cornell.edu# 612771Sqtt2@cornell.edu# Redistribution and use in source and binary forms, with or without 712771Sqtt2@cornell.edu# modification, are permitted provided that the following conditions are 812771Sqtt2@cornell.edu# met: redistributions of source code must retain the above copyright 912771Sqtt2@cornell.edu# notice, this list of conditions and the following disclaimer; 1012771Sqtt2@cornell.edu# redistributions in binary form must reproduce the above copyright 1112771Sqtt2@cornell.edu# notice, this list of conditions and the following disclaimer in the 1212771Sqtt2@cornell.edu# documentation and/or other materials provided with the distribution; 1312771Sqtt2@cornell.edu# neither the name of the copyright holders nor the names of its 1412771Sqtt2@cornell.edu# contributors may be used to endorse or promote products derived from 1512771Sqtt2@cornell.edu# this software without specific prior written permission. 1612771Sqtt2@cornell.edu# 1712771Sqtt2@cornell.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1812771Sqtt2@cornell.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1912771Sqtt2@cornell.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 2012771Sqtt2@cornell.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 2112771Sqtt2@cornell.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2212771Sqtt2@cornell.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2312771Sqtt2@cornell.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2412771Sqtt2@cornell.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2512771Sqtt2@cornell.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2612771Sqtt2@cornell.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2712771Sqtt2@cornell.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2812771Sqtt2@cornell.edu# 2912771Sqtt2@cornell.edu# Authors: Nathan Binkert 3012771Sqtt2@cornell.edu 3112771Sqtt2@cornell.eduImport('*') 3212771Sqtt2@cornell.edu 3312771Sqtt2@cornell.eduSimObject('Bridge.py') 3412771Sqtt2@cornell.eduSimObject('Bus.py') 3512771Sqtt2@cornell.eduSimObject('CommMonitor.py') 3612771Sqtt2@cornell.eduSimObject('MemObject.py') 3712771Sqtt2@cornell.edu 3812771Sqtt2@cornell.eduSource('bridge.cc') 3912771Sqtt2@cornell.eduSource('bus.cc') 4012771Sqtt2@cornell.eduSource('coherent_bus.cc') 4112771Sqtt2@cornell.eduSource('comm_monitor.cc') 4212771Sqtt2@cornell.eduSource('mem_object.cc') 4312771Sqtt2@cornell.eduSource('mport.cc') 4412771Sqtt2@cornell.eduSource('noncoherent_bus.cc') 4512771Sqtt2@cornell.eduSource('packet.cc') 4612771Sqtt2@cornell.eduSource('port.cc') 4712771Sqtt2@cornell.eduSource('packet_queue.cc') 4812771Sqtt2@cornell.eduSource('tport.cc') 4912771Sqtt2@cornell.eduSource('port_proxy.cc') 5012771Sqtt2@cornell.eduSource('fs_translating_port_proxy.cc') 5112771Sqtt2@cornell.eduSource('se_translating_port_proxy.cc') 5212771Sqtt2@cornell.edu 5312771Sqtt2@cornell.eduif env['TARGET_ISA'] != 'no': 5412771Sqtt2@cornell.edu SimObject('AbstractMemory.py') 5512771Sqtt2@cornell.edu SimObject('SimpleMemory.py') 5612771Sqtt2@cornell.edu SimObject('SimpleDRAM.py') 5712771Sqtt2@cornell.edu Source('abstract_mem.cc') 5812771Sqtt2@cornell.edu Source('simple_mem.cc') 5912771Sqtt2@cornell.edu Source('page_table.cc') 6012771Sqtt2@cornell.edu Source('physical.cc') 6112771Sqtt2@cornell.edu Source('simple_dram.cc') 6212771Sqtt2@cornell.edu 6312771Sqtt2@cornell.eduDebugFlag('BaseBus') 6412771Sqtt2@cornell.eduDebugFlag('BusAddrRanges') 6512771Sqtt2@cornell.eduDebugFlag('CoherentBus') 6612771Sqtt2@cornell.eduDebugFlag('NoncoherentBus') 6712771Sqtt2@cornell.eduCompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus', 6812771Sqtt2@cornell.edu 'NoncoherentBus']) 6912771Sqtt2@cornell.edu 7012771Sqtt2@cornell.eduDebugFlag('Bridge') 7112771Sqtt2@cornell.eduDebugFlag('CommMonitor') 7212771Sqtt2@cornell.eduDebugFlag('DRAM') 7312771Sqtt2@cornell.eduDebugFlag('DRAMWR') 7412771Sqtt2@cornell.eduDebugFlag('LLSC') 7512771Sqtt2@cornell.eduDebugFlag('MMU') 7612771Sqtt2@cornell.eduDebugFlag('MemoryAccess') 7712771Sqtt2@cornell.eduDebugFlag('PacketQueue') 7812771Sqtt2@cornell.edu 7912771Sqtt2@cornell.eduDebugFlag('ProtocolTrace') 8012771Sqtt2@cornell.eduDebugFlag('RubyCache') 8112771Sqtt2@cornell.eduDebugFlag('RubyCacheTrace') 8212771Sqtt2@cornell.eduDebugFlag('RubyDma') 8312771Sqtt2@cornell.eduDebugFlag('RubyGenerated') 8412771Sqtt2@cornell.eduDebugFlag('RubyMemory') 8512771Sqtt2@cornell.eduDebugFlag('RubyNetwork') 8612771Sqtt2@cornell.eduDebugFlag('RubyPort') 8712771Sqtt2@cornell.eduDebugFlag('RubyQueue') 8812771Sqtt2@cornell.eduDebugFlag('RubySequencer') 8912771Sqtt2@cornell.eduDebugFlag('RubySlicc') 9012771Sqtt2@cornell.eduDebugFlag('RubySystem') 9112771Sqtt2@cornell.eduDebugFlag('RubyTester') 9212771Sqtt2@cornell.eduDebugFlag('RubyStats') 9312771Sqtt2@cornell.eduDebugFlag('RubyResourceStalls') 9412771Sqtt2@cornell.edu 9512771Sqtt2@cornell.eduCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester', 9612771Sqtt2@cornell.edu 'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache', 9712771Sqtt2@cornell.edu 'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace']) 9812771Sqtt2@cornell.edu