SConscript revision 11424:e07fd01651f3
14486SN/A# -*- mode:python -*-
24486SN/A
34486SN/A# Copyright (c) 2006 The Regents of The University of Michigan
44486SN/A# All rights reserved.
54486SN/A#
64486SN/A# Redistribution and use in source and binary forms, with or without
74486SN/A# modification, are permitted provided that the following conditions are
84486SN/A# met: redistributions of source code must retain the above copyright
94486SN/A# notice, this list of conditions and the following disclaimer;
104486SN/A# redistributions in binary form must reproduce the above copyright
114486SN/A# notice, this list of conditions and the following disclaimer in the
124486SN/A# documentation and/or other materials provided with the distribution;
134486SN/A# neither the name of the copyright holders nor the names of its
144486SN/A# contributors may be used to endorse or promote products derived from
154486SN/A# this software without specific prior written permission.
164486SN/A#
174486SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
184486SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
194486SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
204486SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
214486SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
224486SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
234486SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
244486SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
254486SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
264486SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
274486SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
284486SN/A#
295034SN/A# Authors: Nathan Binkert
303102SN/A
313187SN/AImport('*')
323187SN/A
335034SN/ASimObject('ClockedObject.py')
341366SN/ASimObject('TickedObject.py')
354893SN/ASimObject('Root.py')
363262SN/ASimObject('ClockDomain.py')
371310SN/ASimObject('VoltageDomain.py')
381310SN/ASimObject('System.py')
391310SN/ASimObject('DVFSHandler.py')
401310SN/ASimObject('SubSystem.py')
417544SN/A
421310SN/ASource('arguments.cc')
431310SN/ASource('async.cc')
443342SN/ASource('backtrace_%s.cc' % env['BACKTRACE_IMPL'])
451310SN/ASource('core.cc')
461310SN/ASource('tags.cc')
471310SN/ASource('cxx_config.cc')
481310SN/ASource('cxx_manager.cc')
491310SN/ASource('cxx_config_ini.cc')
503187SN/ASource('debug.cc')
513187SN/ASource('py_interact.cc', skip_no_python=True)
523187SN/ASource('eventq.cc')
538436SBrad.Beckmann@amd.comSource('global_event.cc')
548436SBrad.Beckmann@amd.comSource('init.cc', skip_no_python=True)
558832SAli.Saidi@ARM.comSource('init_signals.cc')
568832SAli.Saidi@ARM.comSource('main.cc', main=True, skip_lib=True)
57Source('root.cc')
58Source('serialize.cc')
59Source('drain.cc')
60Source('sim_events.cc')
61Source('sim_object.cc')
62Source('sub_system.cc')
63Source('ticked_object.cc')
64Source('simulate.cc')
65Source('stat_control.cc')
66Source('stat_register.cc', skip_no_python=True)
67Source('clock_domain.cc')
68Source('voltage_domain.cc')
69Source('linear_solver.cc')
70Source('system.cc')
71Source('dvfs_handler.cc')
72Source('clocked_object.cc')
73Source('mathexpr.cc')
74
75if env['TARGET_ISA'] != 'null':
76    SimObject('InstTracer.py')
77    SimObject('Process.py')
78    Source('faults.cc')
79    Source('process.cc')
80    Source('fd_entry.cc')
81    Source('pseudo_inst.cc')
82    Source('syscall_emul.cc')
83
84DebugFlag('Checkpoint')
85DebugFlag('Config')
86DebugFlag('CxxConfig')
87DebugFlag('Drain')
88DebugFlag('Event')
89DebugFlag('Fault')
90DebugFlag('Flow')
91DebugFlag('IPI')
92DebugFlag('IPR')
93DebugFlag('Interrupt')
94DebugFlag('Loader')
95DebugFlag('PseudoInst')
96DebugFlag('Stack')
97DebugFlag('SyscallBase')
98DebugFlag('SyscallVerbose')
99DebugFlag('TimeSync')
100DebugFlag('Thread')
101DebugFlag('Timer')
102DebugFlag('VtoPhys')
103DebugFlag('WorkItems')
104DebugFlag('ClockDomain')
105DebugFlag('VoltageDomain')
106DebugFlag('DVFS')
107
108CompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose'])
109