18257SN/A# Copyright (c) 2011 Advanced Micro Devices, Inc.
28257SN/A# All rights reserved.
38257SN/A#
48257SN/A# Redistribution and use in source and binary forms, with or without
58257SN/A# modification, are permitted provided that the following conditions are
68257SN/A# met: redistributions of source code must retain the above copyright
78257SN/A# notice, this list of conditions and the following disclaimer;
88257SN/A# redistributions in binary form must reproduce the above copyright
98257SN/A# notice, this list of conditions and the following disclaimer in the
108257SN/A# documentation and/or other materials provided with the distribution;
118257SN/A# neither the name of the copyright holders nor the names of its
128257SN/A# contributors may be used to endorse or promote products derived from
138257SN/A# this software without specific prior written permission.
148257SN/A#
158257SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
168257SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
178257SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
188257SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
198257SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
208257SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
218257SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
228257SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
238257SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
248257SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
258257SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
268257SN/A#
278257SN/A# Authors: Steve Reinhardt
288257SN/A#          Brad Beckmann
298257SN/A
308257SN/Afrom m5.params import *
318258SBrad.Beckmann@amd.comfrom m5.proxy import *
328257SN/Afrom m5.SimObject import SimObject
3313665Sandreas.sandberg@arm.comfrom m5.objects.BasicLink import BasicIntLink, BasicExtLink
348257SN/A
358258SBrad.Beckmann@amd.comclass SimpleExtLink(BasicExtLink):
368258SBrad.Beckmann@amd.com    type = 'SimpleExtLink'
379338SAndreas.Sandberg@arm.com    cxx_header = "mem/ruby/network/simple/SimpleLink.hh"
388257SN/A
398258SBrad.Beckmann@amd.comclass SimpleIntLink(BasicIntLink):
408258SBrad.Beckmann@amd.com    type = 'SimpleIntLink'
419338SAndreas.Sandberg@arm.com    cxx_header = "mem/ruby/network/simple/SimpleLink.hh"
42