Coveegroup x;
C: Coverpoint a {type_option.weight=0;}
Endgroup
I want to set coverpoint C weight to 0, for all the instances of covergroup x. So I have used type_option, as option is for instance specific settings.
I have created 4 objects of this covergroup, but in each object, C is considered for calculation of coverage, despite of setting it's weight to 0.
Things works fine when I use option, instead of type_option.
Please explain me the reason behind this.