SConscript revision 11320:42ecb523c64a
17405SAli.Saidi@ARM.com# Copyright (c) 2011 Massachusetts Institute of Technology
29814Sandreas.hansson@arm.com# All rights reserved.
37405SAli.Saidi@ARM.com#
47405SAli.Saidi@ARM.com# Redistribution and use in source and binary forms, with or without
57405SAli.Saidi@ARM.com# modification, are permitted provided that the following conditions are
67405SAli.Saidi@ARM.com# met: redistributions of source code must retain the above copyright
77405SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer;
87405SAli.Saidi@ARM.com# redistributions in binary form must reproduce the above copyright
97405SAli.Saidi@ARM.com# notice, this list of conditions and the following disclaimer in the
107405SAli.Saidi@ARM.com# documentation and/or other materials provided with the distribution;
117405SAli.Saidi@ARM.com# neither the name of the copyright holders nor the names of its
127405SAli.Saidi@ARM.com# contributors may be used to endorse or promote products derived from
137405SAli.Saidi@ARM.com# this software without specific prior written permission.
147405SAli.Saidi@ARM.com#
157405SAli.Saidi@ARM.com# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
167405SAli.Saidi@ARM.com# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
177405SAli.Saidi@ARM.com# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
187405SAli.Saidi@ARM.com# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
197405SAli.Saidi@ARM.com# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
207405SAli.Saidi@ARM.com# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
217405SAli.Saidi@ARM.com# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
227405SAli.Saidi@ARM.com# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
237405SAli.Saidi@ARM.com# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
247405SAli.Saidi@ARM.com# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
257405SAli.Saidi@ARM.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
267405SAli.Saidi@ARM.com#
277405SAli.Saidi@ARM.com# Authors: Konstantinos Aisopos
287405SAli.Saidi@ARM.com
297405SAli.Saidi@ARM.com# Official Tool Website: www.mit.edu/~kaisopos/FaultModel
307405SAli.Saidi@ARM.com#
317405SAli.Saidi@ARM.com# If you use our tool for academic research, we request that you cite:
327405SAli.Saidi@ARM.com# Konstantinos Aisopos, Chia-Hsin Owen Chen, and Li-Shiuan Peh. Enabling
337405SAli.Saidi@ARM.com# System-Level Modeling of Variation-Induced Faults in Networks-on-Chip.
347405SAli.Saidi@ARM.com# Proceedings of the 48th Design Automation Conference (DAC'11)
357405SAli.Saidi@ARM.com
367405SAli.Saidi@ARM.comImport('*')
377405SAli.Saidi@ARM.com
387405SAli.Saidi@ARM.comif env['PROTOCOL'] == 'None':
397405SAli.Saidi@ARM.com    Return()
407405SAli.Saidi@ARM.com
417405SAli.Saidi@ARM.comSimObject('FaultModel.py')
429050Schander.sudanthi@arm.comSource('FaultModel.cc')
438887Sgeoffrey.blake@arm.com
448232Snate@binkert.org