SConscript revision 10996
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
3112563Sgabeblack@google.comImport('*')
3212563Sgabeblack@google.com
335522Snate@binkert.orgSimObject('CommMonitor.py')
346143Snate@binkert.orgSource('comm_monitor.cc')
3512371Sgabeblack@google.com
364762Snate@binkert.orgSimObject('AbstractMemory.py')
375522Snate@binkert.orgSimObject('AddrMapper.py')
38955SN/ASimObject('Bridge.py')
395522Snate@binkert.orgSimObject('DRAMCtrl.py')
4011974Sgabeblack@google.comSimObject('ExternalMaster.py')
41955SN/ASimObject('ExternalSlave.py')
425522Snate@binkert.orgSimObject('MemObject.py')
434202Sbinkertn@umich.eduSimObject('SimpleMemory.py')
445742Snate@binkert.orgSimObject('XBar.py')
45955SN/A
464381Sbinkertn@umich.eduSource('abstract_mem.cc')
474381Sbinkertn@umich.eduSource('addr_mapper.cc')
4812246Sgabeblack@google.comSource('bridge.cc')
4912246Sgabeblack@google.comSource('coherent_xbar.cc')
508334Snate@binkert.orgSource('drampower.cc')
51955SN/ASource('dram_ctrl.cc')
52955SN/ASource('external_master.cc')
534202Sbinkertn@umich.eduSource('external_slave.cc')
54955SN/ASource('mem_object.cc')
554382Sbinkertn@umich.eduSource('mport.cc')
564382Sbinkertn@umich.eduSource('noncoherent_xbar.cc')
574382Sbinkertn@umich.eduSource('packet.cc')
586654Snate@binkert.orgSource('port.cc')
595517Snate@binkert.orgSource('packet_queue.cc')
608614Sgblack@eecs.umich.eduSource('port_proxy.cc')
617674Snate@binkert.orgSource('physical.cc')
626143Snate@binkert.orgSource('simple_mem.cc')
636143Snate@binkert.orgSource('snoop_filter.cc')
646143Snate@binkert.orgSource('stack_dist_calc.cc')
6512302Sgabeblack@google.comSource('tport.cc')
6612302Sgabeblack@google.comSource('xbar.cc')
6712302Sgabeblack@google.com
6812371Sgabeblack@google.comif env['TARGET_ISA'] != 'null':
6912371Sgabeblack@google.com    Source('fs_translating_port_proxy.cc')
7012371Sgabeblack@google.com    Source('se_translating_port_proxy.cc')
7112371Sgabeblack@google.com    Source('page_table.cc')
7212371Sgabeblack@google.comif env['TARGET_ISA'] == 'x86':
7312371Sgabeblack@google.com    Source('multi_level_page_table.cc')
7412371Sgabeblack@google.com
7512371Sgabeblack@google.comif env['HAVE_DRAMSIM']:
7612371Sgabeblack@google.com    SimObject('DRAMSim2.py')
7712371Sgabeblack@google.com    Source('dramsim2_wrapper.cc')
7812371Sgabeblack@google.com    Source('dramsim2.cc')
7912371Sgabeblack@google.com
8012371Sgabeblack@google.comSimObject('MemChecker.py')
8112371Sgabeblack@google.comSource('mem_checker.cc')
8212371Sgabeblack@google.comSource('mem_checker_monitor.cc')
8312371Sgabeblack@google.com
8412371Sgabeblack@google.comDebugFlag('AddrRanges')
8512371Sgabeblack@google.comDebugFlag('BaseXBar')
8612371Sgabeblack@google.comDebugFlag('CoherentXBar')
8712371Sgabeblack@google.comDebugFlag('NoncoherentXBar')
8812371Sgabeblack@google.comDebugFlag('SnoopFilter')
8912371Sgabeblack@google.comCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar',
9012371Sgabeblack@google.com                      'SnoopFilter'])
9112371Sgabeblack@google.com
9212371Sgabeblack@google.comDebugFlag('Bridge')
9312371Sgabeblack@google.comDebugFlag('CommMonitor')
9412371Sgabeblack@google.comDebugFlag('DRAM')
9512371Sgabeblack@google.comDebugFlag('DRAMPower')
9612371Sgabeblack@google.comDebugFlag('DRAMState')
9712371Sgabeblack@google.comDebugFlag('ExternalPort')
9812371Sgabeblack@google.comDebugFlag('LLSC')
9912371Sgabeblack@google.comDebugFlag('MMU')
10012371Sgabeblack@google.comDebugFlag('MemoryAccess')
10112371Sgabeblack@google.comDebugFlag('PacketQueue')
10212371Sgabeblack@google.comDebugFlag('StackDist')
10312371Sgabeblack@google.comDebugFlag("DRAMSim2")
10412371Sgabeblack@google.com
10512371Sgabeblack@google.comDebugFlag("MemChecker")
10612371Sgabeblack@google.comDebugFlag("MemCheckerMonitor")
10712371Sgabeblack@google.com