SConscript revision 8656
14661Sksewell@umich.edu# -*- mode:python -*- 25268Sksewell@umich.edu 35268Sksewell@umich.edu# Copyright (c) 2006 The Regents of The University of Michigan 44661Sksewell@umich.edu# All rights reserved. 55268Sksewell@umich.edu# 65268Sksewell@umich.edu# Redistribution and use in source and binary forms, with or without 75268Sksewell@umich.edu# modification, are permitted provided that the following conditions are 85268Sksewell@umich.edu# met: redistributions of source code must retain the above copyright 95268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer; 105268Sksewell@umich.edu# redistributions in binary form must reproduce the above copyright 115268Sksewell@umich.edu# notice, this list of conditions and the following disclaimer in the 125268Sksewell@umich.edu# documentation and/or other materials provided with the distribution; 135268Sksewell@umich.edu# neither the name of the copyright holders nor the names of its 145268Sksewell@umich.edu# contributors may be used to endorse or promote products derived from 154661Sksewell@umich.edu# this software without specific prior written permission. 165268Sksewell@umich.edu# 175268Sksewell@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 185268Sksewell@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 195268Sksewell@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 205268Sksewell@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 215268Sksewell@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 225268Sksewell@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 235268Sksewell@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 245268Sksewell@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 255268Sksewell@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 265268Sksewell@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 275222Sksewell@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 285254Sksewell@umich.edu# 294661Sksewell@umich.edu# Authors: Nathan Binkert 304661Sksewell@umich.edu 314661Sksewell@umich.eduimport sys 324661Sksewell@umich.edu 334661Sksewell@umich.eduImport('*') 344661Sksewell@umich.edu 354661Sksewell@umich.eduif 'O3CPU' in env['CPU_MODELS'] or 'OzoneCPU' in env['CPU_MODELS']: 364661Sksewell@umich.edu DebugFlag('CommitRate') 374661Sksewell@umich.edu DebugFlag('IEW') 384661Sksewell@umich.edu DebugFlag('IQ') 394661Sksewell@umich.edu 408229Snate@binkert.orgif 'O3CPU' in env['CPU_MODELS']: 418229Snate@binkert.org SimObject('FUPool.py') 424661Sksewell@umich.edu SimObject('FuncUnitConfig.py') 436329Sgblack@eecs.umich.edu SimObject('O3CPU.py') 444661Sksewell@umich.edu 456376Sgblack@eecs.umich.edu Source('base_dyn_inst.cc') 466329Sgblack@eecs.umich.edu Source('bpred_unit.cc') 474661Sksewell@umich.edu Source('commit.cc') 4812334Sgabeblack@google.com Source('cpu.cc') 494661Sksewell@umich.edu Source('cpu_builder.cc') 5013899Sgabeblack@google.com Source('decode.cc') 514661Sksewell@umich.edu Source('dyn_inst.cc') 524661Sksewell@umich.edu Source('fetch.cc') 534661Sksewell@umich.edu Source('free_list.cc') 544661Sksewell@umich.edu Source('fu_pool.cc') 5513899Sgabeblack@google.com Source('iew.cc') 5613899Sgabeblack@google.com Source('inst_queue.cc') 5713899Sgabeblack@google.com Source('lsq.cc') 5813899Sgabeblack@google.com Source('lsq_unit.cc') 5913899Sgabeblack@google.com Source('mem_dep_unit.cc') 6013899Sgabeblack@google.com Source('rename.cc') 6113899Sgabeblack@google.com Source('rename_map.cc') 6213899Sgabeblack@google.com Source('rob.cc') 6313899Sgabeblack@google.com Source('scoreboard.cc') 6413899Sgabeblack@google.com Source('store_set.cc') 6513899Sgabeblack@google.com Source('thread_context.cc') 6613899Sgabeblack@google.com 6713899Sgabeblack@google.com DebugFlag('LSQ') 6813899Sgabeblack@google.com DebugFlag('LSQUnit') 6913899Sgabeblack@google.com DebugFlag('MemDepUnit') 7013899Sgabeblack@google.com DebugFlag('O3CPU') 7113899Sgabeblack@google.com DebugFlag('ROB') 7213899Sgabeblack@google.com DebugFlag('Rename') 7313899Sgabeblack@google.com DebugFlag('Scoreboard') 7413899Sgabeblack@google.com DebugFlag('StoreSet') 7513899Sgabeblack@google.com DebugFlag('Writeback') 7613899Sgabeblack@google.com 7713899Sgabeblack@google.com CompoundFlag('O3CPUAll', [ 'Fetch', 'Decode', 'Rename', 'IEW', 'Commit', 7813899Sgabeblack@google.com 'IQ', 'ROB', 'FreeList', 'LSQ', 'LSQUnit', 'StoreSet', 'MemDepUnit', 7913899Sgabeblack@google.com 'DynInst', 'O3CPU', 'Activity', 'Scoreboard', 'Writeback' ]) 8013899Sgabeblack@google.com 8113899Sgabeblack@google.com if env['USE_CHECKER']: 8213899Sgabeblack@google.com SimObject('O3Checker.py') 8313899Sgabeblack@google.com Source('checker_builder.cc') 8413899Sgabeblack@google.com