18191SN/A# Copyright (c) 2010 Advanced Micro Devices, Inc.
28191SN/A# All rights reserved.
38191SN/A#
48191SN/A# Redistribution and use in source and binary forms, with or without
58191SN/A# modification, are permitted provided that the following conditions are
68191SN/A# met: redistributions of source code must retain the above copyright
78191SN/A# notice, this list of conditions and the following disclaimer;
88191SN/A# redistributions in binary form must reproduce the above copyright
98191SN/A# notice, this list of conditions and the following disclaimer in the
108191SN/A# documentation and/or other materials provided with the distribution;
118191SN/A# neither the name of the copyright holders nor the names of its
128191SN/A# contributors may be used to endorse or promote products derived from
138191SN/A# this software without specific prior written permission.
148191SN/A#
158191SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
168191SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
178191SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
188191SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
198191SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
208191SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
218191SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
228191SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
238191SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
248191SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
258191SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
268191SN/A#
278191SN/A# Author: Lisa Hsu
288191SN/A
298191SN/Afrom m5.params import *
3010919Sbrandon.potter@amd.comfrom m5.proxy import *
318191SN/Afrom m5.SimObject import SimObject
328191SN/A
338191SN/Aclass RubyWireBuffer(SimObject):
348191SN/A    type = 'RubyWireBuffer'
358191SN/A    cxx_class = 'WireBuffer'
3610301Snilay@cs.wisc.edu    cxx_header = "mem/ruby/structures/WireBuffer.hh"
3710919Sbrandon.potter@amd.com    ruby_system = Param.RubySystem(Parent.any, "")
38