SConscript revision 12953
12135SN/A# -*- mode:python -*-
22135SN/A
35268Sksewell@umich.edu# Copyright (c) 2009, 2012-2013 ARM Limited
45268Sksewell@umich.edu# All rights reserved.
55268Sksewell@umich.edu#
65268Sksewell@umich.edu# The license below extends only to copyright in the software and shall
75268Sksewell@umich.edu# not be construed as granting a license to any other intellectual
85268Sksewell@umich.edu# property including but not limited to intellectual property relating
95268Sksewell@umich.edu# to a hardware implementation of the functionality of the software
105268Sksewell@umich.edu# licensed hereunder.  You may use the software subject to the license
115268Sksewell@umich.edu# terms below provided that you ensure that this notice is replicated
125268Sksewell@umich.edu# unmodified and in its entirety in all distributions of the software,
135268Sksewell@umich.edu# modified or unmodified, in source code or in binary form.
145268Sksewell@umich.edu#
155268Sksewell@umich.edu# Copyright (c) 2007-2008 The Florida State University
165268Sksewell@umich.edu# All rights reserved.
175268Sksewell@umich.edu#
185268Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without
195268Sksewell@umich.edu# modification, are permitted provided that the following conditions are
205268Sksewell@umich.edu# met: redistributions of source code must retain the above copyright
215268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer;
225268Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright
235268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the
245268Sksewell@umich.edu# documentation and/or other materials provided with the distribution;
255268Sksewell@umich.edu# neither the name of the copyright holders nor the names of its
265268Sksewell@umich.edu# contributors may be used to endorse or promote products derived from
275268Sksewell@umich.edu# this software without specific prior written permission.
285268Sksewell@umich.edu#
295268Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
302706Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
312038SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
322038SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
332038SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
342038SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
352038SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
362038SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
372038SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
382135SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
392038SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
402038SN/A#
412038SN/A# Authors: Stephen Hines
422038SN/A#          Ali Saidi
432038SN/A
442038SN/AImport('*')
452038SN/A
462038SN/Aif env['TARGET_ISA'] == 'arm':
472038SN/A# Workaround for bug in SCons version > 0.97d20071212
482038SN/A# Scons bug id: 2006 M5 Bug id: 308
492686Sksewell@umich.edu    Dir('isa/formats')
502686Sksewell@umich.edu    Source('decoder.cc')
512686Sksewell@umich.edu    Source('faults.cc')
522686Sksewell@umich.edu    Source('insts/branch.cc')
532686Sksewell@umich.edu    Source('insts/branch64.cc')
542686Sksewell@umich.edu    Source('insts/data64.cc')
552686Sksewell@umich.edu    Source('insts/macromem.cc')
562686Sksewell@umich.edu    Source('insts/mem.cc')
572686Sksewell@umich.edu    Source('insts/mem64.cc')
582686Sksewell@umich.edu    Source('insts/misc.cc')
592686Sksewell@umich.edu    Source('insts/misc64.cc')
602686Sksewell@umich.edu    Source('insts/pred_inst.cc')
612686Sksewell@umich.edu    Source('insts/pseudo.cc')
622686Sksewell@umich.edu    Source('insts/static_inst.cc')
632038SN/A    Source('insts/vfp.cc')
642038SN/A    Source('insts/fplib.cc')
652038SN/A    Source('interrupts.cc')
662038SN/A    Source('isa.cc')
672686Sksewell@umich.edu    Source('isa_device.cc')
682038SN/A    Source('linux/linux.cc')
692686Sksewell@umich.edu    Source('linux/process.cc')
702686Sksewell@umich.edu    Source('linux/system.cc')
712686Sksewell@umich.edu    Source('freebsd/freebsd.cc')
722686Sksewell@umich.edu    Source('freebsd/process.cc')
732686Sksewell@umich.edu    Source('freebsd/system.cc')
742686Sksewell@umich.edu    Source('miscregs.cc')
752686Sksewell@umich.edu    Source('nativetrace.cc')
762686Sksewell@umich.edu    Source('pmu.cc')
772686Sksewell@umich.edu    Source('process.cc')
782686Sksewell@umich.edu    Source('remote_gdb.cc')
792686Sksewell@umich.edu    Source('semihosting.cc')
802686Sksewell@umich.edu    Source('stacktrace.cc')
812686Sksewell@umich.edu    Source('system.cc')
822686Sksewell@umich.edu    Source('table_walker.cc')
832686Sksewell@umich.edu    Source('stage2_mmu.cc')
842686Sksewell@umich.edu    Source('stage2_lookup.cc')
852686Sksewell@umich.edu    Source('tlb.cc')
862038SN/A    Source('tlbi_op.cc')
872038SN/A    Source('utility.cc')
882038SN/A    Source('vtophys.cc')
899554Sandreas.hansson@arm.com
9012234Sgabeblack@google.com    SimObject('ArmInterrupts.py')
919554Sandreas.hansson@arm.com    SimObject('ArmISA.py')
929554Sandreas.hansson@arm.com    SimObject('ArmNativeTrace.py')
939554Sandreas.hansson@arm.com    SimObject('ArmSemihosting.py')
942686Sksewell@umich.edu    SimObject('ArmSystem.py')
9512234Sgabeblack@google.com    SimObject('ArmTLB.py')
964661Sksewell@umich.edu    SimObject('ArmPMU.py')
974661Sksewell@umich.edu
984661Sksewell@umich.edu    DebugFlag('Arm')
995222Sksewell@umich.edu    DebugFlag('Semihosting')
10010474Sandreas.hansson@arm.com    DebugFlag('Decoder', "Instructions returned by the predecoder")
1015222Sksewell@umich.edu    DebugFlag('Faults', "Trace Exceptions, interrupts, svc/swi")
1025222Sksewell@umich.edu    DebugFlag('PMUVerbose', "Performance Monitor")
1034661Sksewell@umich.edu    DebugFlag('TLBVerbose')
1042038SN/A
1052686Sksewell@umich.edu    # Add files generated by the ISA description.
1062686Sksewell@umich.edu    ISADesc('isa/main.isa', decoder_splits=3, exec_splits=6)
1072686Sksewell@umich.edu