Generate coverages by loop and function

In reply to dave_59:

Thanks for your answer.
But how can I convert to coverage group ? I want to sample the sample array. Not per bit. I want to sample the full array.

I need to show the string(for example, “1_0_0”) and if it’s hit in the coverage