SConscript revision 12892
110515SAli.Saidi@ARM.com# -*- mode:python -*-
210515SAli.Saidi@ARM.com
310515SAli.Saidi@ARM.com# Copyright (c) 2016 Georgia Institute of Technology.
410515SAli.Saidi@ARM.com# All rights reserved.
510515SAli.Saidi@ARM.com#
610515SAli.Saidi@ARM.com# Redistribution and use in source and binary forms, with or without
710515SAli.Saidi@ARM.com# modification, are permitted provided that the following conditions are
810515SAli.Saidi@ARM.com# met: redistributions of source code must retain the above copyright
910515SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer;
1010515SAli.Saidi@ARM.com# redistributions in binary form must reproduce the above copyright
1110515SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer in the
1210515SAli.Saidi@ARM.com# documentation and/or other materials provided with the distribution;
1310515SAli.Saidi@ARM.com# neither the name of the copyright holders nor the names of its
1410515SAli.Saidi@ARM.com# contributors may be used to endorse or promote products derived from
1511570SCurtis.Dunham@arm.com# this software without specific prior written permission.
1610515SAli.Saidi@ARM.com#
1710515SAli.Saidi@ARM.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1810515SAli.Saidi@ARM.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1911570SCurtis.Dunham@arm.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2011570SCurtis.Dunham@arm.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2110515SAli.Saidi@ARM.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2210515SAli.Saidi@ARM.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2310515SAli.Saidi@ARM.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2411570SCurtis.Dunham@arm.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2510515SAli.Saidi@ARM.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2610515SAli.Saidi@ARM.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2710515SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2811570SCurtis.Dunham@arm.com#
2910515SAli.Saidi@ARM.com# Authors: Tushar Krishna
3010515SAli.Saidi@ARM.com
3110515SAli.Saidi@ARM.comImport('*')
3210515SAli.Saidi@ARM.com
3311570SCurtis.Dunham@arm.comif env['PROTOCOL'] == 'None':
3410515SAli.Saidi@ARM.com    Return()
3510515SAli.Saidi@ARM.com
3610515SAli.Saidi@ARM.comSimObject('GarnetSyntheticTraffic.py')
3710515SAli.Saidi@ARM.com
3810515SAli.Saidi@ARM.comSource('GarnetSyntheticTraffic.cc')
3911680SCurtis.Dunham@arm.com
4010798Ssteve.reinhardt@amd.comDebugFlag('GarnetSyntheticTraffic')
4110798Ssteve.reinhardt@amd.com