SConscript revision 13576
112600Sodanrc@yahoo.com.br# -*- mode:python -*-
212600Sodanrc@yahoo.com.br
312600Sodanrc@yahoo.com.br# Copyright (c) 2006 The Regents of The University of Michigan
412600Sodanrc@yahoo.com.br# All rights reserved.
512600Sodanrc@yahoo.com.br#
612600Sodanrc@yahoo.com.br# Redistribution and use in source and binary forms, with or without
712600Sodanrc@yahoo.com.br# modification, are permitted provided that the following conditions are
812600Sodanrc@yahoo.com.br# met: redistributions of source code must retain the above copyright
912600Sodanrc@yahoo.com.br# notice, this list of conditions and the following disclaimer;
1012600Sodanrc@yahoo.com.br# redistributions in binary form must reproduce the above copyright
1112600Sodanrc@yahoo.com.br# notice, this list of conditions and the following disclaimer in the
1212600Sodanrc@yahoo.com.br# documentation and/or other materials provided with the distribution;
1312600Sodanrc@yahoo.com.br# neither the name of the copyright holders nor the names of its
1412600Sodanrc@yahoo.com.br# contributors may be used to endorse or promote products derived from
1512600Sodanrc@yahoo.com.br# this software without specific prior written permission.
1612600Sodanrc@yahoo.com.br#
1712600Sodanrc@yahoo.com.br# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1812600Sodanrc@yahoo.com.br# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1912600Sodanrc@yahoo.com.br# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2012600Sodanrc@yahoo.com.br# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2112600Sodanrc@yahoo.com.br# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2212600Sodanrc@yahoo.com.br# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2312600Sodanrc@yahoo.com.br# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2412600Sodanrc@yahoo.com.br# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2512600Sodanrc@yahoo.com.br# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2612600Sodanrc@yahoo.com.br# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2712600Sodanrc@yahoo.com.br# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2812600Sodanrc@yahoo.com.br#
2912600Sodanrc@yahoo.com.br# Authors: Nathan Binkert
3012600Sodanrc@yahoo.com.br
3112600Sodanrc@yahoo.com.brImport('*')
3212600Sodanrc@yahoo.com.br
3312600Sodanrc@yahoo.com.brSimObject('ClockedObject.py')
3412600Sodanrc@yahoo.com.brSimObject('TickedObject.py')
3512600Sodanrc@yahoo.com.brSimObject('Root.py')
3612600Sodanrc@yahoo.com.brSimObject('ClockDomain.py')
3712600Sodanrc@yahoo.com.brSimObject('VoltageDomain.py')
3812607Sodanrc@yahoo.com.brSimObject('System.py')
3912607Sodanrc@yahoo.com.brSimObject('DVFSHandler.py')
4012607Sodanrc@yahoo.com.brSimObject('SubSystem.py')
4112607Sodanrc@yahoo.com.br
4212607Sodanrc@yahoo.com.brSource('arguments.cc')
4312685Sodanrc@yahoo.com.brSource('async.cc')
4412685Sodanrc@yahoo.com.brSource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
4512685Sodanrc@yahoo.com.brSource('core.cc')
4612685Sodanrc@yahoo.com.brSource('tags.cc')
4712685Sodanrc@yahoo.com.brSource('cxx_config.cc')
4812628Sodanrc@yahoo.com.brSource('cxx_manager.cc')
4912628Sodanrc@yahoo.com.brSource('cxx_config_ini.cc')
5012628Sodanrc@yahoo.com.brSource('debug.cc')
5112628Sodanrc@yahoo.com.brSource('py_interact.cc', add_tags='python')
5212628Sodanrc@yahoo.com.brSource('eventq.cc')
5312600Sodanrc@yahoo.com.brSource('global_event.cc')
5412600Sodanrc@yahoo.com.brSource('init.cc', add_tags='python')
5512600Sodanrc@yahoo.com.brSource('init_signals.cc')
5612600Sodanrc@yahoo.com.brSource('main.cc', tags='main')
5712600Sodanrc@yahoo.com.brSource('root.cc')
5812634Sodanrc@yahoo.com.brSource('serialize.cc')
5912634Sodanrc@yahoo.com.brSource('drain.cc')
6012634Sodanrc@yahoo.com.brSource('sim_events.cc')
6112634Sodanrc@yahoo.com.brSource('sim_object.cc')
6212634Sodanrc@yahoo.com.brSource('sub_system.cc')
6312634Sodanrc@yahoo.com.brSource('ticked_object.cc')
6412635Sodanrc@yahoo.com.brSource('simulate.cc')
6512635Sodanrc@yahoo.com.brSource('stat_control.cc')
6612635Sodanrc@yahoo.com.brSource('stat_register.cc', add_tags='python')
6712601Sodanrc@yahoo.com.brSource('clock_domain.cc')
6812601Sodanrc@yahoo.com.brSource('voltage_domain.cc')
6912601Sodanrc@yahoo.com.brSource('se_signal.cc')
7012601Sodanrc@yahoo.com.brSource('linear_solver.cc')
7112601Sodanrc@yahoo.com.brSource('system.cc')
7212600Sodanrc@yahoo.com.brSource('dvfs_handler.cc')
7312600Sodanrc@yahoo.com.brSource('clocked_object.cc')
7412600Sodanrc@yahoo.com.brSource('mathexpr.cc')
7512600Sodanrc@yahoo.com.br
7612626Sodanrc@yahoo.com.brif env['TARGET_ISA'] != 'null':
7712626Sodanrc@yahoo.com.br    SimObject('InstTracer.py')
7812626Sodanrc@yahoo.com.br    SimObject('Process.py')
7912626Sodanrc@yahoo.com.br    Source('aux_vector.cc')
8012626Sodanrc@yahoo.com.br    Source('faults.cc')
8114211Sodanrc@yahoo.com.br    Source('process.cc')
8212626Sodanrc@yahoo.com.br    Source('fd_array.cc')
8312626Sodanrc@yahoo.com.br    Source('fd_entry.cc')
8412626Sodanrc@yahoo.com.br    Source('pseudo_inst.cc')
8512626Sodanrc@yahoo.com.br    Source('syscall_emul.cc')
8612627Sodanrc@yahoo.com.br    Source('syscall_desc.cc')
8712627Sodanrc@yahoo.com.br
8813849Sanis.peysieux@inria.frif env['TARGET_ISA'] != 'x86':
8912672Sodanrc@yahoo.com.br    Source('microcode_rom.cc')
9012672Sodanrc@yahoo.com.br
9113849Sanis.peysieux@inria.frDebugFlag('Checkpoint')
9214211Sodanrc@yahoo.com.brDebugFlag('Config')
9313221Sodanrc@yahoo.com.brDebugFlag('CxxConfig')
9413221Sodanrc@yahoo.com.brDebugFlag('Drain')
9513221Sodanrc@yahoo.com.brDebugFlag('Event')
9613221Sodanrc@yahoo.com.brDebugFlag('Fault')
9713221Sodanrc@yahoo.com.brDebugFlag('Flow')
9813221Sodanrc@yahoo.com.brDebugFlag('IPI')
99DebugFlag('IPR')
100DebugFlag('Interrupt')
101DebugFlag('Loader')
102DebugFlag('PseudoInst')
103DebugFlag('Stack')
104DebugFlag('SyscallBase')
105DebugFlag('SyscallVerbose')
106DebugFlag('TimeSync')
107DebugFlag('Thread')
108DebugFlag('Timer')
109DebugFlag('VtoPhys')
110DebugFlag('WorkItems')
111DebugFlag('ClockDomain')
112DebugFlag('VoltageDomain')
113DebugFlag('DVFS')
114
115CompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
116