SConscript revision 11856:103e2f92c965
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan
4955SN/A# All rights reserved.
5955SN/A#
6955SN/A# Redistribution and use in source and binary forms, with or without
7955SN/A# modification, are permitted provided that the following conditions are
8955SN/A# met: redistributions of source code must retain the above copyright
9955SN/A# notice, this list of conditions and the following disclaimer;
10955SN/A# redistributions in binary form must reproduce the above copyright
11955SN/A# notice, this list of conditions and the following disclaimer in the
12955SN/A# documentation and/or other materials provided with the distribution;
13955SN/A# neither the name of the copyright holders nor the names of its
14955SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28955SN/A#
29955SN/A# Authors: Nathan Binkert
30955SN/A
31955SN/AImport('*')
32955SN/A
332632Sstever@eecs.umich.eduSimObject('ClockedObject.py')
342632Sstever@eecs.umich.eduSimObject('TickedObject.py')
352632Sstever@eecs.umich.eduSimObject('Root.py')
362632Sstever@eecs.umich.eduSimObject('ClockDomain.py')
37955SN/ASimObject('VoltageDomain.py')
382632Sstever@eecs.umich.eduSimObject('System.py')
392632Sstever@eecs.umich.eduSimObject('DVFSHandler.py')
402632Sstever@eecs.umich.eduSimObject('SubSystem.py')
412632Sstever@eecs.umich.edu
422632Sstever@eecs.umich.eduSource('arguments.cc')
432632Sstever@eecs.umich.eduSource('async.cc')
442632Sstever@eecs.umich.eduSource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
452632Sstever@eecs.umich.eduSource('core.cc')
462632Sstever@eecs.umich.eduSource('tags.cc')
472632Sstever@eecs.umich.eduSource('cxx_config.cc')
482632Sstever@eecs.umich.eduSource('cxx_manager.cc')
492632Sstever@eecs.umich.eduSource('cxx_config_ini.cc')
502632Sstever@eecs.umich.eduSource('debug.cc')
512632Sstever@eecs.umich.eduSource('py_interact.cc', skip_no_python=True)
522632Sstever@eecs.umich.eduSource('eventq.cc')
532632Sstever@eecs.umich.eduSource('global_event.cc')
542632Sstever@eecs.umich.eduSource('init.cc', skip_no_python=True)
552632Sstever@eecs.umich.eduSource('init_signals.cc')
562632Sstever@eecs.umich.eduSource('main.cc', main=True, skip_lib=True)
572632Sstever@eecs.umich.eduSource('root.cc')
58955SN/ASource('serialize.cc')
59955SN/ASource('drain.cc')
60955SN/ASource('sim_events.cc')
61955SN/ASource('sim_object.cc')
62955SN/ASource('sub_system.cc')
63955SN/ASource('ticked_object.cc')
64955SN/ASource('simulate.cc')
651858SN/ASource('stat_control.cc')
661858SN/ASource('stat_register.cc', skip_no_python=True)
672632Sstever@eecs.umich.eduSource('clock_domain.cc')
681852SN/ASource('voltage_domain.cc')
69955SN/ASource('linear_solver.cc')
70955SN/ASource('system.cc')
71955SN/ASource('dvfs_handler.cc')
722632Sstever@eecs.umich.eduSource('clocked_object.cc')
732632Sstever@eecs.umich.eduSource('mathexpr.cc')
74955SN/A
751533SN/Aif env['TARGET_ISA'] != 'null':
762632Sstever@eecs.umich.edu    SimObject('InstTracer.py')
771533SN/A    SimObject('Process.py')
78955SN/A    Source('aux_vector.cc')
79955SN/A    Source('faults.cc')
802632Sstever@eecs.umich.edu    Source('process.cc')
812632Sstever@eecs.umich.edu    Source('fd_array.cc')
82955SN/A    Source('fd_entry.cc')
83955SN/A    Source('pseudo_inst.cc')
84955SN/A    Source('syscall_emul.cc')
85955SN/A    Source('syscall_desc.cc')
862632Sstever@eecs.umich.edu
87955SN/Aif env['TARGET_ISA'] != 'x86':
882632Sstever@eecs.umich.edu    Source('microcode_rom.cc')
89955SN/A
90955SN/ADebugFlag('Checkpoint')
912632Sstever@eecs.umich.eduDebugFlag('Config')
922632Sstever@eecs.umich.eduDebugFlag('CxxConfig')
932632Sstever@eecs.umich.eduDebugFlag('Drain')
942632Sstever@eecs.umich.eduDebugFlag('Event')
952632Sstever@eecs.umich.eduDebugFlag('Fault')
962632Sstever@eecs.umich.eduDebugFlag('Flow')
972632Sstever@eecs.umich.eduDebugFlag('IPI')
982632Sstever@eecs.umich.eduDebugFlag('IPR')
992632Sstever@eecs.umich.eduDebugFlag('Interrupt')
1002632Sstever@eecs.umich.eduDebugFlag('Loader')
1012632Sstever@eecs.umich.eduDebugFlag('PseudoInst')
1022632Sstever@eecs.umich.eduDebugFlag('Stack')
1032632Sstever@eecs.umich.eduDebugFlag('SyscallBase')
1042632Sstever@eecs.umich.eduDebugFlag('SyscallVerbose')
1052632Sstever@eecs.umich.eduDebugFlag('TimeSync')
1062632Sstever@eecs.umich.eduDebugFlag('Thread')
1072632Sstever@eecs.umich.eduDebugFlag('Timer')
1082634Sstever@eecs.umich.eduDebugFlag('VtoPhys')
1092634Sstever@eecs.umich.eduDebugFlag('WorkItems')
1102632Sstever@eecs.umich.eduDebugFlag('ClockDomain')
1112634Sstever@eecs.umich.eduDebugFlag('VoltageDomain')
1122632Sstever@eecs.umich.eduDebugFlag('DVFS')
1132632Sstever@eecs.umich.edu
1142632Sstever@eecs.umich.eduCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
1152632Sstever@eecs.umich.edu