Class uvm_object_wrapper
Functions
- virtual function uvm_object create_object ( string name ) [source]
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.
- virtual function uvm_component create_component ( string name, uvm_component parent ) [source]
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.
- virtual function string get_type_name ( ) [source]
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.
×
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.