SConscript revision 10453
14202Sbinkertn@umich.edu# -*- mode:python -*- 24202Sbinkertn@umich.edu 34202Sbinkertn@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 44202Sbinkertn@umich.edu# All rights reserved. 54202Sbinkertn@umich.edu# 64202Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 74202Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 84202Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 94202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 104202Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 114202Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 124202Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 134202Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 144202Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 154202Sbinkertn@umich.edu# this software without specific prior written permission. 164202Sbinkertn@umich.edu# 174202Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 184202Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 194202Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 204202Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 214202Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 224202Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 234202Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 244202Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 254202Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 264202Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 274202Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 284202Sbinkertn@umich.edu# 294202Sbinkertn@umich.edu# Authors: Steve Reinhardt 304202Sbinkertn@umich.edu 314202Sbinkertn@umich.eduImport('*') 324202Sbinkertn@umich.edu 334486Sbinkertn@umich.eduif env['TARGET_ISA'] == 'null': 344486Sbinkertn@umich.edu SimObject('IntrControl.py') 356165Ssanchezd@stanford.edu Source('intr_control_noisa.cc') 366168Snate@binkert.org Return() 374202Sbinkertn@umich.edu 384202Sbinkertn@umich.eduSimObject('CheckerCPU.py') 394202Sbinkertn@umich.edu 404202Sbinkertn@umich.eduSimObject('BaseCPU.py') 414202Sbinkertn@umich.eduSimObject('FuncUnit.py') 424202Sbinkertn@umich.eduSimObject('ExeTracer.py') 435650Sgblack@eecs.umich.eduSimObject('IntelTrace.py') 446168Snate@binkert.orgSimObject('IntrControl.py') 457768SAli.Saidi@ARM.comSimObject('NativeTrace.py') 467768SAli.Saidi@ARM.comSimObject('TimingExpr.py') 477768SAli.Saidi@ARM.com 487768SAli.Saidi@ARM.comSource('activity.cc') 497768SAli.Saidi@ARM.comSource('base.cc') 504202Sbinkertn@umich.eduSource('cpuevent.cc') 514202Sbinkertn@umich.eduSource('exetrace.cc') 527768SAli.Saidi@ARM.comSource('exec_context.cc') 534202Sbinkertn@umich.eduSource('func_unit.cc') 544202Sbinkertn@umich.eduSource('inteltrace.cc') 555192Ssaidi@eecs.umich.eduSource('intr_control.cc') 568335Snate@binkert.orgSource('nativetrace.cc') 578335Snate@binkert.orgSource('pc_event.cc') 588335Snate@binkert.orgSource('profile.cc') 598335Snate@binkert.orgSource('quiesce_event.cc') 608335Snate@binkert.orgSource('reg_class.cc') 618335Snate@binkert.orgSource('static_inst.cc') 627780Snilay@cs.wisc.eduSource('simple_thread.cc') 638335Snate@binkert.orgSource('thread_context.cc') 648335Snate@binkert.orgSource('thread_state.cc') 658335Snate@binkert.orgSource('timing_expr.cc') 668335Snate@binkert.org 678335Snate@binkert.orgif env['TARGET_ISA'] == 'sparc': 688335Snate@binkert.org SimObject('LegionTrace.py') 698335Snate@binkert.org Source('legiontrace.cc') 708335Snate@binkert.org 718335Snate@binkert.orgSimObject('DummyChecker.py') 728335Snate@binkert.orgSimObject('StaticInstFlags.py') 738335Snate@binkert.orgSource('checker/cpu.cc') 747780Snilay@cs.wisc.eduSource('dummy_checker.cc') 757780Snilay@cs.wisc.eduDebugFlag('Checker') 767780Snilay@cs.wisc.edu 778161SBrad.Beckmann@amd.comDebugFlag('Activity') 78DebugFlag('Commit') 79DebugFlag('Context') 80DebugFlag('Decode') 81DebugFlag('DynInst') 82DebugFlag('ExecEnable', 'Filter: Enable exec tracing (no tracing without this)') 83DebugFlag('ExecCPSeq', 'Format: Instruction sequence number') 84DebugFlag('ExecEffAddr', 'Format: Include effective address') 85DebugFlag('ExecFaulting', 'Trace faulting instructions') 86DebugFlag('ExecFetchSeq', 'Format: Fetch sequence number') 87DebugFlag('ExecOpClass', 'Format: Include operand class') 88DebugFlag('ExecRegDelta') 89DebugFlag('ExecResult', 'Format: Include results from execution') 90DebugFlag('ExecSpeculative', 'Format: Include a miss-/speculation flag (-/+)') 91DebugFlag('ExecSymbol', 'Format: Try to include symbol names') 92DebugFlag('ExecThread', 'Format: Include thread ID in trace') 93DebugFlag('ExecTicks', 'Format: Include tick count') 94DebugFlag('ExecMicro', 'Filter: Include microops') 95DebugFlag('ExecMacro', 'Filter: Include macroops') 96DebugFlag('ExecUser', 'Filter: Trace user mode instructions') 97DebugFlag('ExecKernel', 'Filter: Trace kernel mode instructions') 98DebugFlag('ExecAsid', 'Format: Include ASID in trace') 99DebugFlag('ExecFlags', 'Format: Include instruction flags in trace') 100DebugFlag('Fetch') 101DebugFlag('IntrControl') 102DebugFlag('O3PipeView') 103DebugFlag('PCEvent') 104DebugFlag('Quiesce') 105 106CompoundFlag('ExecAll', [ 'ExecEnable', 'ExecCPSeq', 'ExecEffAddr', 107 'ExecFaulting', 'ExecFetchSeq', 'ExecOpClass', 'ExecRegDelta', 108 'ExecResult', 'ExecSpeculative', 'ExecSymbol', 'ExecThread', 109 'ExecTicks', 'ExecMicro', 'ExecMacro', 'ExecUser', 'ExecKernel', 110 'ExecAsid', 'ExecFlags' ]) 111CompoundFlag('Exec', [ 'ExecEnable', 'ExecTicks', 'ExecOpClass', 'ExecThread', 112 'ExecEffAddr', 'ExecResult', 'ExecSymbol', 'ExecMicro', 'ExecFaulting', 113 'ExecUser', 'ExecKernel' ]) 114CompoundFlag('ExecNoTicks', [ 'ExecEnable', 'ExecOpClass', 'ExecThread', 115 'ExecEffAddr', 'ExecResult', 'ExecMicro', 'ExecFaulting', 116 'ExecUser', 'ExecKernel' ]) 117