SConscript revision 13667
15729SN/A# -*- mode:python -*-
25729SN/A
35729SN/A# Copyright (c) 2006 The Regents of The University of Michigan
48835SAli.Saidi@ARM.com# All rights reserved.
57873SN/A#
67873SN/A# Redistribution and use in source and binary forms, with or without
77873SN/A# modification, are permitted provided that the following conditions are
85729SN/A# met: redistributions of source code must retain the above copyright
95729SN/A# notice, this list of conditions and the following disclaimer;
105729SN/A# redistributions in binary form must reproduce the above copyright
115729SN/A# notice, this list of conditions and the following disclaimer in the
128835SAli.Saidi@ARM.com# documentation and/or other materials provided with the distribution;
138835SAli.Saidi@ARM.com# neither the name of the copyright holders nor the names of its
148835SAli.Saidi@ARM.com# contributors may be used to endorse or promote products derived from
158835SAli.Saidi@ARM.com# this software without specific prior written permission.
165729SN/A#
178673SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
188721SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
198835SAli.Saidi@ARM.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
208835SAli.Saidi@ARM.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
217935SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
227935SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
237935SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
247935SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
257935SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
267935SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
277935SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
288983Snate@binkert.org#
295729SN/A# Authors: Nathan Binkert
305729SN/A
315729SN/AImport('*')
328835SAli.Saidi@ARM.com
335876SN/ASimObject('ClockedObject.py')
345729SN/ASimObject('TickedObject.py')
355729SN/ASimObject('Root.py')
365729SN/ASimObject('ClockDomain.py')
375876SN/ASimObject('VoltageDomain.py')
388835SAli.Saidi@ARM.comSimObject('System.py')
395876SN/ASimObject('DVFSHandler.py')
405729SN/ASimObject('SubSystem.py')
415729SN/A
425729SN/ASource('arguments.cc')
438835SAli.Saidi@ARM.comSource('async.cc')
445729SN/ASource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
455729SN/ASource('core.cc')
465729SN/ASource('tags.cc')
475729SN/ASource('cxx_config.cc')
485729SN/ASource('cxx_manager.cc')
495729SN/ASource('cxx_config_ini.cc')
505729SN/ASource('debug.cc')
518835SAli.Saidi@ARM.comSource('py_interact.cc', add_tags='python')
525729SN/ASource('eventq.cc')
535729SN/ASource('global_event.cc')
545729SN/ASource('init.cc', add_tags='python')
555729SN/ASource('init_signals.cc')
565729SN/ASource('main.cc', tags='main')
575729SN/ASource('root.cc')
585729SN/ASource('serialize.cc')
595729SN/ASource('drain.cc')
605729SN/ASource('sim_events.cc')
618983Snate@binkert.orgSource('sim_object.cc')
625729SN/ASource('sub_system.cc')
635729SN/ASource('ticked_object.cc')
646123SN/ASource('simulate.cc')
655729SN/ASource('stat_control.cc')
668241SN/ASource('stat_register.cc', add_tags='python')
675729SN/ASource('clock_domain.cc')
685729SN/ASource('voltage_domain.cc')
695729SN/ASource('se_signal.cc')
705876SN/ASource('linear_solver.cc')
718835SAli.Saidi@ARM.comSource('system.cc')
725729SN/ASource('dvfs_handler.cc')
735729SN/ASource('clocked_object.cc')
745729SN/ASource('mathexpr.cc')
755729SN/A
768835SAli.Saidi@ARM.comif env['TARGET_ISA'] != 'null':
775729SN/A    SimObject('InstTracer.py')
785729SN/A    SimObject('Process.py')
795729SN/A    Source('aux_vector.cc')
805729SN/A    Source('faults.cc')
815729SN/A    Source('process.cc')
828983Snate@binkert.org    Source('fd_array.cc')
835729SN/A    Source('fd_entry.cc')
845729SN/A    Source('pseudo_inst.cc')
856024SN/A    Source('syscall_emul.cc')
868835SAli.Saidi@ARM.com    Source('syscall_desc.cc')
875729SN/A
888835SAli.Saidi@ARM.comif env['TARGET_ISA'] != 'x86':
898835SAli.Saidi@ARM.com    Source('microcode_rom.cc')
908835SAli.Saidi@ARM.com
918835SAli.Saidi@ARM.comDebugFlag('Checkpoint')
928835SAli.Saidi@ARM.comDebugFlag('Config')
938983Snate@binkert.orgDebugFlag('CxxConfig')
945729SN/ADebugFlag('Drain')
955729SN/ADebugFlag('Event')
965729SN/ADebugFlag('Fault')
978983Snate@binkert.orgDebugFlag('Flow')
985729SN/ADebugFlag('IPI')
995729SN/ADebugFlag('IPR')
1006123SN/ADebugFlag('Interrupt')
1015729SN/ADebugFlag('Loader')
1028241SN/ADebugFlag('PseudoInst')
1035729SN/ADebugFlag('Stack')
1045729SN/ADebugFlag('SyscallBase')
1055729SN/ADebugFlag('SyscallVerbose')
1065876SN/ADebugFlag('TimeSync')
1078835SAli.Saidi@ARM.comDebugFlag('Thread')
1085729SN/ADebugFlag('Timer')
1095729SN/ADebugFlag('VtoPhys')
1105729SN/ADebugFlag('WorkItems')
1115729SN/ADebugFlag('ClockDomain')
1128835SAli.Saidi@ARM.comDebugFlag('VoltageDomain')
1135729SN/ADebugFlag('DVFS')
1145729SN/A
1155729SN/ACompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
1165729SN/A