How to get_attribute of a user defined attribute in a timing lib in PrimeTime?

Status
Not open for further replies.

majd229

Member level 2
Joined
Jul 21, 2017
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
392
I have a set of timing libs i get from other design teams. They add a custom user defined attribute of class "lib_timing_arc" to timing arcs.

All i have is the .lib files. Im reading them into PrimeTime, and foreach arc, Im printing some of the useful properties/attributes. I also want to print the value of this user defined attribute. But I cant just print it because PT says its not defined for the timing arc, even though it exists.

How can I do it otherwise?

pt_shell>
set arcs [get_timing_arcs -of_objects $registername]
foreach_in_collection arc $arcs {
echo "[get_attribute $arc theCustomUserDefinedAttribute]"
}

Warning: Attribute 'theCustomUserDefinedAttribute' has not been defined for timing_arc


What am i doing wrong?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…