SConscript revision 10249
1955SN/A# -*- mode:python -*-
2955SN/A
31762SN/A# Copyright (c) 2006 The Regents of The University of Michigan
4955SN/A# All rights reserved.
5955SN/A#
6955SN/A# Redistribution and use in source and binary forms, with or without
7955SN/A# modification, are permitted provided that the following conditions are
8955SN/A# met: redistributions of source code must retain the above copyright
9955SN/A# notice, this list of conditions and the following disclaimer;
10955SN/A# redistributions in binary form must reproduce the above copyright
11955SN/A# notice, this list of conditions and the following disclaimer in the
12955SN/A# documentation and/or other materials provided with the distribution;
13955SN/A# neither the name of the copyright holders nor the names of its
14955SN/A# contributors may be used to endorse or promote products derived from
15955SN/A# this software without specific prior written permission.
16955SN/A#
17955SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18955SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19955SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20955SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21955SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22955SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23955SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24955SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25955SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26955SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27955SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
282665Ssaidi@eecs.umich.edu#
294762Snate@binkert.org# Authors: Nathan Binkert
30955SN/A
315522Snate@binkert.orgImport('*')
326143Snate@binkert.org
334762Snate@binkert.orgSimObject('BaseTLB.py')
345522Snate@binkert.orgSimObject('ClockedObject.py')
35955SN/ASimObject('Root.py')
365522Snate@binkert.orgSimObject('ClockDomain.py')
3711974Sgabeblack@google.comSimObject('VoltageDomain.py')
38955SN/ASimObject('System.py')
395522Snate@binkert.orgSimObject('DVFSHandler.py')
404202Sbinkertn@umich.edu
415742Snate@binkert.orgSource('arguments.cc')
42955SN/ASource('async.cc')
434381Sbinkertn@umich.eduSource('core.cc')
444381Sbinkertn@umich.eduSource('debug.cc')
4512246Sgabeblack@google.comSource('eventq.cc')
4612246Sgabeblack@google.comSource('global_event.cc')
478334Snate@binkert.orgSource('init.cc')
48955SN/ASource('main.cc', main=True, skip_lib=True)
49955SN/ASource('root.cc')
504202Sbinkertn@umich.eduSource('serialize.cc')
51955SN/ASource('drain.cc')
524382Sbinkertn@umich.eduSource('sim_events.cc')
534382Sbinkertn@umich.eduSource('sim_object.cc')
544382Sbinkertn@umich.eduSource('simulate.cc')
556654Snate@binkert.orgSource('stat_control.cc')
565517Snate@binkert.orgSource('clock_domain.cc')
578614Sgblack@eecs.umich.eduSource('voltage_domain.cc')
587674Snate@binkert.orgSource('system.cc')
596143Snate@binkert.orgSource('dvfs_handler.cc')
606143Snate@binkert.org
616143Snate@binkert.orgif env['TARGET_ISA'] != 'null':
628233Snate@binkert.org    SimObject('InstTracer.py')
638233Snate@binkert.org    SimObject('Process.py')
648233Snate@binkert.org    Source('faults.cc')
658233Snate@binkert.org    Source('process.cc')
668233Snate@binkert.org    Source('pseudo_inst.cc')
678334Snate@binkert.org    Source('syscall_emul.cc')
688334Snate@binkert.org    Source('tlb.cc')
6910453SAndrew.Bardsley@arm.com
7010453SAndrew.Bardsley@arm.comDebugFlag('Checkpoint')
718233Snate@binkert.orgDebugFlag('Config')
728233Snate@binkert.orgDebugFlag('Drain')
738233Snate@binkert.orgDebugFlag('Event')
748233Snate@binkert.orgDebugFlag('Fault')
758233Snate@binkert.orgDebugFlag('Flow')
768233Snate@binkert.orgDebugFlag('IPI')
7711983Sgabeblack@google.comDebugFlag('IPR')
7811983Sgabeblack@google.comDebugFlag('Interrupt')
7911983Sgabeblack@google.comDebugFlag('Loader')
8011983Sgabeblack@google.comDebugFlag('PseudoInst')
8111983Sgabeblack@google.comDebugFlag('Stack')
8211983Sgabeblack@google.comDebugFlag('SyscallVerbose')
8311983Sgabeblack@google.comDebugFlag('TimeSync')
8411983Sgabeblack@google.comDebugFlag('TLB')
8511983Sgabeblack@google.comDebugFlag('Thread')
8611983Sgabeblack@google.comDebugFlag('Timer')
8711983Sgabeblack@google.comDebugFlag('VtoPhys')
886143Snate@binkert.orgDebugFlag('WorkItems')
898233Snate@binkert.orgDebugFlag('ClockDomain')
908233Snate@binkert.orgDebugFlag('VoltageDomain')
918233Snate@binkert.orgDebugFlag('DVFS')
926143Snate@binkert.org