SConscript revision 14007
112027Sjungma@eit.uni-kl.de# -*- mode:python -*-
212027Sjungma@eit.uni-kl.de#
312027Sjungma@eit.uni-kl.de# Copyright (c) 2018 ARM Limited
412027Sjungma@eit.uni-kl.de# All rights reserved
512027Sjungma@eit.uni-kl.de#
612027Sjungma@eit.uni-kl.de# The license below extends only to copyright in the software and shall
712027Sjungma@eit.uni-kl.de# not be construed as granting a license to any other intellectual
812027Sjungma@eit.uni-kl.de# property including but not limited to intellectual property relating
912027Sjungma@eit.uni-kl.de# to a hardware implementation of the functionality of the software
1012027Sjungma@eit.uni-kl.de# licensed hereunder.  You may use the software subject to the license
1112027Sjungma@eit.uni-kl.de# terms below provided that you ensure that this notice is replicated
1212027Sjungma@eit.uni-kl.de# unmodified and in its entirety in all distributions of the software,
1312027Sjungma@eit.uni-kl.de# modified or unmodified, in source code or in binary form.
1412027Sjungma@eit.uni-kl.de#
1512027Sjungma@eit.uni-kl.de# Copyright (c) 2006 The Regents of The University of Michigan
1612027Sjungma@eit.uni-kl.de# All rights reserved.
1712027Sjungma@eit.uni-kl.de#
1812027Sjungma@eit.uni-kl.de# Redistribution and use in source and binary forms, with or without
1912027Sjungma@eit.uni-kl.de# modification, are permitted provided that the following conditions are
2012027Sjungma@eit.uni-kl.de# met: redistributions of source code must retain the above copyright
2112027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer;
2212027Sjungma@eit.uni-kl.de# redistributions in binary form must reproduce the above copyright
2312027Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer in the
2412027Sjungma@eit.uni-kl.de# documentation and/or other materials provided with the distribution;
2512027Sjungma@eit.uni-kl.de# neither the name of the copyright holders nor the names of its
2612027Sjungma@eit.uni-kl.de# contributors may be used to endorse or promote products derived from
2712027Sjungma@eit.uni-kl.de# this software without specific prior written permission.
2812027Sjungma@eit.uni-kl.de#
2912027Sjungma@eit.uni-kl.de# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
3012027Sjungma@eit.uni-kl.de# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
3112027Sjungma@eit.uni-kl.de# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
3212027Sjungma@eit.uni-kl.de# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
3312027Sjungma@eit.uni-kl.de# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
3412027Sjungma@eit.uni-kl.de# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
3512027Sjungma@eit.uni-kl.de# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3612027Sjungma@eit.uni-kl.de# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3712027Sjungma@eit.uni-kl.de# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3812027Sjungma@eit.uni-kl.de# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3912027Sjungma@eit.uni-kl.de# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4012027Sjungma@eit.uni-kl.de#
4112027Sjungma@eit.uni-kl.de# Authors: Nathan Binkert
4212027Sjungma@eit.uni-kl.de
4312027Sjungma@eit.uni-kl.deImport('*')
4412027Sjungma@eit.uni-kl.de
4512027Sjungma@eit.uni-kl.deSimObject('CommMonitor.py')
4612027Sjungma@eit.uni-kl.deSource('comm_monitor.cc')
4712027Sjungma@eit.uni-kl.de
4812027Sjungma@eit.uni-kl.deSimObject('AbstractMemory.py')
4912027Sjungma@eit.uni-kl.deSimObject('AddrMapper.py')
5012027Sjungma@eit.uni-kl.deSimObject('Bridge.py')
5112027Sjungma@eit.uni-kl.deSimObject('DRAMCtrl.py')
5212027Sjungma@eit.uni-kl.deSimObject('ExternalMaster.py')
5312027Sjungma@eit.uni-kl.deSimObject('ExternalSlave.py')
5412027Sjungma@eit.uni-kl.deSimObject('MemObject.py')
5512027Sjungma@eit.uni-kl.deSimObject('SimpleMemory.py')
5612027Sjungma@eit.uni-kl.deSimObject('XBar.py')
5712027Sjungma@eit.uni-kl.deSimObject('HMCController.py')
5812027Sjungma@eit.uni-kl.deSimObject('SerialLink.py')
5912027Sjungma@eit.uni-kl.deSimObject('MemDelay.py')
6012027Sjungma@eit.uni-kl.de
6112027Sjungma@eit.uni-kl.deSource('abstract_mem.cc')
6212027Sjungma@eit.uni-kl.deSource('addr_mapper.cc')
6312027Sjungma@eit.uni-kl.deSource('bridge.cc')
6412027Sjungma@eit.uni-kl.deSource('coherent_xbar.cc')
6512027Sjungma@eit.uni-kl.deSource('drampower.cc')
6612027Sjungma@eit.uni-kl.deSource('dram_ctrl.cc')
6712027Sjungma@eit.uni-kl.deSource('external_master.cc')
6812027Sjungma@eit.uni-kl.deSource('external_slave.cc')
6912027Sjungma@eit.uni-kl.deSource('mem_object.cc')
7012027Sjungma@eit.uni-kl.deSource('mport.cc')
7112027Sjungma@eit.uni-kl.deSource('noncoherent_xbar.cc')
7212027Sjungma@eit.uni-kl.deSource('packet.cc')
7312027Sjungma@eit.uni-kl.deSource('port.cc')
7412027Sjungma@eit.uni-kl.deSource('packet_queue.cc')
7512027Sjungma@eit.uni-kl.deSource('port_proxy.cc')
7612027Sjungma@eit.uni-kl.deSource('physical.cc')
7712027Sjungma@eit.uni-kl.deSource('secure_port_proxy.cc')
7812027Sjungma@eit.uni-kl.deSource('simple_mem.cc')
7912027Sjungma@eit.uni-kl.deSource('snoop_filter.cc')
8012027Sjungma@eit.uni-kl.deSource('stack_dist_calc.cc')
8112027Sjungma@eit.uni-kl.deSource('tport.cc')
8212027Sjungma@eit.uni-kl.deSource('xbar.cc')
8312027Sjungma@eit.uni-kl.deSource('hmc_controller.cc')
8412027Sjungma@eit.uni-kl.deSource('serial_link.cc')
8512027Sjungma@eit.uni-kl.deSource('mem_delay.cc')
8612027Sjungma@eit.uni-kl.de
8712027Sjungma@eit.uni-kl.deif env['TARGET_ISA'] != 'null':
8812027Sjungma@eit.uni-kl.de    Source('fs_translating_port_proxy.cc')
8912027Sjungma@eit.uni-kl.de    Source('se_translating_port_proxy.cc')
9012027Sjungma@eit.uni-kl.de    Source('page_table.cc')
9112027Sjungma@eit.uni-kl.de
9212027Sjungma@eit.uni-kl.deif env['HAVE_DRAMSIM']:
9312027Sjungma@eit.uni-kl.de    SimObject('DRAMSim2.py')
9412027Sjungma@eit.uni-kl.de    Source('dramsim2_wrapper.cc')
9512027Sjungma@eit.uni-kl.de    Source('dramsim2.cc')
9612027Sjungma@eit.uni-kl.de
9712027Sjungma@eit.uni-kl.deSimObject('MemChecker.py')
9812027Sjungma@eit.uni-kl.deSource('mem_checker.cc')
9912027Sjungma@eit.uni-kl.deSource('mem_checker_monitor.cc')
10012027Sjungma@eit.uni-kl.de
10112027Sjungma@eit.uni-kl.deDebugFlag('AddrRanges')
10212027Sjungma@eit.uni-kl.deDebugFlag('BaseXBar')
10312027Sjungma@eit.uni-kl.deDebugFlag('CoherentXBar')
10412027Sjungma@eit.uni-kl.deDebugFlag('NoncoherentXBar')
10512027Sjungma@eit.uni-kl.deDebugFlag('SnoopFilter')
10612027Sjungma@eit.uni-kl.deCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar',
10712027Sjungma@eit.uni-kl.de                      'SnoopFilter'])
10812027Sjungma@eit.uni-kl.de
10912027Sjungma@eit.uni-kl.deDebugFlag('Bridge')
11012027Sjungma@eit.uni-kl.deDebugFlag('CommMonitor')
11112027Sjungma@eit.uni-kl.deDebugFlag('DRAM')
11212027Sjungma@eit.uni-kl.deDebugFlag('DRAMPower')
11312027Sjungma@eit.uni-kl.deDebugFlag('DRAMState')
11412027Sjungma@eit.uni-kl.deDebugFlag('ExternalPort')
11512027Sjungma@eit.uni-kl.deDebugFlag('LLSC')
11612027Sjungma@eit.uni-kl.deDebugFlag('MMU')
11712027Sjungma@eit.uni-kl.deDebugFlag('MemoryAccess')
11812027Sjungma@eit.uni-kl.deDebugFlag('PacketQueue')
11912027Sjungma@eit.uni-kl.deDebugFlag('StackDist')
12012027Sjungma@eit.uni-kl.deDebugFlag("DRAMSim2")
12112027Sjungma@eit.uni-kl.deDebugFlag('HMCController')
12212027Sjungma@eit.uni-kl.deDebugFlag('SerialLink')
12312027Sjungma@eit.uni-kl.de
12412027Sjungma@eit.uni-kl.deDebugFlag("MemChecker")
12512027Sjungma@eit.uni-kl.deDebugFlag("MemCheckerMonitor")
12612027Sjungma@eit.uni-kl.deDebugFlag("QOS")
12712027Sjungma@eit.uni-kl.de