SConscript revision 8233
1955SN/A# -*- mode:python -*- 2955SN/A 31762SN/A# Copyright (c) 2007-2008 The Hewlett-Packard Development Company 4955SN/A# All rights reserved. 5955SN/A# 6955SN/A# The license below extends only to copyright in the software and shall 7955SN/A# not be construed as granting a license to any other intellectual 8955SN/A# property including but not limited to intellectual property relating 9955SN/A# to a hardware implementation of the functionality of the software 10955SN/A# licensed hereunder. You may use the software subject to the license 11955SN/A# terms below provided that you ensure that this notice is replicated 12955SN/A# unmodified and in its entirety in all distributions of the software, 13955SN/A# modified or unmodified, in source code or in binary form. 14955SN/A# 15955SN/A# Copyright (c) 2005-2006 The Regents of The University of Michigan 16955SN/A# All rights reserved. 17955SN/A# 18955SN/A# Redistribution and use in source and binary forms, with or without 19955SN/A# modification, are permitted provided that the following conditions are 20955SN/A# met: redistributions of source code must retain the above copyright 21955SN/A# notice, this list of conditions and the following disclaimer; 22955SN/A# redistributions in binary form must reproduce the above copyright 23955SN/A# notice, this list of conditions and the following disclaimer in the 24955SN/A# documentation and/or other materials provided with the distribution; 25955SN/A# neither the name of the copyright holders nor the names of its 26955SN/A# contributors may be used to endorse or promote products derived from 27955SN/A# this software without specific prior written permission. 282665Ssaidi@eecs.umich.edu# 294762Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 30955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 314762Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 32955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 33955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 344202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 354382Sbinkertn@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 374762Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 384762Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 394762Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 40955SN/A# 414381Sbinkertn@umich.edu# Authors: Gabe Black 424381Sbinkertn@umich.edu 43955SN/AImport('*') 44955SN/A 45955SN/Aif env['TARGET_ISA'] == 'x86': 464202Sbinkertn@umich.edu Source('cpuid.cc') 47955SN/A Source('emulenv.cc') 484382Sbinkertn@umich.edu Source('faults.cc') 494382Sbinkertn@umich.edu Source('insts/badmicroop.cc') 504382Sbinkertn@umich.edu Source('insts/microfpop.cc') 514762Snate@binkert.org Source('insts/microldstop.cc') 524762Snate@binkert.org Source('insts/micromediaop.cc') 534762Snate@binkert.org Source('insts/microop.cc') 544762Snate@binkert.org Source('insts/microregop.cc') 554762Snate@binkert.org Source('insts/static_inst.cc') 564762Snate@binkert.org Source('isa.cc') 574762Snate@binkert.org Source('nativetrace.cc') 584762Snate@binkert.org Source('pagetable.cc') 594762Snate@binkert.org Source('predecoder.cc') 604762Snate@binkert.org Source('predecoder_tables.cc') 614762Snate@binkert.org Source('remote_gdb.cc') 624762Snate@binkert.org Source('tlb.cc') 634762Snate@binkert.org Source('types.cc') 644762Snate@binkert.org Source('utility.cc') 654762Snate@binkert.org 664762Snate@binkert.org SimObject('X86NativeTrace.py') 674762Snate@binkert.org 684762Snate@binkert.org SimObject('X86TLB.py') 694762Snate@binkert.org TraceFlag('Predecoder', "Predecoder debug output") 704762Snate@binkert.org TraceFlag('X86', "Generic X86 ISA debugging") 714762Snate@binkert.org 724762Snate@binkert.org if env['FULL_SYSTEM']: 734762Snate@binkert.org TraceFlag('LocalApic', "Local APIC debugging") 744762Snate@binkert.org TraceFlag('PageTableWalker', \ 754762Snate@binkert.org "Page table walker state machine debugging") 764762Snate@binkert.org TraceFlag('Faults', "Trace all faults/exceptions/traps") 774762Snate@binkert.org 784762Snate@binkert.org SimObject('X86LocalApic.py') 794762Snate@binkert.org SimObject('X86System.py') 804762Snate@binkert.org 814762Snate@binkert.org # Full-system sources 824762Snate@binkert.org Source('interrupts.cc') 834762Snate@binkert.org Source('linux/system.cc') 844382Sbinkertn@umich.edu Source('pagetable_walker.cc') 854762Snate@binkert.org Source('system.cc') 864382Sbinkertn@umich.edu Source('stacktrace.cc') 874762Snate@binkert.org Source('vtophys.cc') 884381Sbinkertn@umich.edu else: 894762Snate@binkert.org Source('process.cc') 904762Snate@binkert.org 914762Snate@binkert.org Source('linux/linux.cc') 924762Snate@binkert.org Source('linux/process.cc') 934762Snate@binkert.org Source('linux/syscalls.cc') 944762Snate@binkert.org 954762Snate@binkert.org python_files = ( 964762Snate@binkert.org '__init__.py', 974762Snate@binkert.org 'general_purpose/__init__.py', 984762Snate@binkert.org 'general_purpose/arithmetic/__init__.py', 994762Snate@binkert.org 'general_purpose/arithmetic/add_and_subtract.py', 1004762Snate@binkert.org 'general_purpose/arithmetic/increment_and_decrement.py', 1014762Snate@binkert.org 'general_purpose/arithmetic/multiply_and_divide.py', 1024762Snate@binkert.org 'general_purpose/cache_and_memory_management.py', 1034762Snate@binkert.org 'general_purpose/compare_and_test/__init__.py', 1044762Snate@binkert.org 'general_purpose/compare_and_test/bit_scan.py', 1054762Snate@binkert.org 'general_purpose/compare_and_test/bit_test.py', 1064762Snate@binkert.org 'general_purpose/compare_and_test/bounds.py', 1074762Snate@binkert.org 'general_purpose/compare_and_test/compare.py', 1084762Snate@binkert.org 'general_purpose/compare_and_test/set_byte_on_condition.py', 1094762Snate@binkert.org 'general_purpose/compare_and_test/test.py', 1104762Snate@binkert.org 'general_purpose/control_transfer/__init__.py', 1114762Snate@binkert.org 'general_purpose/control_transfer/call.py', 1124762Snate@binkert.org 'general_purpose/control_transfer/conditional_jump.py', 1134762Snate@binkert.org 'general_purpose/control_transfer/interrupts_and_exceptions.py', 1144762Snate@binkert.org 'general_purpose/control_transfer/jump.py', 1154762Snate@binkert.org 'general_purpose/control_transfer/loop.py', 1164762Snate@binkert.org 'general_purpose/control_transfer/xreturn.py', 1174762Snate@binkert.org 'general_purpose/data_conversion/__init__.py', 1184762Snate@binkert.org 'general_purpose/data_conversion/ascii_adjust.py', 1194762Snate@binkert.org 'general_purpose/data_conversion/bcd_adjust.py', 1204762Snate@binkert.org 'general_purpose/data_conversion/endian_conversion.py', 1214762Snate@binkert.org 'general_purpose/data_conversion/extract_sign_mask.py', 1224762Snate@binkert.org 'general_purpose/data_conversion/sign_extension.py', 1234762Snate@binkert.org 'general_purpose/data_conversion/translate.py', 1244762Snate@binkert.org 'general_purpose/data_transfer/__init__.py', 1254762Snate@binkert.org 'general_purpose/data_transfer/conditional_move.py', 1264762Snate@binkert.org 'general_purpose/data_transfer/move.py', 1274762Snate@binkert.org 'general_purpose/data_transfer/stack_operations.py', 1284762Snate@binkert.org 'general_purpose/data_transfer/xchg.py', 129955SN/A 'general_purpose/flags/__init__.py', 1304382Sbinkertn@umich.edu 'general_purpose/flags/load_and_store.py', 1314202Sbinkertn@umich.edu 'general_purpose/flags/push_and_pop.py', 1324382Sbinkertn@umich.edu 'general_purpose/flags/set_and_clear.py', 1334382Sbinkertn@umich.edu 'general_purpose/input_output/__init__.py', 1344382Sbinkertn@umich.edu 'general_purpose/input_output/general_io.py', 1354382Sbinkertn@umich.edu 'general_purpose/input_output/string_io.py', 1364382Sbinkertn@umich.edu 'general_purpose/load_effective_address.py', 1374382Sbinkertn@umich.edu 'general_purpose/load_segment_registers.py', 1384382Sbinkertn@umich.edu 'general_purpose/logical.py', 1394382Sbinkertn@umich.edu 'general_purpose/no_operation.py', 1404382Sbinkertn@umich.edu 'general_purpose/rotate_and_shift/__init__.py', 1412667Sstever@eecs.umich.edu 'general_purpose/rotate_and_shift/rotate.py', 1422667Sstever@eecs.umich.edu 'general_purpose/rotate_and_shift/shift.py', 1432667Sstever@eecs.umich.edu 'general_purpose/semaphores.py', 1442667Sstever@eecs.umich.edu 'general_purpose/string/__init__.py', 1452667Sstever@eecs.umich.edu 'general_purpose/string/compare_strings.py', 1462667Sstever@eecs.umich.edu 'general_purpose/string/load_string.py', 1472037SN/A 'general_purpose/string/move_string.py', 1482037SN/A 'general_purpose/string/scan_string.py', 1492037SN/A 'general_purpose/string/store_string.py', 1504382Sbinkertn@umich.edu 'general_purpose/system_calls.py', 1514762Snate@binkert.org 'romutil.py', 1524202Sbinkertn@umich.edu 'system/__init__.py', 1534382Sbinkertn@umich.edu 'system/control_registers.py', 1544202Sbinkertn@umich.edu 'system/halt.py', 1554202Sbinkertn@umich.edu 'system/invlpg.py', 1564202Sbinkertn@umich.edu 'system/undefined_operation.py', 1574202Sbinkertn@umich.edu 'system/msrs.py', 1584202Sbinkertn@umich.edu 'system/segmentation.py', 1594762Snate@binkert.org 'simd128/__init__.py', 1604202Sbinkertn@umich.edu 'simd128/integer/__init__.py', 1614202Sbinkertn@umich.edu 'simd128/integer/data_transfer/__init__.py', 1624202Sbinkertn@umich.edu 'simd128/integer/data_transfer/move.py', 1634202Sbinkertn@umich.edu 'simd128/integer/data_transfer/move_non_temporal.py', 1644202Sbinkertn@umich.edu 'simd128/integer/data_transfer/move_mask.py', 1651858SN/A 'simd128/integer/data_conversion/__init__.py', 1665068Sgblack@eecs.umich.edu 'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py', 1675068Sgblack@eecs.umich.edu 'simd128/integer/data_conversion/convert_integer_to_floating_point.py', 1685068Sgblack@eecs.umich.edu 'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py', 1695068Sgblack@eecs.umich.edu 'simd128/integer/data_reordering/__init__.py', 1705068Sgblack@eecs.umich.edu 'simd128/integer/data_reordering/unpack_and_interleave.py', 1715068Sgblack@eecs.umich.edu 'simd128/integer/data_reordering/pack_with_saturation.py', 1725068Sgblack@eecs.umich.edu 'simd128/integer/data_reordering/extract_and_insert.py', 1735068Sgblack@eecs.umich.edu 'simd128/integer/data_reordering/shuffle.py', 1745068Sgblack@eecs.umich.edu 'simd128/integer/arithmetic/__init__.py', 1755068Sgblack@eecs.umich.edu 'simd128/integer/arithmetic/subtraction.py', 1765068Sgblack@eecs.umich.edu 'simd128/integer/arithmetic/addition.py', 1774773Snate@binkert.org 'simd128/integer/arithmetic/multiplication.py', 1781858SN/A 'simd128/integer/arithmetic/multiply_add.py', 1791858SN/A 'simd128/integer/arithmetic/average.py', 1801085SN/A 'simd128/integer/arithmetic/sum_of_absolute_differences.py', 1814382Sbinkertn@umich.edu 'simd128/integer/shift/__init__.py', 1824382Sbinkertn@umich.edu 'simd128/integer/shift/right_arithmetic_shift.py', 1834762Snate@binkert.org 'simd128/integer/shift/left_logical_shift.py', 1844762Snate@binkert.org 'simd128/integer/shift/right_logical_shift.py', 1854762Snate@binkert.org 'simd128/integer/compare/__init__.py', 1864762Snate@binkert.org 'simd128/integer/compare/compare_and_write_mask.py', 1874762Snate@binkert.org 'simd128/integer/compare/compare_and_write_minimum_or_maximum.py', 1884762Snate@binkert.org 'simd128/integer/logical/__init__.py', 1894762Snate@binkert.org 'simd128/integer/logical/pand.py', 1904762Snate@binkert.org 'simd128/integer/logical/por.py', 1914762Snate@binkert.org 'simd128/integer/logical/exclusive_or.py', 1924762Snate@binkert.org 'simd128/integer/save_and_restore_state/__init__.py', 1934762Snate@binkert.org 'simd128/integer/save_and_restore_state/save_and_restore_state.py', 1944762Snate@binkert.org 'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py', 1954762Snate@binkert.org 'simd128/floating_point/__init__.py', 1964762Snate@binkert.org 'simd128/floating_point/data_transfer/__init__.py', 1974762Snate@binkert.org 'simd128/floating_point/data_transfer/move_mask.py', 1984762Snate@binkert.org 'simd128/floating_point/data_transfer/move.py', 1994762Snate@binkert.org 'simd128/floating_point/data_transfer/move_with_duplication.py', 2004762Snate@binkert.org 'simd128/floating_point/data_transfer/move_non_temporal.py', 2014762Snate@binkert.org 'simd128/floating_point/data_conversion/__init__.py', 2024762Snate@binkert.org 'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py', 2034762Snate@binkert.org 'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py', 2044762Snate@binkert.org 'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py', 2054762Snate@binkert.org 'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py', 2064762Snate@binkert.org 'simd128/floating_point/data_reordering/__init__.py', 2074762Snate@binkert.org 'simd128/floating_point/data_reordering/unpack_and_interleave.py', 2084762Snate@binkert.org 'simd128/floating_point/data_reordering/shuffle.py', 2094762Snate@binkert.org 'simd128/floating_point/arithmetic/__init__.py', 2104762Snate@binkert.org 'simd128/floating_point/arithmetic/subtraction.py', 2114762Snate@binkert.org 'simd128/floating_point/arithmetic/addition.py', 2124762Snate@binkert.org 'simd128/floating_point/arithmetic/horizontal_subtraction.py', 2134762Snate@binkert.org 'simd128/floating_point/arithmetic/horizontal_addition.py', 2144762Snate@binkert.org 'simd128/floating_point/arithmetic/square_root.py', 2154762Snate@binkert.org 'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py', 2164762Snate@binkert.org 'simd128/floating_point/arithmetic/multiplication.py', 2174762Snate@binkert.org 'simd128/floating_point/arithmetic/division.py', 2184382Sbinkertn@umich.edu 'simd128/floating_point/arithmetic/reciprocal_square_root.py', 2194382Sbinkertn@umich.edu 'simd128/floating_point/arithmetic/reciprocal_estimation.py', 2204762Snate@binkert.org 'simd128/floating_point/compare/__init__.py', 2214762Snate@binkert.org 'simd128/floating_point/compare/compare_and_write_mask.py', 2224762Snate@binkert.org 'simd128/floating_point/compare/compare_and_write_rflags.py', 2234382Sbinkertn@umich.edu 'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py', 2244382Sbinkertn@umich.edu 'simd128/floating_point/logical/__init__.py', 2254762Snate@binkert.org 'simd128/floating_point/logical/andp.py', 2264382Sbinkertn@umich.edu 'simd128/floating_point/logical/orp.py', 2274382Sbinkertn@umich.edu 'simd128/floating_point/logical/exclusive_or.py', 2284762Snate@binkert.org 'simd64/__init__.py', 2294382Sbinkertn@umich.edu 'simd64/integer/__init__.py', 2304382Sbinkertn@umich.edu 'simd64/integer/data_transfer/__init__.py', 2314762Snate@binkert.org 'simd64/integer/data_transfer/move_mask.py', 2324382Sbinkertn@umich.edu 'simd64/integer/data_transfer/move.py', 2334762Snate@binkert.org 'simd64/integer/data_transfer/move_non_temporal.py', 2344762Snate@binkert.org 'simd64/integer/exit_media_state.py', 2354382Sbinkertn@umich.edu 'simd64/integer/data_reordering/__init__.py', 2364382Sbinkertn@umich.edu 'simd64/integer/data_reordering/unpack_and_interleave.py', 2374762Snate@binkert.org 'simd64/integer/data_reordering/pack_with_saturation.py', 2384762Snate@binkert.org 'simd64/integer/data_reordering/extract_and_insert.py', 2394762Snate@binkert.org 'simd64/integer/data_reordering/shuffle_and_swap.py', 2404762Snate@binkert.org 'simd64/integer/data_conversion.py', 2414762Snate@binkert.org 'simd64/integer/arithmetic/__init__.py', 2424762Snate@binkert.org 'simd64/integer/arithmetic/subtraction.py', 2434762Snate@binkert.org 'simd64/integer/arithmetic/addition.py', 2444762Snate@binkert.org 'simd64/integer/arithmetic/multiplication.py', 2454762Snate@binkert.org 'simd64/integer/arithmetic/multiply_add.py', 2464762Snate@binkert.org 'simd64/integer/arithmetic/average.py', 2474762Snate@binkert.org 'simd64/integer/arithmetic/sum_of_absolute_differences.py', 2484762Snate@binkert.org 'simd64/integer/shift/__init__.py', 2494762Snate@binkert.org 'simd64/integer/shift/right_arithmetic_shift.py', 2504762Snate@binkert.org 'simd64/integer/shift/left_logical_shift.py', 2514762Snate@binkert.org 'simd64/integer/shift/right_logical_shift.py', 2524762Snate@binkert.org 'simd64/integer/compare/__init__.py', 2534762Snate@binkert.org 'simd64/integer/compare/compare_and_write_mask.py', 2544762Snate@binkert.org 'simd64/integer/compare/compare_and_write_minimum_or_maximum.py', 2554762Snate@binkert.org 'simd64/integer/logical/__init__.py', 2564762Snate@binkert.org 'simd64/integer/logical/pand.py', 2574762Snate@binkert.org 'simd64/integer/logical/por.py', 2584762Snate@binkert.org 'simd64/integer/logical/exclusive_or.py', 2594762Snate@binkert.org 'simd64/integer/save_and_restore_state.py', 2604762Snate@binkert.org 'simd64/floating_point/__init__.py', 2614762Snate@binkert.org 'simd64/floating_point/arithmetic/__init__.py', 2624762Snate@binkert.org 'simd64/floating_point/arithmetic/subtraction.py', 2634762Snate@binkert.org 'simd64/floating_point/arithmetic/addition.py', 2644762Snate@binkert.org 'simd64/floating_point/arithmetic/reciprocal_estimation.py', 2654762Snate@binkert.org 'simd64/floating_point/arithmetic/multiplication.py', 2664762Snate@binkert.org 'simd64/floating_point/arithmetic/accumulation.py', 2674762Snate@binkert.org 'simd64/floating_point/arithmetic/reciprocal_square_root.py', 2684762Snate@binkert.org 'simd64/floating_point/data_conversion.py', 2694762Snate@binkert.org 'simd64/floating_point/compare/__init__.py', 2704762Snate@binkert.org 'simd64/floating_point/compare/compare_and_write_mask.py', 2714762Snate@binkert.org 'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py', 2724762Snate@binkert.org 'x87/__init__.py', 2734762Snate@binkert.org 'x87/data_transfer_and_conversion/__init__.py', 2744762Snate@binkert.org 'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py', 2754762Snate@binkert.org 'x87/data_transfer_and_conversion/load_or_store_floating_point.py', 2764762Snate@binkert.org 'x87/data_transfer_and_conversion/exchange.py', 2774762Snate@binkert.org 'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py', 2784762Snate@binkert.org 'x87/data_transfer_and_conversion/conditional_move.py', 2794762Snate@binkert.org 'x87/data_transfer_and_conversion/extract.py', 2804762Snate@binkert.org 'x87/load_constants/__init__.py', 2814762Snate@binkert.org 'x87/load_constants/load_0_1_or_pi.py', 2824762Snate@binkert.org 'x87/load_constants/load_logarithm.py', 2834762Snate@binkert.org 'x87/arithmetic/__init__.py', 2844762Snate@binkert.org 'x87/arithmetic/subtraction.py', 2854762Snate@binkert.org 'x87/arithmetic/addition.py', 2864382Sbinkertn@umich.edu 'x87/arithmetic/partial_remainder.py', 2874762Snate@binkert.org 'x87/arithmetic/multiplication.py', 2884382Sbinkertn@umich.edu 'x87/arithmetic/division.py', 2894762Snate@binkert.org 'x87/arithmetic/change_sign.py', 2904382Sbinkertn@umich.edu 'x87/arithmetic/round.py', 2914762Snate@binkert.org 'x87/arithmetic/square_root.py', 2924762Snate@binkert.org 'x87/transcendental_functions/__init__.py', 2934762Snate@binkert.org 'x87/transcendental_functions/trigonometric_functions.py', 2944762Snate@binkert.org 'x87/transcendental_functions/logarithmic_functions.py', 2954382Sbinkertn@umich.edu 'x87/compare_and_test/__init__.py', 2964382Sbinkertn@umich.edu 'x87/compare_and_test/classify.py', 2974382Sbinkertn@umich.edu 'x87/compare_and_test/test.py', 2984382Sbinkertn@umich.edu 'x87/compare_and_test/floating_point_ordered_compare.py', 2994382Sbinkertn@umich.edu 'x87/compare_and_test/floating_point_unordered_compare.py', 3004382Sbinkertn@umich.edu 'x87/compare_and_test/integer_compare.py', 3014762Snate@binkert.org 'x87/stack_management/__init__.py', 3024382Sbinkertn@umich.edu 'x87/stack_management/stack_control.py', 3034382Sbinkertn@umich.edu 'x87/stack_management/clear_state.py', 3044382Sbinkertn@umich.edu 'x87/control/__init__.py', 3054382Sbinkertn@umich.edu 'x87/control/clear_exceptions.py', 3064762Snate@binkert.org 'x87/control/initialize.py', 3074762Snate@binkert.org 'x87/control/wait_for_exceptions.py', 3084762Snate@binkert.org 'x87/control/save_x87_status_word.py', 3094382Sbinkertn@umich.edu 'x87/control/save_and_restore_x87_control_word.py', 3104762Snate@binkert.org 'x87/control/save_and_restore_x87_environment.py', 3114382Sbinkertn@umich.edu 'x87/no_operation.py' 3124382Sbinkertn@umich.edu ) 3134382Sbinkertn@umich.edu 3144762Snate@binkert.org 3154762Snate@binkert.org # Add in files generated by the ISA description. 3164382Sbinkertn@umich.edu isa_desc_files = env.ISADesc('isa/main.isa') 3174382Sbinkertn@umich.edu for f in isa_desc_files: 3184382Sbinkertn@umich.edu # Add in python file dependencies that won't be caught otherwise 3194762Snate@binkert.org for pyfile in python_files: 3204382Sbinkertn@umich.edu env.Depends(f, "isa/insts/%s" % pyfile) 3214382Sbinkertn@umich.edu # Only non-header files need to be compiled. 3224762Snate@binkert.org if not f.path.endswith('.hh'): 3234762Snate@binkert.org Source(f) 3244762Snate@binkert.org