SConscript revision 10663
15584Snate@binkert.org# -*- mode:python -*- 25584Snate@binkert.org 35584Snate@binkert.org# Copyright (c) 2006 The Regents of The University of Michigan 45584Snate@binkert.org# All rights reserved. 55584Snate@binkert.org# 65584Snate@binkert.org# Redistribution and use in source and binary forms, with or without 75584Snate@binkert.org# modification, are permitted provided that the following conditions are 85584Snate@binkert.org# met: redistributions of source code must retain the above copyright 95584Snate@binkert.org# notice, this list of conditions and the following disclaimer; 105584Snate@binkert.org# redistributions in binary form must reproduce the above copyright 115584Snate@binkert.org# notice, this list of conditions and the following disclaimer in the 125584Snate@binkert.org# documentation and/or other materials provided with the distribution; 135584Snate@binkert.org# neither the name of the copyright holders nor the names of its 145584Snate@binkert.org# contributors may be used to endorse or promote products derived from 155584Snate@binkert.org# this software without specific prior written permission. 165584Snate@binkert.org# 175584Snate@binkert.org# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 185584Snate@binkert.org# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 195584Snate@binkert.org# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 205584Snate@binkert.org# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 215584Snate@binkert.org# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 225584Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235584Snate@binkert.org# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 245584Snate@binkert.org# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255584Snate@binkert.org# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265584Snate@binkert.org# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275584Snate@binkert.org# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285584Snate@binkert.org# 295584Snate@binkert.org# Authors: Steve Reinhardt 305584Snate@binkert.org 315584Snate@binkert.orgImport('*') 325584Snate@binkert.org 335584Snate@binkert.orgif env['TARGET_ISA'] == 'null': 345584Snate@binkert.org SimObject('IntrControl.py') 355584Snate@binkert.org Source('intr_control_noisa.cc') 365584Snate@binkert.org Return() 375584Snate@binkert.org 385584Snate@binkert.orgSimObject('CheckerCPU.py') 395584Snate@binkert.org 405584Snate@binkert.orgSimObject('BaseCPU.py') 415584Snate@binkert.orgSimObject('CPUTracers.py') 425584Snate@binkert.orgSimObject('FuncUnit.py') 435584Snate@binkert.orgSimObject('IntrControl.py') 445584Snate@binkert.orgSimObject('TimingExpr.py') 455584Snate@binkert.org 465584Snate@binkert.orgSource('activity.cc') 475584Snate@binkert.orgSource('base.cc') 485584Snate@binkert.orgSource('cpuevent.cc') 49Source('exetrace.cc') 50Source('exec_context.cc') 51Source('func_unit.cc') 52Source('inteltrace.cc') 53Source('intr_control.cc') 54Source('nativetrace.cc') 55Source('pc_event.cc') 56Source('profile.cc') 57Source('quiesce_event.cc') 58Source('reg_class.cc') 59Source('static_inst.cc') 60Source('simple_thread.cc') 61Source('thread_context.cc') 62Source('thread_state.cc') 63Source('timing_expr.cc') 64 65SimObject('DummyChecker.py') 66SimObject('StaticInstFlags.py') 67Source('checker/cpu.cc') 68Source('dummy_checker.cc') 69DebugFlag('Checker') 70 71DebugFlag('Activity') 72DebugFlag('Commit') 73DebugFlag('Context') 74DebugFlag('Decode') 75DebugFlag('DynInst') 76DebugFlag('ExecEnable', 'Filter: Enable exec tracing (no tracing without this)') 77DebugFlag('ExecCPSeq', 'Format: Instruction sequence number') 78DebugFlag('ExecEffAddr', 'Format: Include effective address') 79DebugFlag('ExecFaulting', 'Trace faulting instructions') 80DebugFlag('ExecFetchSeq', 'Format: Fetch sequence number') 81DebugFlag('ExecOpClass', 'Format: Include operand class') 82DebugFlag('ExecRegDelta') 83DebugFlag('ExecResult', 'Format: Include results from execution') 84DebugFlag('ExecSpeculative', 'Format: Include a miss-/speculation flag (-/+)') 85DebugFlag('ExecSymbol', 'Format: Try to include symbol names') 86DebugFlag('ExecThread', 'Format: Include thread ID in trace') 87DebugFlag('ExecTicks', 'Format: Include tick count') 88DebugFlag('ExecMicro', 'Filter: Include microops') 89DebugFlag('ExecMacro', 'Filter: Include macroops') 90DebugFlag('ExecUser', 'Filter: Trace user mode instructions') 91DebugFlag('ExecKernel', 'Filter: Trace kernel mode instructions') 92DebugFlag('ExecAsid', 'Format: Include ASID in trace') 93DebugFlag('ExecFlags', 'Format: Include instruction flags in trace') 94DebugFlag('Fetch') 95DebugFlag('IntrControl') 96DebugFlag('O3PipeView') 97DebugFlag('PCEvent') 98DebugFlag('Quiesce') 99DebugFlag('Mwait') 100 101CompoundFlag('ExecAll', [ 'ExecEnable', 'ExecCPSeq', 'ExecEffAddr', 102 'ExecFaulting', 'ExecFetchSeq', 'ExecOpClass', 'ExecRegDelta', 103 'ExecResult', 'ExecSpeculative', 'ExecSymbol', 'ExecThread', 104 'ExecTicks', 'ExecMicro', 'ExecMacro', 'ExecUser', 'ExecKernel', 105 'ExecAsid', 'ExecFlags' ]) 106CompoundFlag('Exec', [ 'ExecEnable', 'ExecTicks', 'ExecOpClass', 'ExecThread', 107 'ExecEffAddr', 'ExecResult', 'ExecSymbol', 'ExecMicro', 'ExecFaulting', 108 'ExecUser', 'ExecKernel' ]) 109CompoundFlag('ExecNoTicks', [ 'ExecEnable', 'ExecOpClass', 'ExecThread', 110 'ExecEffAddr', 'ExecResult', 'ExecMicro', 'ExecFaulting', 111 'ExecUser', 'ExecKernel' ]) 112