SConscript revision 11527
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')
389302Snilay@cs.wisc.eduSimObject('System.py')
3911025Snilay@cs.wisc.eduSimObject('DVFSHandler.py')
407039Snate@binkert.orgSimObject('SubSystem.py')
4110086Snilay@cs.wisc.edu
4211025Snilay@cs.wisc.eduSource('arguments.cc')
436145Snate@binkert.orgSource('async.cc')
449507Snilay@cs.wisc.eduSource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
459499Snilay@cs.wisc.eduSource('core.cc')
467039Snate@binkert.orgSource('tags.cc')
477039Snate@binkert.orgSource('cxx_config.cc')
486145Snate@binkert.orgSource('cxx_manager.cc')
497039Snate@binkert.orgSource('cxx_config_ini.cc')
507039Snate@binkert.orgSource('debug.cc')
516145Snate@binkert.orgSource('py_interact.cc', skip_no_python=True)
526145Snate@binkert.orgSource('eventq.cc')
537039Snate@binkert.orgSource('global_event.cc')
547039Snate@binkert.orgSource('init.cc', skip_no_python=True)
556145Snate@binkert.orgSource('init_signals.cc')
567039Snate@binkert.orgSource('main.cc', main=True, skip_lib=True)
577039Snate@binkert.orgSource('root.cc')
586145Snate@binkert.orgSource('serialize.cc')
596145Snate@binkert.orgSource('drain.cc')
6010956SBrad.Beckmann@amd.comSource('sim_events.cc')
6111025Snilay@cs.wisc.eduSource('sim_object.cc')
6210956SBrad.Beckmann@amd.comSource('sub_system.cc')
6311025Snilay@cs.wisc.eduSource('ticked_object.cc')
6411025Snilay@cs.wisc.eduSource('simulate.cc')
656467Sdrh5@cs.wisc.eduSource('stat_control.cc')
666467Sdrh5@cs.wisc.eduSource('stat_register.cc', skip_no_python=True)
678131SLisa.Hsu@amd.comSource('clock_domain.cc')
688131SLisa.Hsu@amd.comSource('voltage_domain.cc')
698131SLisa.Hsu@amd.comSource('linear_solver.cc')
708131SLisa.Hsu@amd.comSource('system.cc')
718131SLisa.Hsu@amd.comSource('dvfs_handler.cc')
728131SLisa.Hsu@amd.comSource('clocked_object.cc')
739466Snilay@cs.wisc.eduSource('mathexpr.cc')
749466Snilay@cs.wisc.edu
759466Snilay@cs.wisc.eduif env['TARGET_ISA'] != 'null':
769466Snilay@cs.wisc.edu    SimObject('InstTracer.py')
779466Snilay@cs.wisc.edu    SimObject('Process.py')
789302Snilay@cs.wisc.edu    Source('faults.cc')
799302Snilay@cs.wisc.edu    Source('process.cc')
809302Snilay@cs.wisc.edu    Source('fd_entry.cc')
819302Snilay@cs.wisc.edu    Source('pseudo_inst.cc')
829302Snilay@cs.wisc.edu    Source('syscall_emul.cc')
839302Snilay@cs.wisc.edu
849302Snilay@cs.wisc.eduDebugFlag('Checkpoint')
8511025Snilay@cs.wisc.eduDebugFlag('Config')
869302Snilay@cs.wisc.eduDebugFlag('CxxConfig')
8711025Snilay@cs.wisc.eduDebugFlag('Drain')
8811025Snilay@cs.wisc.eduDebugFlag('Event')
899302Snilay@cs.wisc.eduDebugFlag('Fault')
909302Snilay@cs.wisc.eduDebugFlag('Flow')
9110562Sandreas.hansson@arm.comDebugFlag('IPI')
929302Snilay@cs.wisc.eduDebugFlag('IPR')
9311025Snilay@cs.wisc.eduDebugFlag('Interrupt')
949302Snilay@cs.wisc.eduDebugFlag('Loader')
959302Snilay@cs.wisc.eduDebugFlag('PseudoInst')
969302Snilay@cs.wisc.eduDebugFlag('Stack')
979302Snilay@cs.wisc.eduDebugFlag('SyscallBase')
989302Snilay@cs.wisc.eduDebugFlag('SyscallVerbose')
999302Snilay@cs.wisc.eduDebugFlag('TimeSync')
1009302Snilay@cs.wisc.eduDebugFlag('Thread')
1019302Snilay@cs.wisc.eduDebugFlag('Timer')
1029302Snilay@cs.wisc.eduDebugFlag('VtoPhys')
1039302Snilay@cs.wisc.eduDebugFlag('WorkItems')
1049302Snilay@cs.wisc.eduDebugFlag('ClockDomain')
1059302Snilay@cs.wisc.eduDebugFlag('VoltageDomain')
1069302Snilay@cs.wisc.eduDebugFlag('DVFS')
1079302Snilay@cs.wisc.edu
1089302Snilay@cs.wisc.eduCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
1099302Snilay@cs.wisc.edu