SConscript revision 8614
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 315522Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 324762Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 335522Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 34955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 355522Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 36955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 375522Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 384202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 395742Snate@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') 515517Snate@binkert.org Source('insts/microldstop.cc') 525517Snate@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') 635522Snate@binkert.org Source('types.cc') 645604Snate@binkert.org Source('utility.cc') 655604Snate@binkert.org 665604Snate@binkert.org SimObject('X86NativeTrace.py') 674762Snate@binkert.org 684762Snate@binkert.org SimObject('X86TLB.py') 694762Snate@binkert.org DebugFlag('Predecoder', "Predecoder debug output") 705522Snate@binkert.org DebugFlag('X86', "Generic X86 ISA debugging") 715522Snate@binkert.org 725522Snate@binkert.org if env['FULL_SYSTEM']: 735522Snate@binkert.org DebugFlag('LocalApic', "Local APIC debugging") 745604Snate@binkert.org DebugFlag('PageTableWalker', \ 755604Snate@binkert.org "Page table walker state machine debugging") 764762Snate@binkert.org DebugFlag('Faults', "Trace all faults/exceptions/traps") 774762Snate@binkert.org 784762Snate@binkert.org SimObject('X86LocalApic.py') 794762Snate@binkert.org SimObject('X86System.py') 805522Snate@binkert.org 814762Snate@binkert.org # Full-system sources 824762Snate@binkert.org Source('interrupts.cc') 835604Snate@binkert.org Source('linux/system.cc') 845604Snate@binkert.org Source('pagetable_walker.cc') 855604Snate@binkert.org Source('system.cc') 865604Snate@binkert.org Source('stacktrace.cc') 875604Snate@binkert.org Source('vtophys.cc') 885604Snate@binkert.org else: 894762Snate@binkert.org Source('process.cc') 904762Snate@binkert.org 914762Snate@binkert.org Source('linux/linux.cc') 924762Snate@binkert.org Source('linux/process.cc') 935604Snate@binkert.org Source('linux/syscalls.cc') 944762Snate@binkert.org 955522Snate@binkert.org python_files = ( 965522Snate@binkert.org '__init__.py', 975522Snate@binkert.org 'general_purpose/__init__.py', 984762Snate@binkert.org 'general_purpose/arithmetic/__init__.py', 994382Sbinkertn@umich.edu 'general_purpose/arithmetic/add_and_subtract.py', 1004762Snate@binkert.org 'general_purpose/arithmetic/increment_and_decrement.py', 1014382Sbinkertn@umich.edu 'general_purpose/arithmetic/multiply_and_divide.py', 1025522Snate@binkert.org 'general_purpose/cache_and_memory_management.py', 1034381Sbinkertn@umich.edu 'general_purpose/compare_and_test/__init__.py', 1045522Snate@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', 1085522Snate@binkert.org 'general_purpose/compare_and_test/set_byte_on_condition.py', 1095522Snate@binkert.org 'general_purpose/compare_and_test/test.py', 1105522Snate@binkert.org 'general_purpose/control_transfer/__init__.py', 1115522Snate@binkert.org 'general_purpose/control_transfer/call.py', 1125522Snate@binkert.org 'general_purpose/control_transfer/conditional_jump.py', 1135522Snate@binkert.org 'general_purpose/control_transfer/interrupts_and_exceptions.py', 1145522Snate@binkert.org 'general_purpose/control_transfer/jump.py', 1155522Snate@binkert.org 'general_purpose/control_transfer/loop.py', 1165522Snate@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', 1294762Snate@binkert.org 'general_purpose/flags/__init__.py', 1304762Snate@binkert.org 'general_purpose/flags/load_and_store.py', 1314762Snate@binkert.org 'general_purpose/flags/push_and_pop.py', 1324762Snate@binkert.org 'general_purpose/flags/set_and_clear.py', 1334762Snate@binkert.org 'general_purpose/input_output/__init__.py', 1344762Snate@binkert.org 'general_purpose/input_output/general_io.py', 1354762Snate@binkert.org 'general_purpose/input_output/string_io.py', 1364762Snate@binkert.org 'general_purpose/load_effective_address.py', 1374762Snate@binkert.org 'general_purpose/load_segment_registers.py', 1384762Snate@binkert.org 'general_purpose/logical.py', 1394762Snate@binkert.org 'general_purpose/no_operation.py', 1404762Snate@binkert.org 'general_purpose/rotate_and_shift/__init__.py', 1414762Snate@binkert.org 'general_purpose/rotate_and_shift/rotate.py', 1424762Snate@binkert.org 'general_purpose/rotate_and_shift/shift.py', 1434762Snate@binkert.org 'general_purpose/semaphores.py', 1444762Snate@binkert.org 'general_purpose/string/__init__.py', 1454762Snate@binkert.org 'general_purpose/string/compare_strings.py', 1464762Snate@binkert.org 'general_purpose/string/load_string.py', 1474762Snate@binkert.org 'general_purpose/string/move_string.py', 1484762Snate@binkert.org 'general_purpose/string/scan_string.py', 1494762Snate@binkert.org 'general_purpose/string/store_string.py', 1504762Snate@binkert.org 'general_purpose/system_calls.py', 1514762Snate@binkert.org 'romutil.py', 152955SN/A 'system/__init__.py', 1535584Snate@binkert.org 'system/control_registers.py', 1545584Snate@binkert.org 'system/halt.py', 1555584Snate@binkert.org 'system/invlpg.py', 1565584Snate@binkert.org 'system/undefined_operation.py', 1575584Snate@binkert.org 'system/msrs.py', 1585584Snate@binkert.org 'system/segmentation.py', 1595584Snate@binkert.org 'simd128/__init__.py', 1605584Snate@binkert.org 'simd128/integer/__init__.py', 1615584Snate@binkert.org 'simd128/integer/data_transfer/__init__.py', 1625584Snate@binkert.org 'simd128/integer/data_transfer/move.py', 1635584Snate@binkert.org 'simd128/integer/data_transfer/move_non_temporal.py', 1645584Snate@binkert.org 'simd128/integer/data_transfer/move_mask.py', 1655584Snate@binkert.org 'simd128/integer/data_conversion/__init__.py', 1664382Sbinkertn@umich.edu 'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py', 1674202Sbinkertn@umich.edu 'simd128/integer/data_conversion/convert_integer_to_floating_point.py', 1685522Snate@binkert.org 'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py', 1694382Sbinkertn@umich.edu 'simd128/integer/data_reordering/__init__.py', 1704382Sbinkertn@umich.edu 'simd128/integer/data_reordering/unpack_and_interleave.py', 1714382Sbinkertn@umich.edu 'simd128/integer/data_reordering/pack_with_saturation.py', 1725584Snate@binkert.org 'simd128/integer/data_reordering/extract_and_insert.py', 1734382Sbinkertn@umich.edu 'simd128/integer/data_reordering/shuffle.py', 1744382Sbinkertn@umich.edu 'simd128/integer/arithmetic/__init__.py', 1754382Sbinkertn@umich.edu 'simd128/integer/arithmetic/subtraction.py', 1765192Ssaidi@eecs.umich.edu 'simd128/integer/arithmetic/addition.py', 1775192Ssaidi@eecs.umich.edu 'simd128/integer/arithmetic/multiplication.py', 1785192Ssaidi@eecs.umich.edu 'simd128/integer/arithmetic/multiply_add.py', 1795192Ssaidi@eecs.umich.edu 'simd128/integer/arithmetic/average.py', 1805192Ssaidi@eecs.umich.edu 'simd128/integer/arithmetic/sum_of_absolute_differences.py', 1815192Ssaidi@eecs.umich.edu 'simd128/integer/shift/__init__.py', 1825192Ssaidi@eecs.umich.edu 'simd128/integer/shift/right_arithmetic_shift.py', 1835192Ssaidi@eecs.umich.edu 'simd128/integer/shift/left_logical_shift.py', 1845192Ssaidi@eecs.umich.edu 'simd128/integer/shift/right_logical_shift.py', 1855192Ssaidi@eecs.umich.edu 'simd128/integer/compare/__init__.py', 1865192Ssaidi@eecs.umich.edu 'simd128/integer/compare/compare_and_write_mask.py', 1875192Ssaidi@eecs.umich.edu 'simd128/integer/compare/compare_and_write_minimum_or_maximum.py', 1885192Ssaidi@eecs.umich.edu 'simd128/integer/logical/__init__.py', 1895192Ssaidi@eecs.umich.edu 'simd128/integer/logical/pand.py', 1905192Ssaidi@eecs.umich.edu 'simd128/integer/logical/por.py', 1915192Ssaidi@eecs.umich.edu 'simd128/integer/logical/exclusive_or.py', 1925192Ssaidi@eecs.umich.edu 'simd128/integer/save_and_restore_state/__init__.py', 1935192Ssaidi@eecs.umich.edu 'simd128/integer/save_and_restore_state/save_and_restore_state.py', 1945192Ssaidi@eecs.umich.edu 'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py', 1955192Ssaidi@eecs.umich.edu 'simd128/floating_point/__init__.py', 1965192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_transfer/__init__.py', 1975192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_transfer/move_mask.py', 1985192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_transfer/move.py', 1995192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_transfer/move_with_duplication.py', 2005192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_transfer/move_non_temporal.py', 2015192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_conversion/__init__.py', 2025192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py', 2035192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py', 2045192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py', 2055192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py', 2065192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_reordering/__init__.py', 2075192Ssaidi@eecs.umich.edu 'simd128/floating_point/data_reordering/unpack_and_interleave.py', 2084382Sbinkertn@umich.edu 'simd128/floating_point/data_reordering/shuffle.py', 2094382Sbinkertn@umich.edu 'simd128/floating_point/arithmetic/__init__.py', 2104382Sbinkertn@umich.edu 'simd128/floating_point/arithmetic/subtraction.py', 2112667Sstever@eecs.umich.edu 'simd128/floating_point/arithmetic/addition.py', 2122667Sstever@eecs.umich.edu 'simd128/floating_point/arithmetic/horizontal_subtraction.py', 2132667Sstever@eecs.umich.edu 'simd128/floating_point/arithmetic/horizontal_addition.py', 2142667Sstever@eecs.umich.edu 'simd128/floating_point/arithmetic/square_root.py', 2152667Sstever@eecs.umich.edu 'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py', 2162667Sstever@eecs.umich.edu 'simd128/floating_point/arithmetic/multiplication.py', 2175742Snate@binkert.org 'simd128/floating_point/arithmetic/division.py', 2185742Snate@binkert.org 'simd128/floating_point/arithmetic/reciprocal_square_root.py', 2195742Snate@binkert.org 'simd128/floating_point/arithmetic/reciprocal_estimation.py', 2202037SN/A 'simd128/floating_point/compare/__init__.py', 2212037SN/A 'simd128/floating_point/compare/compare_and_write_mask.py', 2222037SN/A 'simd128/floating_point/compare/compare_and_write_rflags.py', 2234382Sbinkertn@umich.edu 'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py', 2244762Snate@binkert.org 'simd128/floating_point/logical/__init__.py', 2255344Sstever@gmail.com 'simd128/floating_point/logical/andp.py', 2264382Sbinkertn@umich.edu 'simd128/floating_point/logical/orp.py', 2275341Sstever@gmail.com 'simd128/floating_point/logical/exclusive_or.py', 2285742Snate@binkert.org 'simd64/__init__.py', 2295742Snate@binkert.org 'simd64/integer/__init__.py', 2305742Snate@binkert.org 'simd64/integer/data_transfer/__init__.py', 2315742Snate@binkert.org 'simd64/integer/data_transfer/move_mask.py', 2325742Snate@binkert.org 'simd64/integer/data_transfer/move.py', 2334762Snate@binkert.org 'simd64/integer/data_transfer/move_non_temporal.py', 2345742Snate@binkert.org 'simd64/integer/exit_media_state.py', 2355742Snate@binkert.org 'simd64/integer/data_reordering/__init__.py', 2365742Snate@binkert.org 'simd64/integer/data_reordering/unpack_and_interleave.py', 2375742Snate@binkert.org 'simd64/integer/data_reordering/pack_with_saturation.py', 2385742Snate@binkert.org 'simd64/integer/data_reordering/extract_and_insert.py', 2395742Snate@binkert.org 'simd64/integer/data_reordering/shuffle_and_swap.py', 2405742Snate@binkert.org 'simd64/integer/data_conversion.py', 2415341Sstever@gmail.com 'simd64/integer/arithmetic/__init__.py', 2425742Snate@binkert.org 'simd64/integer/arithmetic/subtraction.py', 2435341Sstever@gmail.com 'simd64/integer/arithmetic/addition.py', 2444773Snate@binkert.org 'simd64/integer/arithmetic/multiplication.py', 2451858SN/A 'simd64/integer/arithmetic/multiply_add.py', 2461858SN/A 'simd64/integer/arithmetic/average.py', 2471085SN/A 'simd64/integer/arithmetic/sum_of_absolute_differences.py', 2484382Sbinkertn@umich.edu 'simd64/integer/shift/__init__.py', 2494382Sbinkertn@umich.edu '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', 2535517Snate@binkert.org 'simd64/integer/compare/compare_and_write_mask.py', 2545517Snate@binkert.org 'simd64/integer/compare/compare_and_write_minimum_or_maximum.py', 2555517Snate@binkert.org 'simd64/integer/logical/__init__.py', 2565517Snate@binkert.org 'simd64/integer/logical/pand.py', 2575517Snate@binkert.org 'simd64/integer/logical/por.py', 2585517Snate@binkert.org 'simd64/integer/logical/exclusive_or.py', 2595517Snate@binkert.org 'simd64/integer/save_and_restore_state.py', 2605517Snate@binkert.org 'simd64/floating_point/__init__.py', 2615517Snate@binkert.org 'simd64/floating_point/arithmetic/__init__.py', 2625517Snate@binkert.org 'simd64/floating_point/arithmetic/subtraction.py', 2635517Snate@binkert.org 'simd64/floating_point/arithmetic/addition.py', 2645517Snate@binkert.org 'simd64/floating_point/arithmetic/reciprocal_estimation.py', 2655517Snate@binkert.org 'simd64/floating_point/arithmetic/multiplication.py', 2665517Snate@binkert.org 'simd64/floating_point/arithmetic/accumulation.py', 2675517Snate@binkert.org 'simd64/floating_point/arithmetic/reciprocal_square_root.py', 2685517Snate@binkert.org 'simd64/floating_point/data_conversion.py', 2695517Snate@binkert.org 'simd64/floating_point/compare/__init__.py', 2705517Snate@binkert.org 'simd64/floating_point/compare/compare_and_write_mask.py', 2715517Snate@binkert.org 'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py', 2725517Snate@binkert.org 'x87/__init__.py', 2735517Snate@binkert.org 'x87/data_transfer_and_conversion/__init__.py', 2745517Snate@binkert.org 'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py', 2755517Snate@binkert.org 'x87/data_transfer_and_conversion/load_or_store_floating_point.py', 2765517Snate@binkert.org 'x87/data_transfer_and_conversion/exchange.py', 2775517Snate@binkert.org 'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py', 2785517Snate@binkert.org 'x87/data_transfer_and_conversion/conditional_move.py', 2795517Snate@binkert.org 'x87/data_transfer_and_conversion/extract.py', 2805517Snate@binkert.org 'x87/load_constants/__init__.py', 2815517Snate@binkert.org 'x87/load_constants/load_0_1_or_pi.py', 2825517Snate@binkert.org 'x87/load_constants/load_logarithm.py', 2835517Snate@binkert.org 'x87/arithmetic/__init__.py', 2845517Snate@binkert.org 'x87/arithmetic/subtraction.py', 2855517Snate@binkert.org 'x87/arithmetic/addition.py', 2865517Snate@binkert.org 'x87/arithmetic/partial_remainder.py', 2875517Snate@binkert.org 'x87/arithmetic/multiplication.py', 2885517Snate@binkert.org 'x87/arithmetic/division.py', 2895517Snate@binkert.org 'x87/arithmetic/change_sign.py', 2905517Snate@binkert.org 'x87/arithmetic/round.py', 2915517Snate@binkert.org 'x87/arithmetic/square_root.py', 2925517Snate@binkert.org 'x87/transcendental_functions/__init__.py', 2935517Snate@binkert.org 'x87/transcendental_functions/trigonometric_functions.py', 2945517Snate@binkert.org 'x87/transcendental_functions/logarithmic_functions.py', 2955517Snate@binkert.org 'x87/compare_and_test/__init__.py', 2965517Snate@binkert.org 'x87/compare_and_test/classify.py', 2975517Snate@binkert.org 'x87/compare_and_test/test.py', 2985517Snate@binkert.org 'x87/compare_and_test/floating_point_ordered_compare.py', 2995517Snate@binkert.org 'x87/compare_and_test/floating_point_unordered_compare.py', 3005517Snate@binkert.org 'x87/compare_and_test/integer_compare.py', 3015517Snate@binkert.org 'x87/stack_management/__init__.py', 3025517Snate@binkert.org 'x87/stack_management/stack_control.py', 3035517Snate@binkert.org 'x87/stack_management/clear_state.py', 3045517Snate@binkert.org 'x87/control/__init__.py', 3055517Snate@binkert.org 'x87/control/clear_exceptions.py', 3065517Snate@binkert.org 'x87/control/initialize.py', 3075517Snate@binkert.org 'x87/control/wait_for_exceptions.py', 3085517Snate@binkert.org 'x87/control/save_x87_status_word.py', 3095522Snate@binkert.org 'x87/control/save_and_restore_x87_control_word.py', 3105517Snate@binkert.org 'x87/control/save_and_restore_x87_environment.py', 3115517Snate@binkert.org 'x87/no_operation.py' 3125517Snate@binkert.org ) 3135517Snate@binkert.org 3144762Snate@binkert.org 3155517Snate@binkert.org # Add in files generated by the ISA description. 3165517Snate@binkert.org isa_desc_files = env.ISADesc('isa/main.isa') 3174762Snate@binkert.org for f in isa_desc_files: 3185517Snate@binkert.org # Add in python file dependencies that won't be caught otherwise 3194762Snate@binkert.org for pyfile in python_files: 3205517Snate@binkert.org env.Depends(f, "isa/insts/%s" % pyfile) 3215517Snate@binkert.org # Only non-header files need to be compiled. 3225517Snate@binkert.org if not f.path.endswith('.hh'): 3235517Snate@binkert.org Source(f) 3245517Snate@binkert.org