SConscript revision 11909:71fb1f21e9d6
16657Snate@binkert.org# -*- mode:python -*- 26657Snate@binkert.org 36657Snate@binkert.org# Copyright (c) 2006 The Regents of The University of Michigan 46657Snate@binkert.org# All rights reserved. 56657Snate@binkert.org# 66657Snate@binkert.org# Redistribution and use in source and binary forms, with or without 76657Snate@binkert.org# modification, are permitted provided that the following conditions are 86657Snate@binkert.org# met: redistributions of source code must retain the above copyright 96657Snate@binkert.org# notice, this list of conditions and the following disclaimer; 106657Snate@binkert.org# redistributions in binary form must reproduce the above copyright 116657Snate@binkert.org# notice, this list of conditions and the following disclaimer in the 126657Snate@binkert.org# documentation and/or other materials provided with the distribution; 136657Snate@binkert.org# neither the name of the copyright holders nor the names of its 146657Snate@binkert.org# contributors may be used to endorse or promote products derived from 156657Snate@binkert.org# this software without specific prior written permission. 166657Snate@binkert.org# 176657Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186657Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196657Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206657Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216657Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226657Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236657Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246657Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256657Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266657Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276657Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286657Snate@binkert.org# 296657Snate@binkert.org# Authors: Nathan Binkert 306657Snate@binkert.org 316657Snate@binkert.orgImport('*') 326657Snate@binkert.org 336657Snate@binkert.orgSimObject('ClockedObject.py') 346657Snate@binkert.orgSimObject('TickedObject.py') 356657Snate@binkert.orgSimObject('Root.py') 366657Snate@binkert.orgSimObject('ClockDomain.py') 376657Snate@binkert.orgSimObject('VoltageDomain.py') 386657Snate@binkert.orgSimObject('System.py') 396657Snate@binkert.orgSimObject('DVFSHandler.py') 406657Snate@binkert.orgSimObject('SubSystem.py') 416657Snate@binkert.org 426657Snate@binkert.orgSource('arguments.cc') 437780Snilay@cs.wisc.eduSource('async.cc') 447780Snilay@cs.wisc.eduSource('backtrace_%s.cc' % env['BACKTRACE_IMPL']) 457780Snilay@cs.wisc.eduSource('core.cc') 467780Snilay@cs.wisc.eduSource('tags.cc') 477780Snilay@cs.wisc.eduSource('cxx_config.cc') 487780Snilay@cs.wisc.eduSource('cxx_manager.cc') 497780Snilay@cs.wisc.eduSource('cxx_config_ini.cc') 507780Snilay@cs.wisc.eduSource('debug.cc') 517780Snilay@cs.wisc.eduSource('py_interact.cc', skip_no_python=True) 527780Snilay@cs.wisc.eduSource('eventq.cc') 537780Snilay@cs.wisc.eduSource('global_event.cc') 547780Snilay@cs.wisc.eduSource('init.cc', skip_no_python=True) 557780Snilay@cs.wisc.eduSource('init_signals.cc') 567780Snilay@cs.wisc.eduSource('main.cc', main=True, skip_lib=True) 577780Snilay@cs.wisc.eduSource('root.cc') 587780Snilay@cs.wisc.eduSource('serialize.cc') 597780Snilay@cs.wisc.eduSource('drain.cc') 607780Snilay@cs.wisc.eduSource('sim_events.cc') 617780Snilay@cs.wisc.eduSource('sim_object.cc') 627780Snilay@cs.wisc.eduSource('sub_system.cc') 637780Snilay@cs.wisc.eduSource('ticked_object.cc') 647780Snilay@cs.wisc.eduSource('simulate.cc') 657780Snilay@cs.wisc.eduSource('stat_control.cc') 667780Snilay@cs.wisc.eduSource('stat_register.cc', skip_no_python=True) 677780Snilay@cs.wisc.eduSource('clock_domain.cc') 687780Snilay@cs.wisc.eduSource('voltage_domain.cc') 697780Snilay@cs.wisc.eduSource('se_signal.cc') 706657Snate@binkert.orgSource('linear_solver.cc') 716657Snate@binkert.orgSource('system.cc') 726657Snate@binkert.orgSource('dvfs_handler.cc') 736657Snate@binkert.orgSource('clocked_object.cc') 746657Snate@binkert.orgSource('mathexpr.cc') 756657Snate@binkert.org 766657Snate@binkert.orgif env['TARGET_ISA'] != 'null': 776657Snate@binkert.org SimObject('InstTracer.py') 786657Snate@binkert.org SimObject('Process.py') 796657Snate@binkert.org Source('aux_vector.cc') 806657Snate@binkert.org Source('faults.cc') 816657Snate@binkert.org Source('process.cc') 826657Snate@binkert.org Source('fd_array.cc') 836657Snate@binkert.org Source('fd_entry.cc') 846657Snate@binkert.org Source('pseudo_inst.cc') 856657Snate@binkert.org Source('syscall_emul.cc') 866657Snate@binkert.org Source('syscall_desc.cc') 876657Snate@binkert.org 886657Snate@binkert.orgif env['TARGET_ISA'] != 'x86': 896657Snate@binkert.org Source('microcode_rom.cc') 906657Snate@binkert.org 916657Snate@binkert.orgDebugFlag('Checkpoint') 926657Snate@binkert.orgDebugFlag('Config') 936657Snate@binkert.orgDebugFlag('CxxConfig') 946657Snate@binkert.orgDebugFlag('Drain') 956657Snate@binkert.orgDebugFlag('Event') 966657Snate@binkert.orgDebugFlag('Fault') 976657Snate@binkert.orgDebugFlag('Flow') 986657Snate@binkert.orgDebugFlag('IPI') 996657Snate@binkert.orgDebugFlag('IPR') 1006657Snate@binkert.orgDebugFlag('Interrupt') 1016657Snate@binkert.orgDebugFlag('Loader') 1026657Snate@binkert.orgDebugFlag('PseudoInst') 1036657Snate@binkert.orgDebugFlag('Stack') 1046657Snate@binkert.orgDebugFlag('SyscallBase') 1056657Snate@binkert.orgDebugFlag('SyscallVerbose') 1066657Snate@binkert.orgDebugFlag('TimeSync') 1076657Snate@binkert.orgDebugFlag('Thread') 1086657Snate@binkert.orgDebugFlag('Timer') 1096657Snate@binkert.orgDebugFlag('VtoPhys') 1106657Snate@binkert.orgDebugFlag('WorkItems') 1116657Snate@binkert.orgDebugFlag('ClockDomain') 1126657Snate@binkert.orgDebugFlag('VoltageDomain') 1136657Snate@binkert.orgDebugFlag('DVFS') 1146657Snate@binkert.org 1156657Snate@binkert.orgCompoundFlag('SyscallAll', [ 'SyscallBase', 'SyscallVerbose']) 1166657Snate@binkert.org