In reply to dave_59:
Hi Dave,
I figured no one better to ask than you, albeit indirectly.
This is a pretty interesting solution indeed. Would not have thought to create an array of covergroups. And I guess by virtue of the (array) name association of each covergroup instance in the array they would still appear in any report in an intuitive manner.
Frankly, I don’t see any other way of going about this, safe perhaps from using (a) “conditional generate” macro(s) to generate the desired covergroup code for the width at hand, so that the macro effectively provides for reuse?
Anyway, I’ll be playing with this.
Thanks - Hans