Creating new instances of a covergroup using an array

In reply to An Pham:

Hi Dave,

You mentioned a note for "ref" in this line: covergroup skew_val_cg (ref int skew_val_vl); // note the use of a ref argument

why did you have to use “ref” and what is the use of it ?

Thanks,
Madhu