SConscript revision 12966
15131Sgblack@eecs.umich.edu# -*- mode:python -*-
25131Sgblack@eecs.umich.edu#
35131Sgblack@eecs.umich.edu# Copyright (c) 2018 ARM Limited
45131Sgblack@eecs.umich.edu# All rights reserved
55131Sgblack@eecs.umich.edu#
65131Sgblack@eecs.umich.edu# The license below extends only to copyright in the software and shall
75131Sgblack@eecs.umich.edu# not be construed as granting a license to any other intellectual
85131Sgblack@eecs.umich.edu# property including but not limited to intellectual property relating
95131Sgblack@eecs.umich.edu# to a hardware implementation of the functionality of the software
105131Sgblack@eecs.umich.edu# licensed hereunder.  You may use the software subject to the license
115131Sgblack@eecs.umich.edu# terms below provided that you ensure that this notice is replicated
125131Sgblack@eecs.umich.edu# unmodified and in its entirety in all distributions of the software,
135131Sgblack@eecs.umich.edu# modified or unmodified, in source code or in binary form.
145131Sgblack@eecs.umich.edu#
155131Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan
165131Sgblack@eecs.umich.edu# All rights reserved.
175131Sgblack@eecs.umich.edu#
185131Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
195131Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
205131Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
215131Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
225131Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
235131Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
245131Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
255131Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
265131Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
275131Sgblack@eecs.umich.edu# this software without specific prior written permission.
285131Sgblack@eecs.umich.edu#
295390Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
305131Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
315131Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
325131Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
335131Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
345638Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
355629Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
365131Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
375637Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
385637Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
395637Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
405629Sgblack@eecs.umich.edu#
415629Sgblack@eecs.umich.edu# Authors: Nathan Binkert
428335Snate@binkert.org
435630Sgblack@eecs.umich.eduImport('*')
445630Sgblack@eecs.umich.edu
455630Sgblack@eecs.umich.eduSimObject('CommMonitor.py')
468335Snate@binkert.orgSource('comm_monitor.cc')
475633Sgblack@eecs.umich.edu
485636Sgblack@eecs.umich.eduSimObject('AbstractMemory.py')
495636Sgblack@eecs.umich.eduSimObject('AddrMapper.py')
508335Snate@binkert.orgSimObject('Bridge.py')
515636Sgblack@eecs.umich.eduSimObject('DRAMCtrl.py')
525818Sgblack@eecs.umich.eduSimObject('ExternalMaster.py')
535818Sgblack@eecs.umich.eduSimObject('ExternalSlave.py')
548335Snate@binkert.orgSimObject('MemObject.py')
555818Sgblack@eecs.umich.eduSimObject('SimpleMemory.py')
565831Sgblack@eecs.umich.eduSimObject('XBar.py')
575831Sgblack@eecs.umich.eduSimObject('HMCController.py')
588335Snate@binkert.orgSimObject('SerialLink.py')
595831Sgblack@eecs.umich.eduSimObject('MemDelay.py')
605636Sgblack@eecs.umich.edu
615636Sgblack@eecs.umich.eduSource('abstract_mem.cc')
628335Snate@binkert.orgSource('addr_mapper.cc')
635636Sgblack@eecs.umich.eduSource('bridge.cc')
645643Sgblack@eecs.umich.eduSource('coherent_xbar.cc')
655643Sgblack@eecs.umich.eduSource('drampower.cc')
668335Snate@binkert.orgSource('dram_ctrl.cc')
675643Sgblack@eecs.umich.eduSource('external_master.cc')
685633Sgblack@eecs.umich.eduSource('external_slave.cc')
695633Sgblack@eecs.umich.eduSource('mem_object.cc')
708335Snate@binkert.orgSource('mport.cc')
71Source('noncoherent_xbar.cc')
72Source('packet.cc')
73Source('port.cc')
74Source('packet_queue.cc')
75Source('port_proxy.cc')
76Source('physical.cc')
77Source('simple_mem.cc')
78Source('snoop_filter.cc')
79Source('stack_dist_calc.cc')
80Source('tport.cc')
81Source('xbar.cc')
82Source('hmc_controller.cc')
83Source('serial_link.cc')
84Source('mem_delay.cc')
85
86if env['TARGET_ISA'] != 'null':
87    Source('fs_translating_port_proxy.cc')
88    Source('se_translating_port_proxy.cc')
89    Source('page_table.cc')
90
91if env['HAVE_DRAMSIM']:
92    SimObject('DRAMSim2.py')
93    Source('dramsim2_wrapper.cc')
94    Source('dramsim2.cc')
95
96SimObject('MemChecker.py')
97Source('mem_checker.cc')
98Source('mem_checker_monitor.cc')
99
100DebugFlag('AddrRanges')
101DebugFlag('BaseXBar')
102DebugFlag('CoherentXBar')
103DebugFlag('NoncoherentXBar')
104DebugFlag('SnoopFilter')
105CompoundFlag('XBar', ['BaseXBar', 'CoherentXBar', 'NoncoherentXBar',
106                      'SnoopFilter'])
107
108DebugFlag('Bridge')
109DebugFlag('CommMonitor')
110DebugFlag('DRAM')
111DebugFlag('DRAMPower')
112DebugFlag('DRAMState')
113DebugFlag('ExternalPort')
114DebugFlag('LLSC')
115DebugFlag('MMU')
116DebugFlag('MemoryAccess')
117DebugFlag('PacketQueue')
118DebugFlag('StackDist')
119DebugFlag("DRAMSim2")
120DebugFlag('HMCController')
121DebugFlag('SerialLink')
122
123DebugFlag("MemChecker")
124DebugFlag("MemCheckerMonitor")
125DebugFlag("QOS")
126