In reply to shivabachu:
You should be able to declare this array covergroups in a package, interface, or module.