SConscript revision 12837
12817Sksewell@umich.edu# -*- mode:python -*-
22817Sksewell@umich.edu
32817Sksewell@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
42817Sksewell@umich.edu# All rights reserved.
52817Sksewell@umich.edu#
62817Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without
72817Sksewell@umich.edu# modification, are permitted provided that the following conditions are
82817Sksewell@umich.edu# met: redistributions of source code must retain the above copyright
92817Sksewell@umich.edu# notice, this list of conditions and the following disclaimer;
102817Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright
112817Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the
122817Sksewell@umich.edu# documentation and/or other materials provided with the distribution;
132817Sksewell@umich.edu# neither the name of the copyright holders nor the names of its
142817Sksewell@umich.edu# contributors may be used to endorse or promote products derived from
152817Sksewell@umich.edu# this software without specific prior written permission.
162817Sksewell@umich.edu#
172817Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182817Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192817Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202817Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212817Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222817Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232817Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242817Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252817Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262817Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272817Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282817Sksewell@umich.edu#
292817Sksewell@umich.edu# Authors: Nathan Binkert
302817Sksewell@umich.edu
312817Sksewell@umich.eduImport('*')
323776Sgblack@eecs.umich.edu
332817Sksewell@umich.eduSimObject('CommMonitor.py')
342834Sksewell@umich.eduSource('comm_monitor.cc')
352817Sksewell@umich.edu
362817Sksewell@umich.eduSimObject('AbstractMemory.py')
372817Sksewell@umich.eduSimObject('AddrMapper.py')
382817Sksewell@umich.eduSimObject('Bridge.py')
392817Sksewell@umich.eduSimObject('DRAMCtrl.py')
402817Sksewell@umich.eduSimObject('ExternalMaster.py')
412817Sksewell@umich.eduSimObject('ExternalSlave.py')
422817Sksewell@umich.eduSimObject('MemObject.py')
432817Sksewell@umich.eduSimObject('SimpleMemory.py')
442817Sksewell@umich.eduSimObject('XBar.py')
452817Sksewell@umich.eduSimObject('HMCController.py')
462817Sksewell@umich.eduSimObject('SerialLink.py')
473675Sktlim@umich.eduSimObject('MemDelay.py')
482817Sksewell@umich.edu
492817Sksewell@umich.eduSource('abstract_mem.cc')
502817Sksewell@umich.eduSource('addr_mapper.cc')
512817Sksewell@umich.eduSource('bridge.cc')
522817Sksewell@umich.eduSource('coherent_xbar.cc')
532817Sksewell@umich.eduSource('drampower.cc')
542817Sksewell@umich.eduSource('dram_ctrl.cc')
553126Sktlim@umich.eduSource('external_master.cc')
562817Sksewell@umich.eduSource('external_slave.cc')
572817Sksewell@umich.eduSource('mem_object.cc')
582817Sksewell@umich.eduSource('mport.cc')
592817Sksewell@umich.eduSource('noncoherent_xbar.cc')
602817Sksewell@umich.eduSource('packet.cc')
612817Sksewell@umich.eduSource('port.cc')
622817Sksewell@umich.eduSource('packet_queue.cc')
632817Sksewell@umich.eduSource('port_proxy.cc')
642817Sksewell@umich.eduSource('physical.cc')
652817Sksewell@umich.eduSource('simple_mem.cc')
662817Sksewell@umich.eduSource('snoop_filter.cc')
672817Sksewell@umich.eduSource('stack_dist_calc.cc')
682817Sksewell@umich.eduSource('tport.cc')
692817Sksewell@umich.eduSource('xbar.cc')
702817Sksewell@umich.eduSource('hmc_controller.cc')
712817Sksewell@umich.eduSource('serial_link.cc')
722817Sksewell@umich.eduSource('mem_delay.cc')
732817Sksewell@umich.edu
742817Sksewell@umich.eduif env['TARGET_ISA'] != 'null':
752817Sksewell@umich.edu    Source('fs_translating_port_proxy.cc')
762817Sksewell@umich.edu    Source('se_translating_port_proxy.cc')
772817Sksewell@umich.edu    Source('page_table.cc')
782817Sksewell@umich.edu
792817Sksewell@umich.eduif env['HAVE_DRAMSIM']:
802817Sksewell@umich.edu    SimObject('DRAMSim2.py')
812817Sksewell@umich.edu    Source('dramsim2_wrapper.cc')
822817Sksewell@umich.edu    Source('dramsim2.cc')
832817Sksewell@umich.edu
842817Sksewell@umich.eduSimObject('MemChecker.py')
852817Sksewell@umich.eduSource('mem_checker.cc')
862817Sksewell@umich.eduSource('mem_checker_monitor.cc')
872817Sksewell@umich.edu
882817Sksewell@umich.eduDebugFlag('AddrRanges')
892817Sksewell@umich.eduDebugFlag('BaseXBar')
902817Sksewell@umich.eduDebugFlag('CoherentXBar')
912817Sksewell@umich.eduDebugFlag('NoncoherentXBar')
922817Sksewell@umich.eduDebugFlag('SnoopFilter')
932817Sksewell@umich.eduCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar',
942817Sksewell@umich.edu                      'SnoopFilter'])
952817Sksewell@umich.edu
962817Sksewell@umich.eduDebugFlag('Bridge')
972817Sksewell@umich.eduDebugFlag('CommMonitor')
982817Sksewell@umich.eduDebugFlag('DRAM')
992817Sksewell@umich.eduDebugFlag('DRAMPower')
1002817Sksewell@umich.eduDebugFlag('DRAMState')
1012817Sksewell@umich.eduDebugFlag('ExternalPort')
1022817Sksewell@umich.eduDebugFlag('LLSC')
1032817Sksewell@umich.eduDebugFlag('MMU')
1042817Sksewell@umich.eduDebugFlag('MemoryAccess')
1053686Sktlim@umich.eduDebugFlag('PacketQueue')
1064217Ssaidi@eecs.umich.eduDebugFlag('StackDist')
1073686Sktlim@umich.eduDebugFlag("DRAMSim2")
1083686Sktlim@umich.eduDebugFlag('HMCController')
1092817Sksewell@umich.eduDebugFlag('SerialLink')
1102817Sksewell@umich.edu
1112817Sksewell@umich.eduDebugFlag("MemChecker")
1122817Sksewell@umich.eduDebugFlag("MemCheckerMonitor")
1132817Sksewell@umich.edu