SConscript revision 12966
14202Sbinkertn@umich.edu# -*- mode:python -*-
212966SMatteo.Andreozzi@arm.com#
312966SMatteo.Andreozzi@arm.com# Copyright (c) 2018 ARM Limited
412966SMatteo.Andreozzi@arm.com# All rights reserved
512966SMatteo.Andreozzi@arm.com#
612966SMatteo.Andreozzi@arm.com# The license below extends only to copyright in the software and shall
712966SMatteo.Andreozzi@arm.com# not be construed as granting a license to any other intellectual
812966SMatteo.Andreozzi@arm.com# property including but not limited to intellectual property relating
912966SMatteo.Andreozzi@arm.com# to a hardware implementation of the functionality of the software
1012966SMatteo.Andreozzi@arm.com# licensed hereunder.  You may use the software subject to the license
1112966SMatteo.Andreozzi@arm.com# terms below provided that you ensure that this notice is replicated
1212966SMatteo.Andreozzi@arm.com# unmodified and in its entirety in all distributions of the software,
1312966SMatteo.Andreozzi@arm.com# modified or unmodified, in source code or in binary form.
1412966SMatteo.Andreozzi@arm.com#
154202Sbinkertn@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
164202Sbinkertn@umich.edu# All rights reserved.
174202Sbinkertn@umich.edu#
184202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without
194202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are
204202Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright
214202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer;
224202Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright
234202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the
244202Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution;
254202Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its
264202Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from
274202Sbinkertn@umich.edu# this software without specific prior written permission.
284202Sbinkertn@umich.edu#
294202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
304202Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
314202Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
324202Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
334202Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
344202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
354202Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
364202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
374202Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
384202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
394202Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
404202Sbinkertn@umich.edu#
414202Sbinkertn@umich.edu# Authors: Nathan Binkert
424202Sbinkertn@umich.edu
434202Sbinkertn@umich.eduImport('*')
444202Sbinkertn@umich.edu
4510996Sandreas.sandberg@arm.comSimObject('CommMonitor.py')
4610996Sandreas.sandberg@arm.comSource('comm_monitor.cc')
479398Sandreas.hansson@arm.com
489850Sandreas.hansson@arm.comSimObject('AbstractMemory.py')
499259SAli.Saidi@ARM.comSimObject('AddrMapper.py')
504486Sbinkertn@umich.eduSimObject('Bridge.py')
5110146Sandreas.hansson@arm.comSimObject('DRAMCtrl.py')
5210478SAndrew.Bardsley@arm.comSimObject('ExternalMaster.py')
5310478SAndrew.Bardsley@arm.comSimObject('ExternalSlave.py')
546165Ssanchezd@stanford.eduSimObject('MemObject.py')
559850Sandreas.hansson@arm.comSimObject('SimpleMemory.py')
5610405Sandreas.hansson@arm.comSimObject('XBar.py')
5711184Serfan.azarkhish@unibo.itSimObject('HMCController.py')
5811185Serfan.azarkhish@unibo.itSimObject('SerialLink.py')
5912802Sandreas.sandberg@arm.comSimObject('MemDelay.py')
606168Snate@binkert.org
619850Sandreas.hansson@arm.comSource('abstract_mem.cc')
629259SAli.Saidi@ARM.comSource('addr_mapper.cc')
634202Sbinkertn@umich.eduSource('bridge.cc')
6410405Sandreas.hansson@arm.comSource('coherent_xbar.cc')
6510431SOmar.Naji@arm.comSource('drampower.cc')
6610146Sandreas.hansson@arm.comSource('dram_ctrl.cc')
6710478SAndrew.Bardsley@arm.comSource('external_master.cc')
6810478SAndrew.Bardsley@arm.comSource('external_slave.cc')
694202Sbinkertn@umich.eduSource('mem_object.cc')
708761Sgblack@eecs.umich.eduSource('mport.cc')
7110405Sandreas.hansson@arm.comSource('noncoherent_xbar.cc')
724202Sbinkertn@umich.eduSource('packet.cc')
734202Sbinkertn@umich.eduSource('port.cc')
748914Sandreas.hansson@arm.comSource('packet_queue.cc')
7510405Sandreas.hansson@arm.comSource('port_proxy.cc')
7610405Sandreas.hansson@arm.comSource('physical.cc')
7710405Sandreas.hansson@arm.comSource('simple_mem.cc')
7810405Sandreas.hansson@arm.comSource('snoop_filter.cc')
7910614Skanishk.sugand@arm.comSource('stack_dist_calc.cc')
804202Sbinkertn@umich.eduSource('tport.cc')
8110405Sandreas.hansson@arm.comSource('xbar.cc')
8211184Serfan.azarkhish@unibo.itSource('hmc_controller.cc')
8311185Serfan.azarkhish@unibo.itSource('serial_link.cc')
8412802Sandreas.sandberg@arm.comSource('mem_delay.cc')
856168Snate@binkert.org
869850Sandreas.hansson@arm.comif env['TARGET_ISA'] != 'null':
879850Sandreas.hansson@arm.com    Source('fs_translating_port_proxy.cc')
889850Sandreas.hansson@arm.com    Source('se_translating_port_proxy.cc')
898763Sgblack@eecs.umich.edu    Source('page_table.cc')
907768SAli.Saidi@ARM.com
9110131Sandreas.hansson@arm.comif env['HAVE_DRAMSIM']:
9210131Sandreas.hansson@arm.com    SimObject('DRAMSim2.py')
9310131Sandreas.hansson@arm.com    Source('dramsim2_wrapper.cc')
9410131Sandreas.hansson@arm.com    Source('dramsim2.cc')
9510066Sandreas.hansson@arm.com
9610612SMarco.Elver@ARM.comSimObject('MemChecker.py')
9710612SMarco.Elver@ARM.comSource('mem_checker.cc')
9810612SMarco.Elver@ARM.comSource('mem_checker_monitor.cc')
9910612SMarco.Elver@ARM.com
10010405Sandreas.hansson@arm.comDebugFlag('AddrRanges')
10110405Sandreas.hansson@arm.comDebugFlag('BaseXBar')
10210405Sandreas.hansson@arm.comDebugFlag('CoherentXBar')
10310405Sandreas.hansson@arm.comDebugFlag('NoncoherentXBar')
10410399Sstephan.diestelhorst@arm.comDebugFlag('SnoopFilter')
10510405Sandreas.hansson@arm.comCompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar',
10610405Sandreas.hansson@arm.com                      'SnoopFilter'])
1079036Sandreas.hansson@arm.com
1089164Sandreas.hansson@arm.comDebugFlag('Bridge')
1098981Sandreas.hansson@arm.comDebugFlag('CommMonitor')
1109243Sandreas.hansson@arm.comDebugFlag('DRAM')
11110247Sandreas.hansson@arm.comDebugFlag('DRAMPower')
11210208Sandreas.hansson@arm.comDebugFlag('DRAMState')
11310478SAndrew.Bardsley@arm.comDebugFlag('ExternalPort')
1148335Snate@binkert.orgDebugFlag('LLSC')
1158335Snate@binkert.orgDebugFlag('MMU')
1168335Snate@binkert.orgDebugFlag('MemoryAccess')
1178914Sandreas.hansson@arm.comDebugFlag('PacketQueue')
11810614Skanishk.sugand@arm.comDebugFlag('StackDist')
11910066Sandreas.hansson@arm.comDebugFlag("DRAMSim2")
12011184Serfan.azarkhish@unibo.itDebugFlag('HMCController')
12111185Serfan.azarkhish@unibo.itDebugFlag('SerialLink')
12210612SMarco.Elver@ARM.com
12310612SMarco.Elver@ARM.comDebugFlag("MemChecker")
12410612SMarco.Elver@ARM.comDebugFlag("MemCheckerMonitor")
12512966SMatteo.Andreozzi@arm.comDebugFlag("QOS")
126