SimpleLink.py revision 8258
18840Sandreas.hansson@arm.com# Copyright (c) 2011 Advanced Micro Devices, Inc. 28840Sandreas.hansson@arm.com# All rights reserved. 38840Sandreas.hansson@arm.com# 48840Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 58840Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 68840Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 78840Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 88840Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 98840Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 108840Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 118840Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 128840Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 132740SN/A# this software without specific prior written permission. 147534Ssteve.reinhardt@amd.com# 151046SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 161046SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 171046SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 181046SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 191046SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 201046SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 211046SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 221046SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 231046SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 241046SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 251046SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 261046SN/A# 271046SN/A# Authors: Steve Reinhardt 281046SN/A# Brad Beckmann 291046SN/A 301046SN/Afrom m5.params import * 311046SN/Afrom m5.proxy import * 321046SN/Afrom m5.SimObject import SimObject 331046SN/Afrom BasicLink import BasicIntLink, BasicExtLink 341046SN/A 351046SN/Aclass SimpleExtLink(BasicExtLink): 361046SN/A type = 'SimpleExtLink' 371046SN/A 381046SN/Aclass SimpleIntLink(BasicIntLink): 392665SN/A type = 'SimpleIntLink' 402665SN/A