Class uvm_pkg::uvm_object_wrapper
Inheritance Diagram of uvm_object_wrapper
Functions
- create_object(string name = "")
Function
create_object
Creates a new object with the optional name . An object proxy (e.g., <uvm_object_registry #(T,Tname)>) implements this method to create an object of a specific type, T.
- Parameters:
name (string)
- Return type:
- create_component(string name, uvm_component parent)
Function
create_component
Creates a new component, passing to its constructor the given name and parent . A component proxy (e.g. <uvm_component_registry #(T,Tname)>) implements this method to create a component of a specific type, T.
- Parameters:
name (string)
parent (uvm_component)
- Return type:
- get_type_name()
Function
get_type_name
Derived classes implement this method to return the type name of the object created by create_component or create_object. The factory uses this name when matching against the requested type in name-based lookups.
CLASS
uvm_object_wrapper
The uvm_object_wrapper provides an abstract interface for creating object and component proxies. Instances of these lightweight proxies, representing every uvm_object-based and uvm_component-based object available in the test environment, are registered with the uvm_factory. When the factory is called upon to create an object or component, it finds and delegates the request to the appropriate proxy.