Hi,
I am trying to create an parameterized class and one of the arg is array. Is it legal to pass an array?
class abc #(int size, int arr[]);
int arr_size = size;
int array[] = arr;
endclass
//creating object
arr[] = {4,5,6};
abc #(3, arr) abc_h;
//getting error
The parameter override should be an expression containing only constant
numbers and previously defined parameters.