SConscript revision 10458
12023SN/A# -*- mode:python -*-
22023SN/A
32023SN/A# Copyright (c) 2006 The Regents of The University of Michigan
42023SN/A# All rights reserved.
52023SN/A#
62023SN/A# Redistribution and use in source and binary forms, with or without
72023SN/A# modification, are permitted provided that the following conditions are
82023SN/A# met: redistributions of source code must retain the above copyright
92023SN/A# notice, this list of conditions and the following disclaimer;
102023SN/A# redistributions in binary form must reproduce the above copyright
112023SN/A# notice, this list of conditions and the following disclaimer in the
122023SN/A# documentation and/or other materials provided with the distribution;
132023SN/A# neither the name of the copyright holders nor the names of its
142023SN/A# contributors may be used to endorse or promote products derived from
152023SN/A# this software without specific prior written permission.
162023SN/A#
172023SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
182023SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
192023SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
202023SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
212023SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
222023SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
232023SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
242023SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
252023SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
262023SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
272023SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
292665Ssaidi@eecs.umich.edu# Authors: Nathan Binkert
302665Ssaidi@eecs.umich.edu
312023SN/AImport('*')
324202Sbinkertn@umich.edu
332023SN/ASimObject('BaseTLB.py')
344202Sbinkertn@umich.eduSimObject('ClockedObject.py')
354997Sgblack@eecs.umich.eduSimObject('TickedObject.py')
364202Sbinkertn@umich.eduSimObject('Root.py')
374202Sbinkertn@umich.eduSimObject('ClockDomain.py')
384202Sbinkertn@umich.eduSimObject('VoltageDomain.py')
394997Sgblack@eecs.umich.eduSimObject('System.py')
406313Sgblack@eecs.umich.eduSimObject('DVFSHandler.py')
414202Sbinkertn@umich.eduSimObject('SubSystem.py')
424997Sgblack@eecs.umich.edu
434202Sbinkertn@umich.eduSource('arguments.cc')
444202Sbinkertn@umich.eduSource('async.cc')
454997Sgblack@eecs.umich.eduSource('core.cc')
464826Ssaidi@eecs.umich.eduSource('cxx_config.cc')
472023SN/ASource('cxx_manager.cc')
484997Sgblack@eecs.umich.eduSource('cxx_config_ini.cc')
494997Sgblack@eecs.umich.eduSource('debug.cc')
504202Sbinkertn@umich.eduSource('py_interact.cc', skip_no_python=True)
515647Sgblack@eecs.umich.eduSource('eventq.cc')
524486Sbinkertn@umich.eduSource('global_event.cc')
534486Sbinkertn@umich.eduSource('init.cc', skip_no_python=True)
544202Sbinkertn@umich.eduSource('init_signals.cc')
555647Sgblack@eecs.umich.eduSource('main.cc', main=True, skip_lib=True)
564202Sbinkertn@umich.eduSource('root.cc')
574202Sbinkertn@umich.eduSource('serialize.cc')
584202Sbinkertn@umich.eduSource('drain.cc')
594202Sbinkertn@umich.eduSource('sim_events.cc')
604202Sbinkertn@umich.eduSource('sim_object.cc')
612023SN/ASource('sub_system.cc')
624202Sbinkertn@umich.eduSource('ticked_object.cc')
634202Sbinkertn@umich.eduSource('simulate.cc')
644202Sbinkertn@umich.eduSource('stat_control.cc')
652023SN/ASource('stat_register.cc', skip_no_python=True)
664202Sbinkertn@umich.eduSource('clock_domain.cc')
674202Sbinkertn@umich.eduSource('voltage_domain.cc')
682023SN/ASource('system.cc')
694202Sbinkertn@umich.eduSource('dvfs_handler.cc')
704202Sbinkertn@umich.edu
712023SN/Aif env['TARGET_ISA'] != 'null':
724202Sbinkertn@umich.edu    SimObject('InstTracer.py')
734202Sbinkertn@umich.edu    SimObject('Process.py')
742023SN/A    Source('faults.cc')
754202Sbinkertn@umich.edu    Source('process.cc')
764202Sbinkertn@umich.edu    Source('pseudo_inst.cc')
774202Sbinkertn@umich.edu    Source('syscall_emul.cc')
784202Sbinkertn@umich.edu    Source('tlb.cc')
794202Sbinkertn@umich.edu
804202Sbinkertn@umich.eduDebugFlag('Checkpoint')
81DebugFlag('Config')
82DebugFlag('CxxConfig')
83DebugFlag('Drain')
84DebugFlag('Event')
85DebugFlag('Fault')
86DebugFlag('Flow')
87DebugFlag('IPI')
88DebugFlag('IPR')
89DebugFlag('Interrupt')
90DebugFlag('Loader')
91DebugFlag('PseudoInst')
92DebugFlag('Stack')
93DebugFlag('SyscallVerbose')
94DebugFlag('TimeSync')
95DebugFlag('TLB')
96DebugFlag('Thread')
97DebugFlag('Timer')
98DebugFlag('VtoPhys')
99DebugFlag('WorkItems')
100DebugFlag('ClockDomain')
101DebugFlag('VoltageDomain')
102DebugFlag('DVFS')
103