Compilation Error:: virtual interface XMR connected to task/function ref-port is not yet supported

In reply to naaj_ila:

You can solve this issue by wrapping the covergroup into a class.