Using class type defined inside an interface, outside

In reply to chr_sue:

In reply to Marc43:
Sorry, but it is confusing what you are writing. A reset should be handled by the same sequencer/driver as the common functionality.
I have a few questions with respect to your DUT.
You say you have 12 sub-interfaces. The components connected to are working like a master/slave configuration.
(1) are your so called sub-interfaces o09f the same type, having the same signals inside? The master-slave would require this.
(2) Your driver should handle also the reset functionality. You might have a reset task in the driver which ias called in the drivers run_phase when the reset sequence is executed.
(3) If you have a master/slave configuration you need only 2 different types of drivers, a master driver and a slave driver. And you might have more than 1 instances of these drivers types.
(4) Why do you believe you need to modify your drivers one by one?

(1) Maybe I confused the terminology of master-slave. In order to reduce complexity, I divided the interface of my DUT into sub-components, that’s it.

(2) Yes, I have a reset task that is different for each driver as it is implemented for a different sub-interface.

(3) Confused, already told you in (1)

(4) Because my drivers don’t have the reset task. I thought that it would be great to have a base class for each driver and the proxy to the base interface.

Without taking into account, why I decided to do this, do you think is possible to do what I am trying to?