TickedObject.py revision 13665
14486Sbinkertn@umich.edu# Copyright (c) 2014 ARM Limited 24486Sbinkertn@umich.edu# All rights reserved. 34486Sbinkertn@umich.edu# 44486Sbinkertn@umich.edu# The license below extends only to copyright in the software and shall 54486Sbinkertn@umich.edu# not be construed as granting a license to any other intellectual 64486Sbinkertn@umich.edu# property including but not limited to intellectual property relating 74486Sbinkertn@umich.edu# to a hardware implementation of the functionality of the software 84486Sbinkertn@umich.edu# licensed hereunder. You may use the software subject to the license 94486Sbinkertn@umich.edu# terms below provided that you ensure that this notice is replicated 104486Sbinkertn@umich.edu# unmodified and in its entirety in all distributions of the software, 114486Sbinkertn@umich.edu# modified or unmodified, in source code or in binary form. 124486Sbinkertn@umich.edu# 134486Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 144486Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 154486Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 164486Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 174486Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 184486Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 194486Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 204486Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 214486Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 224486Sbinkertn@umich.edu# this software without specific prior written permission. 234486Sbinkertn@umich.edu# 244486Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 254486Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 264486Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 274486Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 284486Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 296654Snate@binkert.org# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 303102SN/A# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 313102SN/A# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 321681SN/A# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 333223SN/A# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 348887Sgeoffrey.blake@arm.com# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 359480Snilay@cs.wisc.edu# 364486Sbinkertn@umich.edu# Authors: Andrew Bardsley 372817SN/A 382817SN/Afrom m5.objects.ClockedObject import ClockedObject 399341SAndreas.Sandberg@arm.com 409341SAndreas.Sandberg@arm.comclass TickedObject(ClockedObject): 419518SAndreas.Sandberg@ARM.com type = 'TickedObject' 429518SAndreas.Sandberg@ARM.com abstract = True 439518SAndreas.Sandberg@ARM.com cxx_header = "sim/ticked_object.hh" 449518SAndreas.Sandberg@ARM.com