SimpleObject.py revision 12336
12889Sbinkertn@umich.edu# -*- coding: utf-8 -*- 22889Sbinkertn@umich.edu# Copyright (c) 2017 Jason Lowe-Power 32889Sbinkertn@umich.edu# All rights reserved. 42889Sbinkertn@umich.edu# 52889Sbinkertn@umich.edu# Redistribution and use in source and binary forms, with or without 62889Sbinkertn@umich.edu# modification, are permitted provided that the following conditions are 72889Sbinkertn@umich.edu# met: redistributions of source code must retain the above copyright 82889Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer; 92889Sbinkertn@umich.edu# redistributions in binary form must reproduce the above copyright 102889Sbinkertn@umich.edu# notice, this list of conditions and the following disclaimer in the 112889Sbinkertn@umich.edu# documentation and/or other materials provided with the distribution; 122889Sbinkertn@umich.edu# neither the name of the copyright holders nor the names of its 132889Sbinkertn@umich.edu# contributors may be used to endorse or promote products derived from 142889Sbinkertn@umich.edu# this software without specific prior written permission. 152889Sbinkertn@umich.edu# 162889Sbinkertn@umich.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 172889Sbinkertn@umich.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 182889Sbinkertn@umich.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 192889Sbinkertn@umich.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 202889Sbinkertn@umich.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 212889Sbinkertn@umich.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 222889Sbinkertn@umich.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 232889Sbinkertn@umich.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 242889Sbinkertn@umich.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 252889Sbinkertn@umich.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 262889Sbinkertn@umich.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 272889Sbinkertn@umich.edu# 282889Sbinkertn@umich.edu# Authors: Jason Lowe-Power 292889Sbinkertn@umich.edu 302889Sbinkertn@umich.edufrom m5.params import * 312889Sbinkertn@umich.edufrom m5.SimObject import SimObject 324053Sbinkertn@umich.edu 332889Sbinkertn@umich.educlass SimpleObject(SimObject): 342889Sbinkertn@umich.edu type = 'SimpleObject' 352889Sbinkertn@umich.edu cxx_header = "learning_gem5/part2/simple_object.hh" 362889Sbinkertn@umich.edu