Is there a way to get the different parameterized interfaces in the same classes with different parameters?

Hi!

I have this scenario where I need to instantiate the same agent class 3 times in my environment where each agent differs it parameters.
In this case the parameter will be the depth of the register map.
eg. [10:0] reg [DEPTH]

While doing so there is a driver that would drive signals to the interface.
The issue here is that I only have one instance of the VIF in my agent and driver where I set it in the test top. And I need to drive the interface that would also vary its size.

Is it possible to use different parameters of interfaces on the same class agent instantiated multiple times?

In reply to Vlemartin08:

You should use 3 instances of your agent using different parameters. The each agent has its own interface adopted to the appropriate parameters.