SConscript revision 9157
13534Sgblack@eecs.umich.edu# -*- mode:python -*- 23534Sgblack@eecs.umich.edu 33534Sgblack@eecs.umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 43534Sgblack@eecs.umich.edu# All rights reserved. 53534Sgblack@eecs.umich.edu# 63534Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without 73534Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are 83534Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright 93534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer; 103534Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright 113534Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the 123534Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution; 133534Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its 143534Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from 153534Sgblack@eecs.umich.edu# this software without specific prior written permission. 163534Sgblack@eecs.umich.edu# 173534Sgblack@eecs.umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 183534Sgblack@eecs.umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 193534Sgblack@eecs.umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 203534Sgblack@eecs.umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 213534Sgblack@eecs.umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 223534Sgblack@eecs.umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 233534Sgblack@eecs.umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 243534Sgblack@eecs.umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 253534Sgblack@eecs.umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 263534Sgblack@eecs.umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 273534Sgblack@eecs.umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 283534Sgblack@eecs.umich.edu# 293534Sgblack@eecs.umich.edu# Authors: Nathan Binkert 303534Sgblack@eecs.umich.edu 313534Sgblack@eecs.umich.eduImport('*') 324202Sbinkertn@umich.edu 333534Sgblack@eecs.umich.eduSimObject('BaseTLB.py') 348739Sgblack@eecs.umich.eduSimObject('ClockedObject.py') 354486Sbinkertn@umich.eduSimObject('Root.py') 364486Sbinkertn@umich.eduSimObject('InstTracer.py') 374202Sbinkertn@umich.edu 384202Sbinkertn@umich.eduSource('arguments.cc') 394202Sbinkertn@umich.eduSource('async.cc') 404202Sbinkertn@umich.eduSource('core.cc') 415192Ssaidi@eecs.umich.eduSource('debug.cc') 428335Snate@binkert.orgSource('eventq.cc') 43Source('init.cc') 44Source('main.cc', main=True, skip_lib=True) 45Source('root.cc') 46Source('serialize.cc') 47Source('sim_events.cc') 48Source('sim_object.cc') 49Source('simulate.cc') 50Source('stat_control.cc') 51Source('syscall_emul.cc') 52 53if env['TARGET_ISA'] != 'no': 54 SimObject('Process.py') 55 SimObject('System.py') 56 Source('faults.cc') 57 Source('process.cc') 58 Source('pseudo_inst.cc') 59 Source('system.cc') 60 61if env['TARGET_ISA'] != 'no': 62 Source('tlb.cc') 63 64DebugFlag('Checkpoint') 65DebugFlag('Config') 66DebugFlag('Drain') 67DebugFlag('Event') 68DebugFlag('Fault') 69DebugFlag('Flow') 70DebugFlag('IPI') 71DebugFlag('IPR') 72DebugFlag('Interrupt') 73DebugFlag('Loader') 74DebugFlag('Stack') 75DebugFlag('SyscallVerbose') 76DebugFlag('TimeSync') 77DebugFlag('TLB') 78DebugFlag('Thread') 79DebugFlag('Timer') 80DebugFlag('VtoPhys') 81DebugFlag('WorkItems') 82