SConscript revision 12396:3d04ea44fafb
12810SN/A# -*- mode:python -*- 212728Snikos.nikoleris@arm.com 39796Sprakash.ramrakhyani@arm.com# Copyright (c) 2012, 2017 ARM Limited 49796Sprakash.ramrakhyani@arm.com# All rights reserved. 59796Sprakash.ramrakhyani@arm.com# 69796Sprakash.ramrakhyani@arm.com# The license below extends only to copyright in the software and shall 79796Sprakash.ramrakhyani@arm.com# not be construed as granting a license to any other intellectual 89796Sprakash.ramrakhyani@arm.com# property including but not limited to intellectual property relating 99796Sprakash.ramrakhyani@arm.com# to a hardware implementation of the functionality of the software 109796Sprakash.ramrakhyani@arm.com# licensed hereunder. You may use the software subject to the license 119796Sprakash.ramrakhyani@arm.com# terms below provided that you ensure that this notice is replicated 129796Sprakash.ramrakhyani@arm.com# unmodified and in its entirety in all distributions of the software, 139796Sprakash.ramrakhyani@arm.com# modified or unmodified, in source code or in binary form. 142810SN/A# 152810SN/A# Redistribution and use in source and binary forms, with or without 162810SN/A# modification, are permitted provided that the following conditions are 172810SN/A# met: redistributions of source code must retain the above copyright 182810SN/A# notice, this list of conditions and the following disclaimer; 192810SN/A# redistributions in binary form must reproduce the above copyright 202810SN/A# notice, this list of conditions and the following disclaimer in the 212810SN/A# documentation and/or other materials provided with the distribution; 222810SN/A# neither the name of the copyright holders nor the names of its 232810SN/A# contributors may be used to endorse or promote products derived from 242810SN/A# this software without specific prior written permission. 252810SN/A# 262810SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 272810SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 282810SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 292810SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 302810SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 312810SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 322810SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 332810SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 342810SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 352810SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 362810SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 372810SN/A# 382810SN/A# Authors: Andreas Hansson 392810SN/A 402810SN/AImport('*') 412810SN/A 422810SN/A# Only build the traffic generator if we have support for protobuf as the 432810SN/A# tracing relies on it 442810SN/Aif env['HAVE_PROTOBUF']: 452810SN/A SimObject('TrafficGen.py') 462810SN/A 472810SN/A Source('base_gen.cc') 482810SN/A Source('dram_gen.cc') 4911486Snikos.nikoleris@arm.com Source('dram_rot_gen.cc') 5011486Snikos.nikoleris@arm.com Source('idle_gen.cc') 5112727Snikos.nikoleris@arm.com Source('linear_gen.cc') 5212727Snikos.nikoleris@arm.com Source('random_gen.cc') 5312727Snikos.nikoleris@arm.com Source('trace_gen.cc') 5413225Sodanrc@yahoo.com.br Source('traffic_gen.cc') 5513219Sodanrc@yahoo.com.br 5612727Snikos.nikoleris@arm.com DebugFlag('TrafficGen') 5712727Snikos.nikoleris@arm.com