Multidimentional Array Of Interfaces

Hi,

I am looking for a way to make a multidimentional array of interfaces in my UVM SV environment.

i want to create them, then to send them (one vector at a time) into my modules in the tb.

i am looking for something to make that will look like :

my_if [4:0][4:0] my_double_array;


my_top #(…) DUT (.ifs (my_if[0]);

since i know there is no support in multidimentional array - what can i do ?

Thanks !

In reply to snognogt:
You do what the compiler would have to do: linearize the array to [15:0] and compute individual index references with [I*4+J]

In reply to dave_59:

Great ! Thanks !