SConscript revision 12302
12155SN/A# -*- mode:python -*-
22155SN/A
32155SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42155SN/A# All rights reserved.
52155SN/A#
62155SN/A# Redistribution and use in source and binary forms, with or without
72155SN/A# modification, are permitted provided that the following conditions are
82155SN/A# met: redistributions of source code must retain the above copyright
92155SN/A# notice, this list of conditions and the following disclaimer;
102155SN/A# redistributions in binary form must reproduce the above copyright
112155SN/A# notice, this list of conditions and the following disclaimer in the
122155SN/A# documentation and/or other materials provided with the distribution;
132155SN/A# neither the name of the copyright holders nor the names of its
142155SN/A# contributors may be used to endorse or promote products derived from
152155SN/A# this software without specific prior written permission.
162155SN/A#
172155SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182155SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192155SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202155SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212155SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222155SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232155SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242155SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252155SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262155SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272155SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302155SN/A
314202Sbinkertn@umich.eduImport('*')
322155SN/A
339850Sandreas.hansson@arm.comSimObject('ClockedObject.py')
349850Sandreas.hansson@arm.comSimObject('TickedObject.py')
359850Sandreas.hansson@arm.comSimObject('Root.py')
367768SAli.Saidi@ARM.comSimObject('ClockDomain.py')
377768SAli.Saidi@ARM.comSimObject('VoltageDomain.py')
382178SN/ASimObject('System.py')
392178SN/ASimObject('DVFSHandler.py')
402178SN/ASimObject('SubSystem.py')
412178SN/A
422178SN/ASource('arguments.cc')
432178SN/ASource('async.cc')
442178SN/ASource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
452178SN/ASource('core.cc')
462178SN/ASource('tags.cc')
472178SN/ASource('cxx_config.cc')
482178SN/ASource('cxx_manager.cc')
492155SN/ASource('cxx_config_ini.cc')
505865Sksewell@umich.eduSource('debug.cc')
516181Sksewell@umich.eduSource('py_interact.cc', add_tags='python')
526181Sksewell@umich.eduSource('eventq.cc')
535865Sksewell@umich.eduSource('global_event.cc')
543918Ssaidi@eecs.umich.eduSource('init.cc', add_tags='python')
555865Sksewell@umich.eduSource('init_signals.cc')
562623SN/ASource('main.cc', tags='main')
573918Ssaidi@eecs.umich.eduSource('root.cc')
582155SN/ASource('serialize.cc')
592155SN/ASource('drain.cc')
602292SN/ASource('sim_events.cc')
616181Sksewell@umich.eduSource('sim_object.cc')
626181Sksewell@umich.eduSource('sub_system.cc')
633918Ssaidi@eecs.umich.eduSource('ticked_object.cc')
642292SN/ASource('simulate.cc')
652292SN/ASource('stat_control.cc')
662292SN/ASource('stat_register.cc', add_tags='python')
673918Ssaidi@eecs.umich.eduSource('clock_domain.cc')
682292SN/ASource('voltage_domain.cc')
692292SN/ASource('se_signal.cc')
702766Sktlim@umich.eduSource('linear_solver.cc')
712766Sktlim@umich.eduSource('system.cc')
722766Sktlim@umich.eduSource('dvfs_handler.cc')
732921Sktlim@umich.eduSource('clocked_object.cc')
748887Sgeoffrey.blake@arm.comSource('mathexpr.cc')
758887Sgeoffrey.blake@arm.com
762766Sktlim@umich.eduif env['TARGET_ISA'] != 'null':
774762Snate@binkert.org    SimObject('InstTracer.py')
782155SN/A    SimObject('Process.py')
792155SN/A    Source('aux_vector.cc')
802155SN/A    Source('faults.cc')
812155SN/A    Source('process.cc')
822155SN/A    Source('fd_array.cc')
832155SN/A    Source('fd_entry.cc')
842766Sktlim@umich.edu    Source('pseudo_inst.cc')
852155SN/A    Source('syscall_emul.cc')
865865Sksewell@umich.edu    Source('syscall_desc.cc')
872155SN/A
882155SN/Aif env['TARGET_ISA'] != 'x86':
892155SN/A    Source('microcode_rom.cc')
902155SN/A
912178SN/ADebugFlag('Checkpoint')
922178SN/ADebugFlag('Config')
937756SAli.Saidi@ARM.comDebugFlag('CxxConfig')
942766Sktlim@umich.eduDebugFlag('Drain')
952178SN/ADebugFlag('Event')
962178SN/ADebugFlag('Fault')
976994Snate@binkert.orgDebugFlag('Flow')
982178SN/ADebugFlag('IPI')
992766Sktlim@umich.eduDebugFlag('IPR')
1002766Sktlim@umich.eduDebugFlag('Interrupt')
1012788Sktlim@umich.eduDebugFlag('Loader')
1022178SN/ADebugFlag('PseudoInst')
1034486Sbinkertn@umich.eduDebugFlag('Stack')
1044486Sbinkertn@umich.eduDebugFlag('SyscallBase')
1054776Sgblack@eecs.umich.eduDebugFlag('SyscallVerbose')
1064776Sgblack@eecs.umich.eduDebugFlag('TimeSync')
1078739Sgblack@eecs.umich.eduDebugFlag('Thread')
1086365Sgblack@eecs.umich.eduDebugFlag('Timer')
1094486Sbinkertn@umich.eduDebugFlag('VtoPhys')
1104202Sbinkertn@umich.eduDebugFlag('WorkItems')
1114202Sbinkertn@umich.eduDebugFlag('ClockDomain')
1124202Sbinkertn@umich.eduDebugFlag('VoltageDomain')
1134202Sbinkertn@umich.eduDebugFlag('DVFS')
1144202Sbinkertn@umich.edu
1154776Sgblack@eecs.umich.eduCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
1168739Sgblack@eecs.umich.edu