SConscript revision 13771
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
332178SN/ASimObject('ClockedObject.py')
342178SN/ASimObject('TickedObject.py')
352178SN/ASimObject('Root.py')
362178SN/ASimObject('ClockDomain.py')
372178SN/ASimObject('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'])
452155SN/ASource('core.cc')
462178SN/ASource('tags.cc')
472155SN/ASource('cxx_config.cc')
482155SN/ASource('cxx_manager.cc')
492178SN/ASource('cxx_config_ini.cc')
502155SN/ASource('debug.cc')
512155SN/ASource('py_interact.cc', add_tags='python')
522623SN/ASource('eventq.cc')
533918Ssaidi@eecs.umich.eduSource('global_event.cc')
542623SN/ASource('init.cc', add_tags='python')
552623SN/ASource('init_signals.cc')
563918Ssaidi@eecs.umich.eduSource('main.cc', tags='main')
572155SN/ASource('port.cc')
582155SN/ASource('root.cc')
592292SN/ASource('serialize.cc')
603918Ssaidi@eecs.umich.eduSource('drain.cc')
612292SN/ASource('sim_events.cc')
622292SN/ASource('sim_object.cc')
632292SN/ASource('sub_system.cc')
643918Ssaidi@eecs.umich.eduSource('ticked_object.cc')
652292SN/ASource('simulate.cc')
662292SN/ASource('stat_control.cc')
672766Sktlim@umich.eduSource('stat_register.cc', add_tags='python')
682766Sktlim@umich.eduSource('clock_domain.cc')
692766Sktlim@umich.eduSource('voltage_domain.cc')
702921Sktlim@umich.eduSource('se_signal.cc')
712921Sktlim@umich.eduSource('linear_solver.cc')
722766Sktlim@umich.eduSource('system.cc')
732766Sktlim@umich.eduSource('dvfs_handler.cc')
742766Sktlim@umich.eduSource('clocked_object.cc')
752178SN/ASource('mathexpr.cc')
762155SN/A
772155SN/Aif env['TARGET_ISA'] != 'null':
782155SN/A    SimObject('InstTracer.py')
792155SN/A    SimObject('Process.py')
802155SN/A    Source('aux_vector.cc')
812155SN/A    Source('faults.cc')
822766Sktlim@umich.edu    Source('process.cc')
832155SN/A    Source('fd_array.cc')
842623SN/A    Source('fd_entry.cc')
852155SN/A    Source('pseudo_inst.cc')
862155SN/A    Source('syscall_emul.cc')
872155SN/A    Source('syscall_desc.cc')
882155SN/A
892178SN/Aif env['TARGET_ISA'] != 'x86':
902178SN/A    Source('microcode_rom.cc')
912178SN/A
922766Sktlim@umich.eduDebugFlag('Checkpoint')
932178SN/ADebugFlag('Config')
942178SN/ADebugFlag('CxxConfig')
952178SN/ADebugFlag('Drain')
962178SN/ADebugFlag('Event')
972766Sktlim@umich.eduDebugFlag('Fault')
982766Sktlim@umich.eduDebugFlag('Flow')
992766Sktlim@umich.eduDebugFlag('IPI')
1002788Sktlim@umich.eduDebugFlag('IPR')
1012178SN/ADebugFlag('Interrupt')
1022733Sktlim@umich.eduDebugFlag('Loader')
1032733Sktlim@umich.eduDebugFlag('PseudoInst')
1042817Sksewell@umich.eduDebugFlag('Stack')
1052733Sktlim@umich.eduDebugFlag('SyscallBase')
1064202Sbinkertn@umich.eduDebugFlag('SyscallVerbose')
1074202Sbinkertn@umich.eduDebugFlag('TimeSync')
1084202Sbinkertn@umich.eduDebugFlag('Thread')
1094202Sbinkertn@umich.eduDebugFlag('Timer')
1104202Sbinkertn@umich.eduDebugFlag('VtoPhys')
1114202Sbinkertn@umich.eduDebugFlag('WorkItems')
1124202Sbinkertn@umich.eduDebugFlag('ClockDomain')
1134202Sbinkertn@umich.eduDebugFlag('VoltageDomain')
1144202Sbinkertn@umich.eduDebugFlag('DVFS')
1154202Sbinkertn@umich.edu
1164202Sbinkertn@umich.eduCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
1172155SN/A