SConscript revision 11052
13534Sgblack@eecs.umich.edu# -*- mode:python -*- 23534Sgblack@eecs.umich.edu 33534Sgblack@eecs.umich.edu# Copyright (c) 2009, 2012-2013 ARM Limited 43534Sgblack@eecs.umich.edu# All rights reserved. 53534Sgblack@eecs.umich.edu# 63534Sgblack@eecs.umich.edu# The license below extends only to copyright in the software and shall 73534Sgblack@eecs.umich.edu# not be construed as granting a license to any other intellectual 83534Sgblack@eecs.umich.edu# property including but not limited to intellectual property relating 93534Sgblack@eecs.umich.edu# to a hardware implementation of the functionality of the software 103534Sgblack@eecs.umich.edu# licensed hereunder. You may use the software subject to the license 113534Sgblack@eecs.umich.edu# terms below provided that you ensure that this notice is replicated 123534Sgblack@eecs.umich.edu# unmodified and in its entirety in all distributions of the software, 133534Sgblack@eecs.umich.edu# modified or unmodified, in source code or in binary form. 143534Sgblack@eecs.umich.edu# 153534Sgblack@eecs.umich.edu# Copyright (c) 2007-2008 The Florida State University 163534Sgblack@eecs.umich.edu# All rights reserved. 173534Sgblack@eecs.umich.edu# 183534Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 193534Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 203534Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 213534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 223534Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 233534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 243534Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 253534Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 263534Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 273534Sgblack@eecs.umich.edu# this software without specific prior written permission. 283534Sgblack@eecs.umich.edu# 293534Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 303534Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 313534Sgblack@eecs.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 333534Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 344202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 354486Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 365794Ssaidi@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 374486Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 384486Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 394486Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 404486Sbinkertn@umich.edu# 414486Sbinkertn@umich.edu# Authors: Stephen Hines 424486Sbinkertn@umich.edu# Ali Saidi 434486Sbinkertn@umich.edu 445478Snate@binkert.orgImport('*') 454486Sbinkertn@umich.edu 464486Sbinkertn@umich.eduif env['TARGET_ISA'] == 'arm': 474202Sbinkertn@umich.edu# Workaround for bug in SCons version > 0.97d20071212 485794Ssaidi@eecs.umich.edu# Scons bug id: 2006 M5 Bug id: 308 494202Sbinkertn@umich.edu Dir('isa/formats') 504202Sbinkertn@umich.edu Source('decoder.cc') 515485Snate@binkert.org Source('faults.cc') 524202Sbinkertn@umich.edu Source('insts/branch64.cc') 534202Sbinkertn@umich.edu Source('insts/data64.cc') 544202Sbinkertn@umich.edu Source('insts/macromem.cc') 554202Sbinkertn@umich.edu Source('insts/mem.cc') 564762Snate@binkert.org Source('insts/mem64.cc') 574218Ssaidi@eecs.umich.edu Source('insts/misc.cc') 584202Sbinkertn@umich.edu Source('insts/misc64.cc') 594202Sbinkertn@umich.edu Source('insts/pred_inst.cc') 605443Sgblack@eecs.umich.edu Source('insts/pseudo.cc') 614202Sbinkertn@umich.edu Source('insts/static_inst.cc') 624202Sbinkertn@umich.edu Source('insts/vfp.cc') 635392Sgblack@eecs.umich.edu Source('insts/fplib.cc') 644202Sbinkertn@umich.edu Source('interrupts.cc') 654202Sbinkertn@umich.edu Source('isa.cc') 664202Sbinkertn@umich.edu Source('isa_device.cc') 674202Sbinkertn@umich.edu Source('linux/linux.cc') 684202Sbinkertn@umich.edu Source('linux/process.cc') 694202Sbinkertn@umich.edu Source('linux/system.cc') 704762Snate@binkert.org Source('freebsd/freebsd.cc') 715478Snate@binkert.org Source('freebsd/process.cc') 724202Sbinkertn@umich.edu Source('freebsd/system.cc') 734202Sbinkertn@umich.edu Source('miscregs.cc') 745192Ssaidi@eecs.umich.edu Source('nativetrace.cc') 755192Ssaidi@eecs.umich.edu Source('pmu.cc') 765192Ssaidi@eecs.umich.edu Source('process.cc') 775192Ssaidi@eecs.umich.edu Source('remote_gdb.cc') 785794Ssaidi@eecs.umich.edu Source('stacktrace.cc') 795192Ssaidi@eecs.umich.edu Source('system.cc') 805192Ssaidi@eecs.umich.edu Source('table_walker.cc') 815192Ssaidi@eecs.umich.edu Source('stage2_mmu.cc') 825192Ssaidi@eecs.umich.edu Source('stage2_lookup.cc') 835192Ssaidi@eecs.umich.edu Source('tlb.cc') 845192Ssaidi@eecs.umich.edu Source('utility.cc') 855192Ssaidi@eecs.umich.edu Source('vtophys.cc') 865192Ssaidi@eecs.umich.edu 875192Ssaidi@eecs.umich.edu SimObject('ArmInterrupts.py') 885192Ssaidi@eecs.umich.edu SimObject('ArmISA.py') 895192Ssaidi@eecs.umich.edu SimObject('ArmNativeTrace.py') 905443Sgblack@eecs.umich.edu SimObject('ArmSystem.py') 915192Ssaidi@eecs.umich.edu SimObject('ArmTLB.py') 925392Sgblack@eecs.umich.edu SimObject('ArmPMU.py') 935192Ssaidi@eecs.umich.edu 945192Ssaidi@eecs.umich.edu DebugFlag('Arm') 955192Ssaidi@eecs.umich.edu DebugFlag('Decoder', "Instructions returned by the predecoder") 965192Ssaidi@eecs.umich.edu DebugFlag('Faults', "Trace Exceptions, interrupts, svc/swi") 975478Snate@binkert.org DebugFlag('PMUVerbose', "Performance Monitor") 985478Snate@binkert.org DebugFlag('TLBVerbose') 995192Ssaidi@eecs.umich.edu 1005192Ssaidi@eecs.umich.edu # Add files generated by the ISA description. 1015192Ssaidi@eecs.umich.edu env.ISADesc('isa/main.isa') 1025192Ssaidi@eecs.umich.edu