SConscript revision 8232
16019Shines@cs.fsu.edu# -*- mode:python -*- 26019Shines@cs.fsu.edu 36019Shines@cs.fsu.edu# Copyright (c) 2006 The Regents of The University of Michigan 46019Shines@cs.fsu.edu# All rights reserved. 56019Shines@cs.fsu.edu# 66019Shines@cs.fsu.edu# Redistribution and use in source and binary forms, with or without 76019Shines@cs.fsu.edu# modification, are permitted provided that the following conditions are 86019Shines@cs.fsu.edu# met: redistributions of source code must retain the above copyright 96019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer; 106019Shines@cs.fsu.edu# redistributions in binary form must reproduce the above copyright 116019Shines@cs.fsu.edu# notice, this list of conditions and the following disclaimer in the 126019Shines@cs.fsu.edu# documentation and/or other materials provided with the distribution; 136019Shines@cs.fsu.edu# neither the name of the copyright holders nor the names of its 146019Shines@cs.fsu.edu# contributors may be used to endorse or promote products derived from 156019Shines@cs.fsu.edu# this software without specific prior written permission. 166019Shines@cs.fsu.edu# 176019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 186019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 196019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 206019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 216019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 226019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 236019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 246019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 256019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 266019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 276019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 286019Shines@cs.fsu.edu# 296019Shines@cs.fsu.edu# Authors: Nathan Binkert 306019Shines@cs.fsu.edu 316019Shines@cs.fsu.eduimport sys 326019Shines@cs.fsu.edu 336019Shines@cs.fsu.eduImport('*') 346019Shines@cs.fsu.edu 356019Shines@cs.fsu.eduif 'O3CPU' in env['CPU_MODELS'] or 'OzoneCPU' in env['CPU_MODELS']: 366019Shines@cs.fsu.edu TraceFlag('CommitRate') 376019Shines@cs.fsu.edu TraceFlag('IEW') 386019Shines@cs.fsu.edu TraceFlag('IQ') 396019Shines@cs.fsu.edu 406019Shines@cs.fsu.eduif 'O3CPU' in env['CPU_MODELS']: 416019Shines@cs.fsu.edu SimObject('FUPool.py') 426019Shines@cs.fsu.edu SimObject('FuncUnitConfig.py') 436312Sgblack@eecs.umich.edu SimObject('O3CPU.py') 446312Sgblack@eecs.umich.edu 456312Sgblack@eecs.umich.edu Source('base_dyn_inst.cc') 466312Sgblack@eecs.umich.edu Source('bpred_unit.cc') 476312Sgblack@eecs.umich.edu Source('commit.cc') 486312Sgblack@eecs.umich.edu Source('cpu.cc') 496312Sgblack@eecs.umich.edu Source('cpu_builder.cc') 506312Sgblack@eecs.umich.edu Source('decode.cc') 516312Sgblack@eecs.umich.edu Source('dyn_inst.cc') 526312Sgblack@eecs.umich.edu Source('fetch.cc') 536312Sgblack@eecs.umich.edu Source('free_list.cc') 546019Shines@cs.fsu.edu Source('fu_pool.cc') 556019Shines@cs.fsu.edu Source('iew.cc') 566312Sgblack@eecs.umich.edu Source('inst_queue.cc') 576312Sgblack@eecs.umich.edu Source('lsq.cc') 586312Sgblack@eecs.umich.edu Source('lsq_unit.cc') 596312Sgblack@eecs.umich.edu Source('mem_dep_unit.cc') 606393Ssaidi@eecs.umich.edu Source('rename.cc') 616019Shines@cs.fsu.edu Source('rename_map.cc') 626299Sgblack@eecs.umich.edu Source('rob.cc') 636312Sgblack@eecs.umich.edu Source('scoreboard.cc') 646312Sgblack@eecs.umich.edu Source('store_set.cc') 656299Sgblack@eecs.umich.edu Source('thread_context.cc') 666299Sgblack@eecs.umich.edu 676299Sgblack@eecs.umich.edu TraceFlag('LSQ') 686299Sgblack@eecs.umich.edu TraceFlag('LSQUnit') 696299Sgblack@eecs.umich.edu TraceFlag('MemDepUnit') 706019Shines@cs.fsu.edu TraceFlag('O3CPU') 716308Sgblack@eecs.umich.edu TraceFlag('ROB') 726312Sgblack@eecs.umich.edu TraceFlag('Rename') 736312Sgblack@eecs.umich.edu TraceFlag('Scoreboard') 746308Sgblack@eecs.umich.edu TraceFlag('StoreSet') 756019Shines@cs.fsu.edu TraceFlag('Writeback') 766299Sgblack@eecs.umich.edu 776299Sgblack@eecs.umich.edu CompoundFlag('O3CPUAll', [ 'Fetch', 'Decode', 'Rename', 'IEW', 'Commit', 786299Sgblack@eecs.umich.edu 'IQ', 'ROB', 'FreeList', 'LSQ', 'LSQUnit', 'StoreSet', 'MemDepUnit', 796019Shines@cs.fsu.edu 'DynInst', 'O3CPU', 'Activity', 'Scoreboard', 'Writeback' ]) 806019Shines@cs.fsu.edu 816299Sgblack@eecs.umich.edu if env['USE_CHECKER']: 826019Shines@cs.fsu.edu SimObject('O3Checker.py') 836299Sgblack@eecs.umich.edu Source('checker_builder.cc') 846299Sgblack@eecs.umich.edu