SouthBridge.py revision 5390
16899SN/A# Copyright (c) 2008 The Regents of The University of Michigan 28851Sandreas.hansson@arm.com# All rights reserved. 38851Sandreas.hansson@arm.com# 48851Sandreas.hansson@arm.com# Redistribution and use in source and binary forms, with or without 58851Sandreas.hansson@arm.com# modification, are permitted provided that the following conditions are 68851Sandreas.hansson@arm.com# met: redistributions of source code must retain the above copyright 78851Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer; 88851Sandreas.hansson@arm.com# redistributions in binary form must reproduce the above copyright 98851Sandreas.hansson@arm.com# notice, this list of conditions and the following disclaimer in the 108851Sandreas.hansson@arm.com# documentation and/or other materials provided with the distribution; 118851Sandreas.hansson@arm.com# neither the name of the copyright holders nor the names of its 128851Sandreas.hansson@arm.com# contributors may be used to endorse or promote products derived from 138851Sandreas.hansson@arm.com# this software without specific prior written permission. 146899SN/A# 156899SN/A# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 166899SN/A# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 176899SN/A# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 186899SN/A# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 196899SN/A# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 206899SN/A# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 216899SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 226899SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 236899SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 246899SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 256899SN/A# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 266899SN/A# 276899SN/A# Authors: Gabe Black 286899SN/A 296899SN/Afrom m5.params import * 306899SN/Afrom m5.proxy import * 316899SN/Afrom Device import PioDevice 326899SN/A 336899SN/Aclass SouthBridge(PioDevice): 346899SN/A type = 'SouthBridge' 356899SN/A pio_latency = Param.Latency('1ns', "Programmed IO latency in simticks") 366899SN/A