# Using class type defined inside an interface, outside

**URL:** <https://verificationacademy.com/forums/t/using-class-type-defined-inside-an-interface-outside/37231>\
**Category:** UVM\
**Tags:** UVM, SystemVerilog, OOP\
**Created:** [February 24, 2020, 4:54pm UTC](https://verificationacademy.com/forums/t/using-class-type-defined-inside-an-interface-outside/37231 "2020-02-24T16:54:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Marc43](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/m/a6a055/32.png) [@Marc43](https://verificationacademy.com/forums/u/Marc43)\
**Post date:** [February 24, 2020, 7:02pm UTC](https://verificationacademy.com/forums/t/using-class-type-defined-inside-an-interface-outside/37231/3 "2020-02-24T19:02:44Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/using-class-type-defined-inside-an-interface-outside/37231/2):_

> _In reply to [Marc43](https://verificationacademy.com/forums/t/using-class-type-defined-inside-an-interface-outside/37231/2):_  
> To be honest, it is comoletely unclear to me what your needs are and why you are dealing with the proxies.  
> Why do you not use the standard approach, extending your driver from the base class uvm\_driver?

Okay, I already have a UVM, which is composed of 12 sub-interfaces that communicate with each other if needed, more or less in a master-slave fashion. Now, I need a more sophisticated handle for reset than the one that I have implemented first. I want to create a base class for those drivers so I don’t have to change them manually one by one. This will also be great for the drivers that I will have to implement in the future.

---

_[View the full topic](https://verificationacademy.com/forums/t/using-class-type-defined-inside-an-interface-outside/37231)._
