PDA

View Full Version : type name.



ankit1
01-18-2008, 11:48 PM
Hi All,

I am totally new to OVM
my question is What is the type name in OVM?

Regards,
Ankit

dave_59
01-19-2008, 12:20 AM
Can you be a little more specific? Where are you seeing type name that has you confused?

ankit1
01-19-2008, 12:54 AM
Can you be a little more specific? Where are you seeing type name
that has you confused?

Hi dave,

I found following statment in OVM ref.
"OVM seeding is used to seed objects based on a hierarchical name
(get_full_name()) and a type name (get_type_name()) instead of based on
allocation position in a SystemVerilog thread context."

so I raised question for type name of object.

Regards,
Ankit

dave_59
01-19-2008, 01:19 AM
In that context, type name is just a user provided string that represents the subclass of ovm_object you are declaring. Each instance of that subclass will have a unique hierarchical name, and a common type name, both represented as strings in the OVM.

Dave

ankit1
01-20-2008, 08:28 PM
Thanks Dave,

Regards,
Ankit