SConscript revision 7624
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
326143Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
334762Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
345522Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
35955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
365522Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
37955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
385522Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
394202Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
405742Snate@binkert.org#
41955SN/A# Authors: Gabe Black
424381Sbinkertn@umich.edu
434381Sbinkertn@umich.eduImport('*')
448334Snate@binkert.org
45955SN/Aif env['TARGET_ISA'] == 'x86':
46955SN/A    Source('cpuid.cc')
474202Sbinkertn@umich.edu    Source('emulenv.cc')
48955SN/A    Source('faults.cc')
494382Sbinkertn@umich.edu    Source('insts/microfpop.cc')
504382Sbinkertn@umich.edu    Source('insts/microldstop.cc')
514382Sbinkertn@umich.edu    Source('insts/micromediaop.cc')
526654Snate@binkert.org    Source('insts/microop.cc')
535517Snate@binkert.org    Source('insts/microregop.cc')
548614Sgblack@eecs.umich.edu    Source('insts/static_inst.cc')
557674Snate@binkert.org    Source('isa.cc')
566143Snate@binkert.org    Source('nativetrace.cc')
576143Snate@binkert.org    Source('pagetable.cc')
586143Snate@binkert.org    Source('predecoder.cc')
598233Snate@binkert.org    Source('predecoder_tables.cc')
608233Snate@binkert.org    Source('remote_gdb.cc')
618233Snate@binkert.org    Source('tlb.cc')
628233Snate@binkert.org    Source('types.cc')
638233Snate@binkert.org    Source('utility.cc')
648334Snate@binkert.org
658334Snate@binkert.org    SimObject('X86NativeTrace.py')
668233Snate@binkert.org
678233Snate@binkert.org    SimObject('X86TLB.py')
688233Snate@binkert.org    TraceFlag('Predecoder', "Predecoder debug output")
698233Snate@binkert.org    TraceFlag('X86', "Generic X86 ISA debugging")
708233Snate@binkert.org
718233Snate@binkert.org    if env['FULL_SYSTEM']:
726143Snate@binkert.org        TraceFlag('LocalApic', "Local APIC debugging")
738233Snate@binkert.org        TraceFlag('PageTableWalker', \
748233Snate@binkert.org                  "Page table walker state machine debugging")
758233Snate@binkert.org        TraceFlag('Faults', "Trace all faults/exceptions/traps")
766143Snate@binkert.org
776143Snate@binkert.org        SimObject('X86LocalApic.py')
786143Snate@binkert.org        SimObject('X86System.py')
796143Snate@binkert.org
808233Snate@binkert.org        # Full-system sources
818233Snate@binkert.org        Source('interrupts.cc')
828233Snate@binkert.org        Source('linux/system.cc')
836143Snate@binkert.org        Source('pagetable_walker.cc')
848233Snate@binkert.org        Source('system.cc')
858233Snate@binkert.org        Source('stacktrace.cc')
868233Snate@binkert.org        Source('vtophys.cc')
878233Snate@binkert.org    else:
886143Snate@binkert.org        Source('process.cc')
896143Snate@binkert.org
906143Snate@binkert.org        Source('linux/linux.cc')
914762Snate@binkert.org        Source('linux/process.cc')
926143Snate@binkert.org        Source('linux/syscalls.cc')
938233Snate@binkert.org
948233Snate@binkert.org    python_files = (
958233Snate@binkert.org        '__init__.py',
968233Snate@binkert.org        'general_purpose/__init__.py',
978233Snate@binkert.org        'general_purpose/arithmetic/__init__.py',
986143Snate@binkert.org        'general_purpose/arithmetic/add_and_subtract.py',
998233Snate@binkert.org        'general_purpose/arithmetic/increment_and_decrement.py',
1008233Snate@binkert.org        'general_purpose/arithmetic/multiply_and_divide.py',
1018233Snate@binkert.org        'general_purpose/cache_and_memory_management.py',
1028233Snate@binkert.org        'general_purpose/compare_and_test/__init__.py',
1036143Snate@binkert.org        'general_purpose/compare_and_test/bit_scan.py',
1046143Snate@binkert.org        'general_purpose/compare_and_test/bit_test.py',
1056143Snate@binkert.org        'general_purpose/compare_and_test/bounds.py',
1066143Snate@binkert.org        'general_purpose/compare_and_test/compare.py',
1076143Snate@binkert.org        'general_purpose/compare_and_test/set_byte_on_condition.py',
1086143Snate@binkert.org        'general_purpose/compare_and_test/test.py',
1096143Snate@binkert.org        'general_purpose/control_transfer/__init__.py',
1106143Snate@binkert.org        'general_purpose/control_transfer/call.py',
1116143Snate@binkert.org        'general_purpose/control_transfer/conditional_jump.py',
1127065Snate@binkert.org        'general_purpose/control_transfer/interrupts_and_exceptions.py',
1136143Snate@binkert.org        'general_purpose/control_transfer/jump.py',
1148233Snate@binkert.org        'general_purpose/control_transfer/loop.py',
1158233Snate@binkert.org        'general_purpose/control_transfer/xreturn.py',
1168233Snate@binkert.org        'general_purpose/data_conversion/__init__.py',
1178233Snate@binkert.org        'general_purpose/data_conversion/ascii_adjust.py',
1188233Snate@binkert.org        'general_purpose/data_conversion/bcd_adjust.py',
1198233Snate@binkert.org        'general_purpose/data_conversion/endian_conversion.py',
1208233Snate@binkert.org        'general_purpose/data_conversion/extract_sign_mask.py',
1218233Snate@binkert.org        'general_purpose/data_conversion/sign_extension.py',
1228233Snate@binkert.org        'general_purpose/data_conversion/translate.py',
1238233Snate@binkert.org        'general_purpose/data_transfer/__init__.py',
1248233Snate@binkert.org        'general_purpose/data_transfer/conditional_move.py',
1258233Snate@binkert.org        'general_purpose/data_transfer/move.py',
1268233Snate@binkert.org        'general_purpose/data_transfer/stack_operations.py',
1278233Snate@binkert.org        'general_purpose/data_transfer/xchg.py',
1288233Snate@binkert.org        'general_purpose/flags/__init__.py',
1298233Snate@binkert.org        'general_purpose/flags/load_and_store.py',
1308233Snate@binkert.org        'general_purpose/flags/push_and_pop.py',
1318233Snate@binkert.org        'general_purpose/flags/set_and_clear.py',
1328233Snate@binkert.org        'general_purpose/input_output/__init__.py',
1338233Snate@binkert.org        'general_purpose/input_output/general_io.py',
1348233Snate@binkert.org        'general_purpose/input_output/string_io.py',
1358233Snate@binkert.org        'general_purpose/load_effective_address.py',
1368233Snate@binkert.org        'general_purpose/load_segment_registers.py',
1378233Snate@binkert.org        'general_purpose/logical.py',
1388233Snate@binkert.org        'general_purpose/no_operation.py',
1398233Snate@binkert.org        'general_purpose/rotate_and_shift/__init__.py',
1408233Snate@binkert.org        'general_purpose/rotate_and_shift/rotate.py',
1418233Snate@binkert.org        'general_purpose/rotate_and_shift/shift.py',
1428233Snate@binkert.org        'general_purpose/semaphores.py',
1438233Snate@binkert.org        'general_purpose/string/__init__.py',
1448233Snate@binkert.org        'general_purpose/string/compare_strings.py',
1456143Snate@binkert.org        'general_purpose/string/load_string.py',
1466143Snate@binkert.org        'general_purpose/string/move_string.py',
1476143Snate@binkert.org        'general_purpose/string/scan_string.py',
1486143Snate@binkert.org        'general_purpose/string/store_string.py',
1496143Snate@binkert.org        'general_purpose/system_calls.py',
1506143Snate@binkert.org        'romutil.py',
1516143Snate@binkert.org        'system/__init__.py',
1526143Snate@binkert.org        'system/control_registers.py',
1536143Snate@binkert.org        'system/halt.py',
1548945Ssteve.reinhardt@amd.com        'system/invlpg.py',
1558233Snate@binkert.org        'system/undefined_operation.py',
1568233Snate@binkert.org        'system/msrs.py',
1576143Snate@binkert.org        'system/segmentation.py',
1588945Ssteve.reinhardt@amd.com        'simd128/__init__.py',
1596143Snate@binkert.org        'simd128/integer/__init__.py',
1606143Snate@binkert.org        'simd128/integer/data_transfer/__init__.py',
1616143Snate@binkert.org        'simd128/integer/data_transfer/move.py',
1626143Snate@binkert.org        'simd128/integer/data_transfer/move_non_temporal.py',
1635522Snate@binkert.org        'simd128/integer/data_transfer/move_mask.py',
1646143Snate@binkert.org        'simd128/integer/data_conversion/__init__.py',
1656143Snate@binkert.org        'simd128/integer/data_conversion/convert_mmx_integer_to_floating_point.py',
1666143Snate@binkert.org        'simd128/integer/data_conversion/convert_integer_to_floating_point.py',
1676143Snate@binkert.org        'simd128/integer/data_conversion/convert_gpr_integer_to_floating_point.py',
1688233Snate@binkert.org        'simd128/integer/data_reordering/__init__.py',
1698233Snate@binkert.org        'simd128/integer/data_reordering/unpack_and_interleave.py',
1708233Snate@binkert.org        'simd128/integer/data_reordering/pack_with_saturation.py',
1716143Snate@binkert.org        'simd128/integer/data_reordering/extract_and_insert.py',
1726143Snate@binkert.org        'simd128/integer/data_reordering/shuffle.py',
1736143Snate@binkert.org        'simd128/integer/arithmetic/__init__.py',
1746143Snate@binkert.org        'simd128/integer/arithmetic/subtraction.py',
1755522Snate@binkert.org        'simd128/integer/arithmetic/addition.py',
1765522Snate@binkert.org        'simd128/integer/arithmetic/multiplication.py',
1775522Snate@binkert.org        'simd128/integer/arithmetic/multiply_add.py',
1785522Snate@binkert.org        'simd128/integer/arithmetic/average.py',
1795604Snate@binkert.org        'simd128/integer/arithmetic/sum_of_absolute_differences.py',
1805604Snate@binkert.org        'simd128/integer/shift/__init__.py',
1816143Snate@binkert.org        'simd128/integer/shift/right_arithmetic_shift.py',
1826143Snate@binkert.org        'simd128/integer/shift/left_logical_shift.py',
1834762Snate@binkert.org        'simd128/integer/shift/right_logical_shift.py',
1844762Snate@binkert.org        'simd128/integer/compare/__init__.py',
1856143Snate@binkert.org        'simd128/integer/compare/compare_and_write_mask.py',
1866727Ssteve.reinhardt@amd.com        'simd128/integer/compare/compare_and_write_minimum_or_maximum.py',
1876727Ssteve.reinhardt@amd.com        'simd128/integer/logical/__init__.py',
1886727Ssteve.reinhardt@amd.com        'simd128/integer/logical/pand.py',
1894762Snate@binkert.org        'simd128/integer/logical/por.py',
1906143Snate@binkert.org        'simd128/integer/logical/exclusive_or.py',
1916143Snate@binkert.org        'simd128/integer/save_and_restore_state/__init__.py',
1926143Snate@binkert.org        'simd128/integer/save_and_restore_state/save_and_restore_state.py',
1936143Snate@binkert.org        'simd128/integer/save_and_restore_state/save_and_restore_control_and_status.py',
1946727Ssteve.reinhardt@amd.com        'simd128/floating_point/__init__.py',
1956143Snate@binkert.org        'simd128/floating_point/data_transfer/__init__.py',
1967674Snate@binkert.org        'simd128/floating_point/data_transfer/move_mask.py',
1977674Snate@binkert.org        'simd128/floating_point/data_transfer/move.py',
1985604Snate@binkert.org        'simd128/floating_point/data_transfer/move_with_duplication.py',
1996143Snate@binkert.org        'simd128/floating_point/data_transfer/move_non_temporal.py',
2006143Snate@binkert.org        'simd128/floating_point/data_conversion/__init__.py',
2016143Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_floating_point.py',
2024762Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_xmm_integer.py',
2036143Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_mmx_integer.py',
2044762Snate@binkert.org        'simd128/floating_point/data_conversion/convert_floating_point_to_gpr_integer.py',
2054762Snate@binkert.org        'simd128/floating_point/data_reordering/__init__.py',
2064762Snate@binkert.org        'simd128/floating_point/data_reordering/unpack_and_interleave.py',
2076143Snate@binkert.org        'simd128/floating_point/data_reordering/shuffle.py',
2086143Snate@binkert.org        'simd128/floating_point/arithmetic/__init__.py',
2094762Snate@binkert.org        'simd128/floating_point/arithmetic/subtraction.py',
2108233Snate@binkert.org        'simd128/floating_point/arithmetic/addition.py',
2118233Snate@binkert.org        'simd128/floating_point/arithmetic/horizontal_subtraction.py',
2128233Snate@binkert.org        'simd128/floating_point/arithmetic/horizontal_addition.py',
2138233Snate@binkert.org        'simd128/floating_point/arithmetic/square_root.py',
2146143Snate@binkert.org        'simd128/floating_point/arithmetic/simultaneous_addition_and_subtraction.py',
2156143Snate@binkert.org        'simd128/floating_point/arithmetic/multiplication.py',
2164762Snate@binkert.org        'simd128/floating_point/arithmetic/division.py',
2176143Snate@binkert.org        'simd128/floating_point/arithmetic/reciprocal_square_root.py',
2184762Snate@binkert.org        'simd128/floating_point/arithmetic/reciprocal_estimation.py',
2196143Snate@binkert.org        'simd128/floating_point/compare/__init__.py',
2204762Snate@binkert.org        'simd128/floating_point/compare/compare_and_write_mask.py',
2216143Snate@binkert.org        'simd128/floating_point/compare/compare_and_write_rflags.py',
2228233Snate@binkert.org        'simd128/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2238233Snate@binkert.org        'simd128/floating_point/logical/__init__.py',
2248233Snate@binkert.org        'simd128/floating_point/logical/andp.py',
2256143Snate@binkert.org        'simd128/floating_point/logical/orp.py',
2266143Snate@binkert.org        'simd128/floating_point/logical/exclusive_or.py',
2276143Snate@binkert.org        'simd64/__init__.py',
2286143Snate@binkert.org        'simd64/integer/__init__.py',
2296143Snate@binkert.org        'simd64/integer/data_transfer/__init__.py',
2306143Snate@binkert.org        'simd64/integer/data_transfer/move_mask.py',
2316143Snate@binkert.org        'simd64/integer/data_transfer/move.py',
2326143Snate@binkert.org        'simd64/integer/data_transfer/move_non_temporal.py',
2338233Snate@binkert.org        'simd64/integer/exit_media_state.py',
2348233Snate@binkert.org        'simd64/integer/data_reordering/__init__.py',
235955SN/A        'simd64/integer/data_reordering/unpack_and_interleave.py',
2369396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/pack_with_saturation.py',
2379396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/extract_and_insert.py',
2389396Sandreas.hansson@arm.com        'simd64/integer/data_reordering/shuffle_and_swap.py',
2399396Sandreas.hansson@arm.com        'simd64/integer/data_conversion.py',
2409396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/__init__.py',
2419396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/subtraction.py',
2429396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/addition.py',
2439396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/multiplication.py',
2449396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/multiply_add.py',
2459396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/average.py',
2469396Sandreas.hansson@arm.com        'simd64/integer/arithmetic/sum_of_absolute_differences.py',
2479396Sandreas.hansson@arm.com        'simd64/integer/shift/__init__.py',
2489396Sandreas.hansson@arm.com        'simd64/integer/shift/right_arithmetic_shift.py',
2499396Sandreas.hansson@arm.com        'simd64/integer/shift/left_logical_shift.py',
2509396Sandreas.hansson@arm.com        'simd64/integer/shift/right_logical_shift.py',
2519396Sandreas.hansson@arm.com        'simd64/integer/compare/__init__.py',
2528235Snate@binkert.org        'simd64/integer/compare/compare_and_write_mask.py',
2538235Snate@binkert.org        'simd64/integer/compare/compare_and_write_minimum_or_maximum.py',
2546143Snate@binkert.org        'simd64/integer/logical/__init__.py',
2558235Snate@binkert.org        'simd64/integer/logical/pand.py',
2569003SAli.Saidi@ARM.com        'simd64/integer/logical/por.py',
2578235Snate@binkert.org        'simd64/integer/logical/exclusive_or.py',
2588235Snate@binkert.org        'simd64/integer/save_and_restore_state.py',
2598235Snate@binkert.org        'simd64/floating_point/__init__.py',
2608235Snate@binkert.org        'simd64/floating_point/arithmetic/__init__.py',
2618235Snate@binkert.org        'simd64/floating_point/arithmetic/subtraction.py',
2628235Snate@binkert.org        'simd64/floating_point/arithmetic/addition.py',
2638235Snate@binkert.org        'simd64/floating_point/arithmetic/reciprocal_estimation.py',
2648235Snate@binkert.org        'simd64/floating_point/arithmetic/multiplication.py',
2658235Snate@binkert.org        'simd64/floating_point/arithmetic/accumulation.py',
2668235Snate@binkert.org        'simd64/floating_point/arithmetic/reciprocal_square_root.py',
2678235Snate@binkert.org        'simd64/floating_point/data_conversion.py',
2688235Snate@binkert.org        'simd64/floating_point/compare/__init__.py',
2698235Snate@binkert.org        'simd64/floating_point/compare/compare_and_write_mask.py',
2708235Snate@binkert.org        'simd64/floating_point/compare/compare_and_write_minimum_or_maximum.py',
2719003SAli.Saidi@ARM.com        'x87/__init__.py',
2728235Snate@binkert.org        'x87/data_transfer_and_conversion/__init__.py',
2735584Snate@binkert.org        'x87/data_transfer_and_conversion/convert_and_load_or_store_integer.py',
2744382Sbinkertn@umich.edu        'x87/data_transfer_and_conversion/load_or_store_floating_point.py',
2754202Sbinkertn@umich.edu        'x87/data_transfer_and_conversion/exchange.py',
2764382Sbinkertn@umich.edu        'x87/data_transfer_and_conversion/convert_and_load_or_store_bcd.py',
2774382Sbinkertn@umich.edu        'x87/data_transfer_and_conversion/conditional_move.py',
2784382Sbinkertn@umich.edu        'x87/data_transfer_and_conversion/extract.py',
2799396Sandreas.hansson@arm.com        'x87/load_constants/__init__.py',
2805584Snate@binkert.org        'x87/load_constants/load_0_1_or_pi.py',
2814382Sbinkertn@umich.edu        'x87/load_constants/load_logarithm.py',
2824382Sbinkertn@umich.edu        'x87/arithmetic/__init__.py',
2834382Sbinkertn@umich.edu        'x87/arithmetic/subtraction.py',
2848232Snate@binkert.org        'x87/arithmetic/addition.py',
2855192Ssaidi@eecs.umich.edu        'x87/arithmetic/partial_remainder.py',
2868232Snate@binkert.org        'x87/arithmetic/multiplication.py',
2878232Snate@binkert.org        'x87/arithmetic/division.py',
2888232Snate@binkert.org        'x87/arithmetic/change_sign.py',
2895192Ssaidi@eecs.umich.edu        'x87/arithmetic/round.py',
2908232Snate@binkert.org        'x87/arithmetic/square_root.py',
2915192Ssaidi@eecs.umich.edu        'x87/transcendental_functions/__init__.py',
2925799Snate@binkert.org        'x87/transcendental_functions/trigonometric_functions.py',
2938232Snate@binkert.org        'x87/transcendental_functions/logarithmic_functions.py',
2945192Ssaidi@eecs.umich.edu        'x87/compare_and_test/__init__.py',
2955192Ssaidi@eecs.umich.edu        'x87/compare_and_test/classify.py',
2965192Ssaidi@eecs.umich.edu        'x87/compare_and_test/test.py',
2978232Snate@binkert.org        'x87/compare_and_test/floating_point_ordered_compare.py',
2985192Ssaidi@eecs.umich.edu        'x87/compare_and_test/floating_point_unordered_compare.py',
2998232Snate@binkert.org        'x87/compare_and_test/integer_compare.py',
3005192Ssaidi@eecs.umich.edu        'x87/stack_management/__init__.py',
3015192Ssaidi@eecs.umich.edu        'x87/stack_management/stack_control.py',
3025192Ssaidi@eecs.umich.edu        'x87/stack_management/clear_state.py',
3035192Ssaidi@eecs.umich.edu        'x87/control/__init__.py',
3044382Sbinkertn@umich.edu        'x87/control/clear_exceptions.py',
3054382Sbinkertn@umich.edu        'x87/control/initialize.py',
3064382Sbinkertn@umich.edu        'x87/control/wait_for_exceptions.py',
3072667Sstever@eecs.umich.edu        'x87/control/save_x87_status_word.py',
3082667Sstever@eecs.umich.edu        'x87/control/save_and_restore_x87_control_word.py',
3092667Sstever@eecs.umich.edu        'x87/control/save_and_restore_x87_environment.py',
3102667Sstever@eecs.umich.edu        'x87/no_operation.py'
3112667Sstever@eecs.umich.edu        )
3122667Sstever@eecs.umich.edu
3135742Snate@binkert.org
3145742Snate@binkert.org    # Add in files generated by the ISA description.
3155742Snate@binkert.org    isa_desc_files = env.ISADesc('isa/main.isa')
3165793Snate@binkert.org    for f in isa_desc_files:
3178334Snate@binkert.org        # Add in python file dependencies that won't be caught otherwise
3185793Snate@binkert.org        for pyfile in python_files:
3195793Snate@binkert.org            env.Depends(f, "isa/insts/%s" % pyfile)
3205793Snate@binkert.org        # Only non-header files need to be compiled.
3214382Sbinkertn@umich.edu        if not f.path.endswith('.hh'):
3224762Snate@binkert.org            Source(f)
3235344Sstever@gmail.com