SConscript revision 11642
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# Redistribution and use in source and binary forms, with or without
72155SN/A# modification, are permitted provided that the following conditions are
82155SN/A# met: redistributions of source code must retain the above copyright
92155SN/A# notice, this list of conditions and the following disclaimer;
102155SN/A# redistributions in binary form must reproduce the above copyright
112155SN/A# notice, this list of conditions and the following disclaimer in the
122155SN/A# documentation and/or other materials provided with the distribution;
132155SN/A# neither the name of the copyright holders nor the names of its
142155SN/A# contributors may be used to endorse or promote products derived from
152155SN/A# this software without specific prior written permission.
162155SN/A#
172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302155SN/A
314202Sbinkertn@umich.eduImport('*')
322155SN/A
339850Sandreas.hansson@arm.comSimObject('CommMonitor.py')
349850Sandreas.hansson@arm.comSource('comm_monitor.cc')
359850Sandreas.hansson@arm.com
367768SAli.Saidi@ARM.comSimObject('AbstractMemory.py')
377768SAli.Saidi@ARM.comSimObject('AddrMapper.py')
3810695SAli.Saidi@ARM.comSimObject('Bridge.py')
3910695SAli.Saidi@ARM.comSimObject('DRAMCtrl.py')
4010695SAli.Saidi@ARM.comSimObject('ExternalMaster.py')
4110695SAli.Saidi@ARM.comSimObject('ExternalSlave.py')
4210695SAli.Saidi@ARM.comSimObject('MemObject.py')
438887Sgeoffrey.blake@arm.comSimObject('SimpleMemory.py')
442766Sktlim@umich.eduSimObject('XBar.py')
454486Sbinkertn@umich.eduSimObject('HMCController.py')
4610663SAli.Saidi@ARM.comSimObject('SerialLink.py')
474486Sbinkertn@umich.edu
488739Sgblack@eecs.umich.eduSource('abstract_mem.cc')
4910259SAndrew.Bardsley@arm.comSource('addr_mapper.cc')
504486Sbinkertn@umich.eduSource('bridge.cc')
514202Sbinkertn@umich.eduSource('coherent_xbar.cc')
524202Sbinkertn@umich.eduSource('drampower.cc')
534202Sbinkertn@umich.eduSource('dram_ctrl.cc')
544202Sbinkertn@umich.eduSource('external_master.cc')
5510319SAndreas.Sandberg@ARM.comSource('external_slave.cc')
564202Sbinkertn@umich.eduSource('mem_object.cc')
574776Sgblack@eecs.umich.eduSource('mport.cc')
588739Sgblack@eecs.umich.eduSource('noncoherent_xbar.cc')
596365Sgblack@eecs.umich.eduSource('packet.cc')
604202Sbinkertn@umich.eduSource('port.cc')
618777Sgblack@eecs.umich.eduSource('packet_queue.cc')
624202Sbinkertn@umich.eduSource('port_proxy.cc')
639913Ssteve.reinhardt@amd.comSource('physical.cc')
644202Sbinkertn@umich.eduSource('simple_mem.cc')
654202Sbinkertn@umich.eduSource('snoop_filter.cc')
665217Ssaidi@eecs.umich.eduSource('stack_dist_calc.cc')
674202Sbinkertn@umich.eduSource('tport.cc')
6810259SAndrew.Bardsley@arm.comSource('xbar.cc')
692155SN/ASource('hmc_controller.cc')
708887Sgeoffrey.blake@arm.comSource('serial_link.cc')
7110201SAndrew.Bardsley@arm.com
728887Sgeoffrey.blake@arm.comif env['TARGET_ISA'] != 'null':
739340SAndreas.Sandberg@arm.com    Source('fs_translating_port_proxy.cc')
748887Sgeoffrey.blake@arm.com    Source('se_translating_port_proxy.cc')
755192Ssaidi@eecs.umich.edu    Source('page_table.cc')
768335Snate@binkert.orgif env['TARGET_ISA'] == 'x86':
778335Snate@binkert.org    Source('multi_level_page_table.cc')
788335Snate@binkert.org
798335Snate@binkert.orgif env['HAVE_DRAMSIM']:
808335Snate@binkert.org    SimObject('DRAMSim2.py')
819534SAndreas.Sandberg@ARM.com    Source('dramsim2_wrapper.cc')
829534SAndreas.Sandberg@ARM.com    Source('dramsim2.cc')
839534SAndreas.Sandberg@ARM.com
848335Snate@binkert.orgSimObject('MemChecker.py')
859534SAndreas.Sandberg@ARM.comSource('mem_checker.cc')
869534SAndreas.Sandberg@ARM.comSource('mem_checker_monitor.cc')
878335Snate@binkert.org
889534SAndreas.Sandberg@ARM.comDebugFlag('AddrRanges')
899534SAndreas.Sandberg@ARM.comDebugFlag('BaseXBar')
909534SAndreas.Sandberg@ARM.comDebugFlag('CoherentXBar')
919534SAndreas.Sandberg@ARM.comDebugFlag('NoncoherentXBar')
929534SAndreas.Sandberg@ARM.comDebugFlag('SnoopFilter')
939534SAndreas.Sandberg@ARM.comCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar',
949534SAndreas.Sandberg@ARM.com                      'SnoopFilter'])
959534SAndreas.Sandberg@ARM.com
969534SAndreas.Sandberg@ARM.comDebugFlag('Bridge')
9710383Smitch.hayenga@arm.comDebugFlag('CommMonitor')
988335Snate@binkert.orgDebugFlag('DRAM')
998335Snate@binkert.orgDebugFlag('DRAMPower')
1008471SGiacomo.Gabrielli@arm.comDebugFlag('DRAMState')
1018335Snate@binkert.orgDebugFlag('ExternalPort')
1028335Snate@binkert.orgDebugFlag('LLSC')
10310529Smorr@cs.wisc.eduDebugFlag('MMU')
1045192Ssaidi@eecs.umich.eduDebugFlag('MemoryAccess')
1058232Snate@binkert.orgDebugFlag('PacketQueue')
1068232Snate@binkert.orgDebugFlag('StackDist')
10710664SAli.Saidi@ARM.comDebugFlag("DRAMSim2")
1088300Schander.sudanthi@arm.comDebugFlag('HMCController')
10910383Smitch.hayenga@arm.comDebugFlag('SerialLink')
1105192Ssaidi@eecs.umich.edu
11111162Ssteve.reinhardt@amd.comDebugFlag("MemChecker")
11211162Ssteve.reinhardt@amd.comDebugFlag("MemCheckerMonitor")
11311162Ssteve.reinhardt@amd.com