SConscript revision 11185
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#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
30955SN/A
31955SN/AImport('*')
32955SN/A
331608SN/ASimObject('CommMonitor.py')
34955SN/ASource('comm_monitor.cc')
35955SN/A
36955SN/ASimObject('AbstractMemory.py')
37955SN/ASimObject('AddrMapper.py')
38955SN/ASimObject('Bridge.py')
39955SN/ASimObject('DRAMCtrl.py')
40955SN/ASimObject('ExternalMaster.py')
41955SN/ASimObject('ExternalSlave.py')
42955SN/ASimObject('MemObject.py')
43955SN/ASimObject('SimpleMemory.py')
44955SN/ASimObject('XBar.py')
45955SN/ASimObject('HMCController.py')
46955SN/ASimObject('SerialLink.py')
47955SN/A
482023SN/ASource('abstract_mem.cc')
49955SN/ASource('addr_mapper.cc')
503089Ssaidi@eecs.umich.eduSource('bridge.cc')
51955SN/ASource('coherent_xbar.cc')
52955SN/ASource('drampower.cc')
53955SN/ASource('dram_ctrl.cc')
54955SN/ASource('external_master.cc')
55955SN/ASource('external_slave.cc')
56955SN/ASource('mem_object.cc')
57955SN/ASource('mport.cc')
58955SN/ASource('noncoherent_xbar.cc')
591031SN/ASource('packet.cc')
60955SN/ASource('port.cc')
611388SN/ASource('packet_queue.cc')
62955SN/ASource('port_proxy.cc')
63955SN/ASource('physical.cc')
641296SN/ASource('simple_mem.cc')
65955SN/ASource('snoop_filter.cc')
66955SN/ASource('stack_dist_calc.cc')
67955SN/ASource('tport.cc')
68955SN/ASource('xbar.cc')
69955SN/ASource('hmc_controller.cc')
70955SN/ASource('serial_link.cc')
71955SN/A
72955SN/Aif env['TARGET_ISA'] != 'null':
73955SN/A    Source('fs_translating_port_proxy.cc')
74955SN/A    Source('se_translating_port_proxy.cc')
75955SN/A    Source('page_table.cc')
76955SN/Aif env['TARGET_ISA'] == 'x86':
77955SN/A    Source('multi_level_page_table.cc')
78955SN/A
79955SN/Aif env['HAVE_DRAMSIM']:
80955SN/A    SimObject('DRAMSim2.py')
81955SN/A    Source('dramsim2_wrapper.cc')
82955SN/A    Source('dramsim2.cc')
83955SN/A
842325SN/ASimObject('MemChecker.py')
851717SN/ASource('mem_checker.cc')
862652Ssaidi@eecs.umich.eduSource('mem_checker_monitor.cc')
87955SN/A
882736Sktlim@umich.eduDebugFlag('AddrRanges')
892410SN/ADebugFlag('BaseXBar')
90955SN/ADebugFlag('CoherentXBar')
912290SN/ADebugFlag('NoncoherentXBar')
92955SN/ADebugFlag('SnoopFilter')
932683Sktlim@umich.eduCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar',
942683Sktlim@umich.edu                      'SnoopFilter'])
952669Sktlim@umich.edu
962568SN/ADebugFlag('Bridge')
972568SN/ADebugFlag('CommMonitor')
983012Ssaidi@eecs.umich.eduDebugFlag('DRAM')
992462SN/ADebugFlag('DRAMPower')
1002568SN/ADebugFlag('DRAMState')
1012395SN/ADebugFlag('ExternalPort')
1022405SN/ADebugFlag('LLSC')
1032914Ssaidi@eecs.umich.eduDebugFlag('MMU')
104955SN/ADebugFlag('MemoryAccess')
1052811Srdreslin@umich.eduDebugFlag('PacketQueue')
1062811Srdreslin@umich.eduDebugFlag('StackDist')
1072811Srdreslin@umich.eduDebugFlag("DRAMSim2")
1082811Srdreslin@umich.eduDebugFlag('HMCController')
1092811Srdreslin@umich.eduDebugFlag('SerialLink')
1102811Srdreslin@umich.edu
1112811Srdreslin@umich.eduDebugFlag("MemChecker")
1122811Srdreslin@umich.eduDebugFlag("MemCheckerMonitor")
1132811Srdreslin@umich.edu