CPA: Add new object for gathering critical path annotations.

This commit is contained in:
Ali Saidi
2009-02-26 19:29:17 -05:00
parent d5ef9ee06b
commit 6fd4bc34a1
13 changed files with 2015 additions and 202 deletions

View File

@@ -65,6 +65,7 @@ from params import *
# There are a few things we need that aren't in params.__all__ since
# normal users don't need them
from params import ParamDesc, VectorParamDesc, isNullPointer, SimObjVector
from proxy import *
noDot = False
try:
@@ -667,7 +668,7 @@ class SimObject(object):
match_obj = self._values[pname]
if found_obj != None and found_obj != match_obj:
raise AttributeError, \
'parent.any matched more than one: %s' % obj.path
'parent.any matched more than one: %s and %s' % (found_obj.path, match_obj.path)
found_obj = match_obj
return found_obj, found_obj != None