SConscript revision 9259
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan
4955SN/A# All rights reserved.
5955SN/A#
6955SN/A# Redistribution and use in source and binary forms, with or without
7955SN/A# modification, are permitted provided that the following conditions are
8955SN/A# met: redistributions of source code must retain the above copyright
9955SN/A# notice, this list of conditions and the following disclaimer;
10955SN/A# redistributions in binary form must reproduce the above copyright
11955SN/A# notice, this list of conditions and the following disclaimer in the
12955SN/A# documentation and/or other materials provided with the distribution;
13955SN/A# neither the name of the copyright holders nor the names of its
14955SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
294762Snate@binkert.org# Authors: Nathan Binkert
30955SN/A
315522Snate@binkert.orgImport('*')
326143Snate@binkert.org
334762Snate@binkert.orgSimObject('AddrMapper.py')
345522Snate@binkert.orgSimObject('Bridge.py')
35955SN/ASimObject('Bus.py')
365522Snate@binkert.orgSimObject('CommMonitor.py')
37955SN/ASimObject('MemObject.py')
385522Snate@binkert.org
394202Sbinkertn@umich.eduSource('addr_mapper.cc')
405742Snate@binkert.orgSource('bridge.cc')
41955SN/ASource('bus.cc')
424381Sbinkertn@umich.eduSource('coherent_bus.cc')
434381Sbinkertn@umich.eduSource('comm_monitor.cc')
448334Snate@binkert.orgSource('mem_object.cc')
45955SN/ASource('mport.cc')
46955SN/ASource('noncoherent_bus.cc')
474202Sbinkertn@umich.eduSource('packet.cc')
48955SN/ASource('port.cc')
494382Sbinkertn@umich.eduSource('packet_queue.cc')
504382Sbinkertn@umich.eduSource('tport.cc')
514382Sbinkertn@umich.eduSource('port_proxy.cc')
526654Snate@binkert.orgSource('fs_translating_port_proxy.cc')
535517Snate@binkert.orgSource('se_translating_port_proxy.cc')
548614Sgblack@eecs.umich.edu
557674Snate@binkert.orgif env['TARGET_ISA'] != 'no':
566143Snate@binkert.org    SimObject('AbstractMemory.py')
576143Snate@binkert.org    SimObject('SimpleMemory.py')
586143Snate@binkert.org    SimObject('SimpleDRAM.py')
598233Snate@binkert.org    Source('abstract_mem.cc')
608233Snate@binkert.org    Source('simple_mem.cc')
618233Snate@binkert.org    Source('page_table.cc')
628233Snate@binkert.org    Source('physical.cc')
638233Snate@binkert.org    Source('simple_dram.cc')
648334Snate@binkert.org
658334Snate@binkert.orgDebugFlag('BaseBus')
6610453SAndrew.Bardsley@arm.comDebugFlag('BusAddrRanges')
6710453SAndrew.Bardsley@arm.comDebugFlag('CoherentBus')
688233Snate@binkert.orgDebugFlag('NoncoherentBus')
698233Snate@binkert.orgCompoundFlag('Bus', ['BaseBus', 'BusAddrRanges', 'CoherentBus',
708233Snate@binkert.org                     'NoncoherentBus'])
718233Snate@binkert.org
728233Snate@binkert.orgDebugFlag('Bridge')
738233Snate@binkert.orgDebugFlag('CommMonitor')
746143Snate@binkert.orgDebugFlag('DRAM')
758233Snate@binkert.orgDebugFlag('DRAMWR')
768233Snate@binkert.orgDebugFlag('LLSC')
778233Snate@binkert.orgDebugFlag('MMU')
786143Snate@binkert.orgDebugFlag('MemoryAccess')
796143Snate@binkert.orgDebugFlag('PacketQueue')
806143Snate@binkert.org
8111308Santhony.gutierrez@amd.comDebugFlag('ProtocolTrace')
828233Snate@binkert.orgDebugFlag('RubyCache')
838233Snate@binkert.orgDebugFlag('RubyCacheTrace')
848233Snate@binkert.orgDebugFlag('RubyDma')
856143Snate@binkert.orgDebugFlag('RubyGenerated')
868233Snate@binkert.orgDebugFlag('RubyMemory')
878233Snate@binkert.orgDebugFlag('RubyNetwork')
888233Snate@binkert.orgDebugFlag('RubyPort')
898233Snate@binkert.orgDebugFlag('RubyQueue')
906143Snate@binkert.orgDebugFlag('RubySequencer')
916143Snate@binkert.orgDebugFlag('RubySlicc')
926143Snate@binkert.orgDebugFlag('RubySystem')
934762Snate@binkert.orgDebugFlag('RubyTester')
946143Snate@binkert.orgDebugFlag('RubyStats')
958233Snate@binkert.orgDebugFlag('RubyResourceStalls')
968233Snate@binkert.org
978233Snate@binkert.orgCompoundFlag('Ruby', [ 'RubyQueue', 'RubyNetwork', 'RubyTester',
988233Snate@binkert.org    'RubyGenerated', 'RubySlicc', 'RubySystem', 'RubyCache',
998233Snate@binkert.org    'RubyMemory', 'RubyDma', 'RubyPort', 'RubySequencer', 'RubyCacheTrace'])
1006143Snate@binkert.org