# Generic components UVM

**URL:** <https://verificationacademy.com/forums/t/generic-components-uvm/41848>\
**Category:** UVM\
**Tags:** System-verilog-interface, coverage-UVM-module-class, UVM, FIFO-UVM-VIRTUAL-INTERFACE\
**Created:** [June 19, 2023, 2:02pm UTC](https://verificationacademy.com/forums/t/generic-components-uvm/41848 "2023-06-19T14:02:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![HoussamSABOUR](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/h/d6d6ee/32.png) [@HoussamSABOUR](https://verificationacademy.com/forums/u/HoussamSABOUR)\
**Post date:** [June 19, 2023, 2:02pm UTC](https://verificationacademy.com/forums/t/generic-components-uvm/41848/1 "2023-06-19T14:02:08Z")

</div>

Hello,

I want to know if it’s possible to make some components of UVM generics, in order to diminue time of verification ? if you have any ideas, or any example that will be capable to help me ?

the main of this is to have some blocs generics of UVM that can verify a part of any design (in my case the design = bridge, so i try to develop generic environment which can be capable to verify any bridge integrated in this environment ) .

Thanks in advance,

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [June 19, 2023, 2:54pm UTC](https://verificationacademy.com/forums/t/generic-components-uvm/41848/2 "2023-06-19T14:54:58Z")

</div>

_In reply to [uvm\_share](https://verificationacademy.com/forums/t/generic-components-uvm/41848):_

I’m not sure are if your approach has any benefit. The transactors (driver, monitor)are always application specific. They are depending on the interfae/bus protocol. And there is no generic protocol available.  
If you want to save time you shoule use a UVM Framework Generator, like this one:  
[https://www.doulos.com/knowhow/systemverilog/uvm/](https://www.doulos.com/knowhow/systemverilog/uvm/)  
After setting-up a few things this generaor is generating the whole UVM environment. In average you are saving about 6 weeks of time.

---

<div class="post-metadata">

**Author:** ![HoussamSABOUR](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/h/d6d6ee/32.png) [@HoussamSABOUR](https://verificationacademy.com/forums/u/HoussamSABOUR)\
**Post date:** [June 20, 2023, 7:13am UTC](https://verificationacademy.com/forums/t/generic-components-uvm/41848/3 "2023-06-20T07:13:44Z")

</div>

Hi chr\_sue,

Yes, for agents blocs , i have developed reusables components as packages. My objectif now is to generic some blocs or some parts of blocs in order to have some genericity in my verification environment.

This environment will be reserved for verification of bridges.

Thanks,

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [June 20, 2023, 8:08am UTC](https://verificationacademy.com/forums/t/generic-components-uvm/41848/4 "2023-06-20T08:08:20Z")

</div>

_In reply to [uvm\_share](https://verificationacademy.com/forums/t/generic-components-uvm/41848/3):_

The agent is only a container having the same components inside. There is nothing specific.  
Even for bridges you will have different fuctional interfaces with different protocols. This makes the difference.

---

<div class="post-metadata">

**Author:** ![HoussamSABOUR](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/h/d6d6ee/32.png) [@HoussamSABOUR](https://verificationacademy.com/forums/u/HoussamSABOUR)\
**Post date:** [June 20, 2023, 8:22am UTC](https://verificationacademy.com/forums/t/generic-components-uvm/41848/5 "2023-06-20T08:22:51Z")

</div>

I agree, it is possible to develop code to manage the slave and master interfaces ?

---

<div class="post-metadata">

**Author:** ![chrisspear](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chrisspear/32/2702_2.png) [@chrisspear](https://verificationacademy.com/forums/u/chrisspear)\
**Post date:** [June 20, 2023, 12:27pm UTC](https://verificationacademy.com/forums/t/generic-components-uvm/41848/6 "2023-06-20T12:27:30Z")

</div>

_In reply to [uvm\_share](https://verificationacademy.com/forums/t/generic-components-uvm/41848/5):_

Siemen’s UVM Framework has a library of reusable components such as scoreboards, agents, and more. These classes are highly parameterized. For example, every agent needs to create a driver, monitor, and sequencer, so uvmf\_agent has parameters for these types. You can learn more at the course [UVM Framework One Bite at a Time](https://verificationacademy.com/courses/UVM-Framework-One-Bite-at-a-Time).

> manage the slave and master interfaces  
> Base classes contain common code and variables that are needed by the derived classes. What do you mean by “manage” and what is common in these interfaces?
