SConscript revision 12397:a6d362560825
11060SN/A# -*- mode:python -*- 27944SGiacomo.Gabrielli@arm.com 37944SGiacomo.Gabrielli@arm.com# Copyright (c) 2012, 2017 ARM Limited 47944SGiacomo.Gabrielli@arm.com# All rights reserved. 57944SGiacomo.Gabrielli@arm.com# 67944SGiacomo.Gabrielli@arm.com# The license below extends only to copyright in the software and shall 77944SGiacomo.Gabrielli@arm.com# not be construed as granting a license to any other intellectual 87944SGiacomo.Gabrielli@arm.com# property including but not limited to intellectual property relating 97944SGiacomo.Gabrielli@arm.com# to a hardware implementation of the functionality of the software 107944SGiacomo.Gabrielli@arm.com# licensed hereunder. You may use the software subject to the license 117944SGiacomo.Gabrielli@arm.com# terms below provided that you ensure that this notice is replicated 127944SGiacomo.Gabrielli@arm.com# unmodified and in its entirety in all distributions of the software, 137944SGiacomo.Gabrielli@arm.com# modified or unmodified, in source code or in binary form. 142702SN/A# 151060SN/A# Redistribution and use in source and binary forms, with or without 161060SN/A# modification, are permitted provided that the following conditions are 171060SN/A# met: redistributions of source code must retain the above copyright 181060SN/A# notice, this list of conditions and the following disclaimer; 191060SN/A# redistributions in binary form must reproduce the above copyright 201060SN/A# notice, this list of conditions and the following disclaimer in the 211060SN/A# documentation and/or other materials provided with the distribution; 221060SN/A# neither the name of the copyright holders nor the names of its 231060SN/A# contributors may be used to endorse or promote products derived from 241060SN/A# this software without specific prior written permission. 251060SN/A# 261060SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 271060SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 281060SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 291060SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 301060SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 311060SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 321060SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 331060SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 341060SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 351060SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 361060SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 371060SN/A# 381060SN/A# Authors: Andreas Hansson 392665SN/A 402665SN/AImport('*') 411060SN/A 421060SN/A# Only build the traffic generator if we have support for protobuf as the 431060SN/A# tracing relies on it 442292SN/Aif env['HAVE_PROTOBUF']: 458229Snate@binkert.org SimObject('TrafficGen.py') 461060SN/A 471060SN/A Source('base_gen.cc') 481060SN/A Source('dram_gen.cc') 491061SN/A Source('dram_rot_gen.cc') 506658Snate@binkert.org Source('exit_gen.cc') 516658Snate@binkert.org Source('idle_gen.cc') 521060SN/A Source('linear_gen.cc') 532669SN/A Source('random_gen.cc') 546658Snate@binkert.org Source('trace_gen.cc') 551060SN/A Source('traffic_gen.cc') 561060SN/A 571060SN/A DebugFlag('TrafficGen') 581060SN/A