SimObject.py (5454:4b1261c2af58) | SimObject.py (5467:6d9df90d70d7) |
---|---|
1# Copyright (c) 2004-2006 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 18 unchanged lines hidden (view full) --- 27# Authors: Steve Reinhardt 28# Nathan Binkert 29 30import sys, types 31 32import proxy 33import m5 34from util import * | 1# Copyright (c) 2004-2006 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 18 unchanged lines hidden (view full) --- 27# Authors: Steve Reinhardt 28# Nathan Binkert 29 30import sys, types 31 32import proxy 33import m5 34from util import * |
35from multidict import multidict | |
36 37# These utility functions have to come first because they're 38# referenced in params.py... otherwise they won't be defined when we 39# import params below, and the recursive import of this file from 40# params.py will not find these names. 41def isSimObject(value): 42 return isinstance(value, SimObject) 43 --- 870 unchanged lines hidden --- | 35 36# These utility functions have to come first because they're 37# referenced in params.py... otherwise they won't be defined when we 38# import params below, and the recursive import of this file from 39# params.py will not find these names. 40def isSimObject(value): 41 return isinstance(value, SimObject) 42 --- 870 unchanged lines hidden --- |