How to pass a MultiDimentionalArray between two component

in reference model


...
typedef bit[31:0]  mda[4][16]
funtion mda calc_xxx(...);
  mda data;
  ...
  return data
endfunction

I want to get the function return array in scb.

because mda is not an item , so can not pass it by PORT/EXPORT

In reply to designer007:

Simply wrap the array inside a class extended from uvm_object. Then all you have to do is pass the handle to the object around.