Welcome ! This website will help YOU (recent graduates/professionals) learn verification languages like SystemVerilog and UVM. Register for free and access more content !
  1. kavita khadka
  2. UVM
  3. Friday, 12 May 2017
what exactly is wrapper class in uvm ? is it like uvm_config_db ? if it is how it works?
Accepted Answer Pending Moderation
A wrapper provides an abstract way for creation of object proxies. An example would be when the create() method is used where the wrapper of the class calls new, and the type to be returned is decided by the factory. Another one is the implementation of get_type() method.

uvm_config_db can be considered as a wrapper class, used typically to provide an easier and standardized interface to the resource pool DB. Essentially it hides away details and provides the user with a set of function calls. The static set() function takes a value of the given type and stores it in the resource pool without the user needing to know anything related to how and where to put the item in the resource pool.

From a user perspective, wrapper classes are internal details of how UVM manages to create and maintain certain amount of flexibility in the environment.
  1. more than a month ago
  2. UVM
  3. # 1
  • Page :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.

We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. You consent to our cookies if you continue to use our website. To find out more about the cookies we use and how to delete them, see our privacy policy.

  I accept cookies from this site.
EU Cookie Directive plugin by www.channeldigital.co.uk