SConscript revision 13898
16145Snate@binkert.org# -*- mode:python -*-
26145Snate@binkert.org
36145Snate@binkert.org# Copyright (c) 2006 The Regents of The University of Michigan
46145Snate@binkert.org# All rights reserved.
56145Snate@binkert.org#
66145Snate@binkert.org# Redistribution and use in source and binary forms, with or without
76145Snate@binkert.org# modification, are permitted provided that the following conditions are
86145Snate@binkert.org# met: redistributions of source code must retain the above copyright
96145Snate@binkert.org# notice, this list of conditions and the following disclaimer;
106145Snate@binkert.org# redistributions in binary form must reproduce the above copyright
116145Snate@binkert.org# notice, this list of conditions and the following disclaimer in the
126145Snate@binkert.org# documentation and/or other materials provided with the distribution;
136145Snate@binkert.org# neither the name of the copyright holders nor the names of its
146145Snate@binkert.org# contributors may be used to endorse or promote products derived from
156145Snate@binkert.org# this software without specific prior written permission.
166145Snate@binkert.org#
176145Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
186145Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
196145Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
206145Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
216145Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
226145Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
236145Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
246145Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
256145Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
266145Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
276145Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
286145Snate@binkert.org#
296145Snate@binkert.org# Authors: Nathan Binkert
307039Snate@binkert.org
316145Snate@binkert.orgImport('*')
326145Snate@binkert.org
337039Snate@binkert.orgSimObject('ClockedObject.py')
347039Snate@binkert.orgSimObject('TickedObject.py')
356145Snate@binkert.orgSimObject('Root.py')
367832Snate@binkert.orgSimObject('ClockDomain.py')
377832Snate@binkert.orgSimObject('VoltageDomain.py')
387039Snate@binkert.orgSimObject('System.py')
397039Snate@binkert.orgSimObject('DVFSHandler.py')
407039Snate@binkert.orgSimObject('SubSystem.py')
417039Snate@binkert.orgSimObject('RedirectPath.py')
427039Snate@binkert.org
437039Snate@binkert.orgSource('arguments.cc')
447039Snate@binkert.orgSource('async.cc')
457039Snate@binkert.orgSource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
467039Snate@binkert.orgSource('core.cc')
477039Snate@binkert.orgSource('tags.cc')
486154Snate@binkert.orgSource('cxx_config.cc')
497039Snate@binkert.orgSource('cxx_manager.cc')
507039Snate@binkert.orgSource('cxx_config_ini.cc')
517039Snate@binkert.orgSource('debug.cc')
526154Snate@binkert.orgSource('py_interact.cc', add_tags='python')
536285Snate@binkert.orgSource('eventq.cc')
546145Snate@binkert.orgSource('global_event.cc')
556145Snate@binkert.orgSource('init.cc', add_tags='python')
566145Snate@binkert.orgSource('init_signals.cc')
576145Snate@binkert.orgSource('main.cc', tags='main')
587039Snate@binkert.orgSource('port.cc')
597039Snate@binkert.orgSource('python.cc', add_tags='python')
606145Snate@binkert.orgSource('redirect_path.cc')
616145Snate@binkert.orgSource('root.cc')
626145Snate@binkert.orgSource('serialize.cc')
636145Snate@binkert.orgSource('drain.cc')
647039Snate@binkert.orgSource('sim_events.cc')
657039Snate@binkert.orgSource('sim_object.cc')
666145Snate@binkert.orgSource('sub_system.cc')
677039Snate@binkert.orgSource('ticked_object.cc')
687039Snate@binkert.orgSource('simulate.cc')
697039Snate@binkert.orgSource('stat_control.cc')
707039Snate@binkert.orgSource('stat_register.cc', add_tags='python')
717039Snate@binkert.orgSource('clock_domain.cc')
726145Snate@binkert.orgSource('voltage_domain.cc')
736145Snate@binkert.orgSource('se_signal.cc')
747039Snate@binkert.orgSource('linear_solver.cc')
757039Snate@binkert.orgSource('system.cc')
766145Snate@binkert.orgSource('dvfs_handler.cc')
777039Snate@binkert.orgSource('clocked_object.cc')
786145Snate@binkert.orgSource('mathexpr.cc')
796145Snate@binkert.org
807039Snate@binkert.orgif env['TARGET_ISA'] != 'null':
817039Snate@binkert.org    SimObject('InstTracer.py')
826145Snate@binkert.org    SimObject('Process.py')
837039Snate@binkert.org    Source('faults.cc')
846145Snate@binkert.org    Source('process.cc')
856145Snate@binkert.org    Source('fd_array.cc')
867039Snate@binkert.org    Source('fd_entry.cc')
877039Snate@binkert.org    Source('pseudo_inst.cc')
886145Snate@binkert.org    Source('syscall_emul.cc')
897039Snate@binkert.org    Source('syscall_desc.cc')
906145Snate@binkert.org
916145Snate@binkert.orgif env['TARGET_ISA'] != 'x86':
927039Snate@binkert.org    Source('microcode_rom.cc')
937039Snate@binkert.org
946145Snate@binkert.orgDebugFlag('Checkpoint')
957039Snate@binkert.orgDebugFlag('Config')
967039Snate@binkert.orgDebugFlag('CxxConfig')
976145Snate@binkert.orgDebugFlag('Drain')
986145Snate@binkert.orgDebugFlag('Event')
997039Snate@binkert.orgDebugFlag('Fault')
1007039Snate@binkert.orgDebugFlag('Flow')
1016145Snate@binkert.orgDebugFlag('IPI')
1027039Snate@binkert.orgDebugFlag('IPR')
1037039Snate@binkert.orgDebugFlag('Interrupt')
1046145Snate@binkert.orgDebugFlag('Loader')
1056145Snate@binkert.orgDebugFlag('PseudoInst')
1067039Snate@binkert.orgDebugFlag('Stack')
1077039Snate@binkert.orgDebugFlag('SyscallBase')
1086145Snate@binkert.orgDebugFlag('SyscallVerbose')
1097039Snate@binkert.orgDebugFlag('TimeSync')
1106145Snate@binkert.orgDebugFlag('Thread')
1116145Snate@binkert.orgDebugFlag('Timer')
1127039Snate@binkert.orgDebugFlag('VtoPhys')
1137039Snate@binkert.orgDebugFlag('WorkItems')
1146145Snate@binkert.orgDebugFlag('ClockDomain')
1157039Snate@binkert.orgDebugFlag('VoltageDomain')
1166145Snate@binkert.orgDebugFlag('DVFS')
1176145Snate@binkert.org
1187039Snate@binkert.orgCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
1197039Snate@binkert.org