SConscript revision 11527
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')
515865Sksewell@umich.eduSource('py_interact.cc', skip_no_python=True)
526181Sksewell@umich.eduSource('eventq.cc')
536181Sksewell@umich.eduSource('global_event.cc')
545865Sksewell@umich.eduSource('init.cc', skip_no_python=True)
553918Ssaidi@eecs.umich.eduSource('init_signals.cc')
565865Sksewell@umich.eduSource('main.cc', main=True, skip_lib=True)
572623SN/ASource('root.cc')
583918Ssaidi@eecs.umich.eduSource('serialize.cc')
592155SN/ASource('drain.cc')
602155SN/ASource('sim_events.cc')
612292SN/ASource('sim_object.cc')
626181Sksewell@umich.eduSource('sub_system.cc')
636181Sksewell@umich.eduSource('ticked_object.cc')
643918Ssaidi@eecs.umich.eduSource('simulate.cc')
652292SN/ASource('stat_control.cc')
662292SN/ASource('stat_register.cc', skip_no_python=True)
672292SN/ASource('clock_domain.cc')
683918Ssaidi@eecs.umich.eduSource('voltage_domain.cc')
692292SN/ASource('linear_solver.cc')
702292SN/ASource('system.cc')
712766Sktlim@umich.eduSource('dvfs_handler.cc')
722766Sktlim@umich.eduSource('clocked_object.cc')
732766Sktlim@umich.eduSource('mathexpr.cc')
742921Sktlim@umich.edu
752921Sktlim@umich.eduif env['TARGET_ISA'] != 'null':
762766Sktlim@umich.edu    SimObject('InstTracer.py')
772766Sktlim@umich.edu    SimObject('Process.py')
785529Snate@binkert.org    Source('faults.cc')
792766Sktlim@umich.edu    Source('process.cc')
804762Snate@binkert.org    Source('fd_entry.cc')
812155SN/A    Source('pseudo_inst.cc')
822155SN/A    Source('syscall_emul.cc')
832155SN/A
842155SN/ADebugFlag('Checkpoint')
852155SN/ADebugFlag('Config')
862155SN/ADebugFlag('CxxConfig')
872766Sktlim@umich.eduDebugFlag('Drain')
882155SN/ADebugFlag('Event')
895865Sksewell@umich.eduDebugFlag('Fault')
902155SN/ADebugFlag('Flow')
912155SN/ADebugFlag('IPI')
922155SN/ADebugFlag('IPR')
932155SN/ADebugFlag('Interrupt')
942178SN/ADebugFlag('Loader')
952178SN/ADebugFlag('PseudoInst')
962178SN/ADebugFlag('Stack')
972766Sktlim@umich.eduDebugFlag('SyscallBase')
982178SN/ADebugFlag('SyscallVerbose')
992178SN/ADebugFlag('TimeSync')
1002178SN/ADebugFlag('Thread')
1012178SN/ADebugFlag('Timer')
1022766Sktlim@umich.eduDebugFlag('VtoPhys')
1032766Sktlim@umich.eduDebugFlag('WorkItems')
1042766Sktlim@umich.eduDebugFlag('ClockDomain')
1052788Sktlim@umich.eduDebugFlag('VoltageDomain')
1062178SN/ADebugFlag('DVFS')
1072733Sktlim@umich.edu
1082733Sktlim@umich.eduCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
1092817Sksewell@umich.edu