So is the best way to select which array is passed to the function to use:
initial begin
if (condition)
some_func(arr1);
else
some_func(arr2);
end
? Or is there a more elegant way?
So is the best way to select which array is passed to the function to use:
initial begin
if (condition)
some_func(arr1);
else
some_func(arr2);
end
? Or is there a more elegant way?