WireBuffer.py revision 10919
110037SARM gem5 Developers# Copyright (c) 2010 Advanced Micro Devices, Inc. 210037SARM gem5 Developers# All rights reserved. 310037SARM gem5 Developers# 410037SARM gem5 Developers# Redistribution and use in source and binary forms, with or without 510037SARM gem5 Developers# modification, are permitted provided that the following conditions are 610037SARM gem5 Developers# met: redistributions of source code must retain the above copyright 710037SARM gem5 Developers# notice, this list of conditions and the following disclaimer; 810037SARM gem5 Developers# redistributions in binary form must reproduce the above copyright 910037SARM gem5 Developers# notice, this list of conditions and the following disclaimer in the 1010037SARM gem5 Developers# documentation and/or other materials provided with the distribution; 1110037SARM gem5 Developers# neither the name of the copyright holders nor the names of its 1210037SARM gem5 Developers# contributors may be used to endorse or promote products derived from 1310037SARM gem5 Developers# this software without specific prior written permission. 1410037SARM gem5 Developers# 1510037SARM gem5 Developers# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1610037SARM gem5 Developers# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1710037SARM gem5 Developers# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1810037SARM gem5 Developers# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1910037SARM gem5 Developers# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2010037SARM gem5 Developers# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2110037SARM gem5 Developers# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2210037SARM gem5 Developers# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2310037SARM gem5 Developers# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2410037SARM gem5 Developers# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2510037SARM gem5 Developers# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2610037SARM gem5 Developers# 2710037SARM gem5 Developers# Author: Lisa Hsu 2810037SARM gem5 Developers 2910037SARM gem5 Developersfrom m5.params import * 3010037SARM gem5 Developersfrom m5.proxy import * 3110037SARM gem5 Developersfrom m5.SimObject import SimObject 3210037SARM gem5 Developers 3310037SARM gem5 Developersclass RubyWireBuffer(SimObject): 3410037SARM gem5 Developers type = 'RubyWireBuffer' 3510037SARM gem5 Developers cxx_class = 'WireBuffer' 3610037SARM gem5 Developers cxx_header = "mem/ruby/structures/WireBuffer.hh" 3710037SARM gem5 Developers ruby_system = Param.RubySystem(Parent.any, "") 3810037SARM gem5 Developers