SConscript revision 5192:582e583f8e7e
1545SN/A# -*- mode:python -*- 28948SN/A 38948SN/A# Copyright (c) 2004-2005 The Regents of The University of Michigan 48948SN/A# All rights reserved. 58948SN/A# 68948SN/A# Redistribution and use in source and binary forms, with or without 78948SN/A# modification, are permitted provided that the following conditions are 88948SN/A# met: redistributions of source code must retain the above copyright 98948SN/A# notice, this list of conditions and the following disclaimer; 108948SN/A# redistributions in binary form must reproduce the above copyright 118948SN/A# notice, this list of conditions and the following disclaimer in the 128948SN/A# documentation and/or other materials provided with the distribution; 138948SN/A# neither the name of the copyright holders nor the names of its 142512SN/A# contributors may be used to endorse or promote products derived from 15545SN/A# this software without specific prior written permission. 16545SN/A# 17545SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18545SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19545SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20545SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21545SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22545SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23545SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24545SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25545SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26545SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27545SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28545SN/A# 29545SN/A# Authors: Gabe Black 30545SN/A# Steve Reinhardt 31545SN/A# Korey Sewell 32545SN/A 33545SN/AImport('*') 34545SN/A 35545SN/Aif env['TARGET_ISA'] == 'mips': 36545SN/A Source('dsp.cc') 37545SN/A Source('faults.cc') 38545SN/A Source('regfile/int_regfile.cc') 392665SN/A Source('regfile/misc_regfile.cc') 402665SN/A Source('regfile/regfile.cc') 412665SN/A Source('tlb.cc') 42545SN/A Source('utility.cc') 43545SN/A 443090SN/A SimObject('MipsTLB.py') 458232SN/A 469152Satgutier@umich.edu TraceFlag('MipsPRA') 479016Sandreas.hansson@arm.com 482901SN/A if env['FULL_SYSTEM']: 49545SN/A #Insert Full-System Files Here 509015SN/A pass 519095Sandreas.hansson@arm.com else: 528832SN/A Source('process.cc') 539133Satgutier@umich.edu 547403SN/A Source('linux/linux.cc') 559015SN/A Source('linux/process.cc') 568711SN/A 572489SN/A # Add in files generated by the ISA description. 582489SN/A isa_desc_files = env.ISADesc('isa/main.isa') 592489SN/A # Only non-header files need to be compiled. 608975SN/A for f in isa_desc_files: 612384SN/A if not f.path.endswith('.hh'): 624870SN/A Source(f) 634739SN/A