# Giving equal weight to all bins across all functional cover groups

**URL:** <https://verificationacademy.com/forums/t/giving-equal-weight-to-all-bins-across-all-functional-cover-groups/32583>\
**Category:** Coverage\
**Tags:** Coverage, SV\
**Created:** [November 22, 2016, 12:08pm UTC](https://verificationacademy.com/forums/t/giving-equal-weight-to-all-bins-across-all-functional-cover-groups/32583 "2016-11-22T12:08:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![attaluri](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@attaluri](https://verificationacademy.com/forums/u/attaluri)\
**Post date:** [November 22, 2016, 12:08pm UTC](https://verificationacademy.com/forums/t/giving-equal-weight-to-all-bins-across-all-functional-cover-groups/32583/1 "2016-11-22T12:08:42Z")

</div>

Hi ,  
Please help me.  
I am trying to estimate realistic coverage number .  
I am using system verilog based Testbench.  
Ist cover group has 100 bins and 2nd cover group has 1lac bins.  
I am getting coverage percentage only at cover group average and not at total bins level.

example :  
I have ten cover groups.  
first group has 2 crosses . ten bins of first cross of first group has not covered.  
rest all crosses are covered in first group. even rest all groups covered.  
I am interested to know percentage of coverage number considering  
total bins covered across all groups/total number of bins across all groups

Is their any option to help me to achieve exact coverage finished…

Regards,  
Pavan.

---

<div class="post-metadata">

**Author:** ![user60](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/user60/32/1096_2.png) [@user60](https://verificationacademy.com/forums/u/user60)\
**Post date:** [November 22, 2016, 2:26pm UTC](https://verificationacademy.com/forums/t/giving-equal-weight-to-all-bins-across-all-functional-cover-groups/32583/2 "2016-11-22T14:26:04Z")

</div>

_In reply to [attaluri](https://verificationacademy.com/forums/t/giving-equal-weight-to-all-bins-across-all-functional-cover-groups/32583):_

Look at LRM 19.8 section. It looks to me like you are looking for fst\_cg.get\_coverage() method.

Regards  
Srini  
[www.verifworks.com](http://www.verifworks.com)
