SConscript revision 10268
113771Sgabeblack@google.com# -*- mode:python -*-
213771Sgabeblack@google.com
313771Sgabeblack@google.com# Copyright (c) 2006 The Regents of The University of Michigan
413771Sgabeblack@google.com# All rights reserved.
513771Sgabeblack@google.com#
613771Sgabeblack@google.com# Redistribution and use in source and binary forms, with or without
713771Sgabeblack@google.com# modification, are permitted provided that the following conditions are
813771Sgabeblack@google.com# met: redistributions of source code must retain the above copyright
913771Sgabeblack@google.com# notice, this list of conditions and the following disclaimer;
1013771Sgabeblack@google.com# redistributions in binary form must reproduce the above copyright
1113771Sgabeblack@google.com# notice, this list of conditions and the following disclaimer in the
1213771Sgabeblack@google.com# documentation and/or other materials provided with the distribution;
1313771Sgabeblack@google.com# neither the name of the copyright holders nor the names of its
1413771Sgabeblack@google.com# contributors may be used to endorse or promote products derived from
1513771Sgabeblack@google.com# this software without specific prior written permission.
1613771Sgabeblack@google.com#
1713771Sgabeblack@google.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1813771Sgabeblack@google.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1913771Sgabeblack@google.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2013771Sgabeblack@google.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2113771Sgabeblack@google.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2213771Sgabeblack@google.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2313771Sgabeblack@google.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2413771Sgabeblack@google.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2513771Sgabeblack@google.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2613771Sgabeblack@google.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2713771Sgabeblack@google.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2813771Sgabeblack@google.com#
2913771Sgabeblack@google.com# Authors: Nathan Binkert
3013771Sgabeblack@google.com
3113771Sgabeblack@google.comImport('*')
3213771Sgabeblack@google.com
3313771Sgabeblack@google.comSimObject('BaseTLB.py')
3413771Sgabeblack@google.comSimObject('ClockedObject.py')
3513771Sgabeblack@google.comSimObject('TickedObject.py')
3613771Sgabeblack@google.comSimObject('Root.py')
3713771Sgabeblack@google.comSimObject('ClockDomain.py')
3813771Sgabeblack@google.comSimObject('VoltageDomain.py')
3913771Sgabeblack@google.comSimObject('System.py')
4013771Sgabeblack@google.comSimObject('DVFSHandler.py')
4113771Sgabeblack@google.comSimObject('SubSystem.py')
4213771Sgabeblack@google.com
4313771Sgabeblack@google.comSource('arguments.cc')
4413771Sgabeblack@google.comSource('async.cc')
4513771Sgabeblack@google.comSource('core.cc')
4613771Sgabeblack@google.comSource('debug.cc')
4713771Sgabeblack@google.comSource('eventq.cc')
4813771Sgabeblack@google.comSource('global_event.cc')
4913771Sgabeblack@google.comSource('init.cc')
5013771Sgabeblack@google.comSource('main.cc', main=True, skip_lib=True)
5113771Sgabeblack@google.comSource('root.cc')
5213771Sgabeblack@google.comSource('serialize.cc')
5313771Sgabeblack@google.comSource('drain.cc')
54Source('sim_events.cc')
55Source('sim_object.cc')
56Source('sub_system.cc')
57Source('ticked_object.cc')
58Source('simulate.cc')
59Source('stat_control.cc')
60Source('clock_domain.cc')
61Source('voltage_domain.cc')
62Source('system.cc')
63Source('dvfs_handler.cc')
64
65if env['TARGET_ISA'] != 'null':
66    SimObject('InstTracer.py')
67    SimObject('Process.py')
68    Source('faults.cc')
69    Source('process.cc')
70    Source('pseudo_inst.cc')
71    Source('syscall_emul.cc')
72    Source('tlb.cc')
73
74DebugFlag('Checkpoint')
75DebugFlag('Config')
76DebugFlag('Drain')
77DebugFlag('Event')
78DebugFlag('Fault')
79DebugFlag('Flow')
80DebugFlag('IPI')
81DebugFlag('IPR')
82DebugFlag('Interrupt')
83DebugFlag('Loader')
84DebugFlag('PseudoInst')
85DebugFlag('Stack')
86DebugFlag('SyscallVerbose')
87DebugFlag('TimeSync')
88DebugFlag('TLB')
89DebugFlag('Thread')
90DebugFlag('Timer')
91DebugFlag('VtoPhys')
92DebugFlag('WorkItems')
93DebugFlag('ClockDomain')
94DebugFlag('VoltageDomain')
95DebugFlag('DVFS')
96