# Covergroup sample for an array

**URL:** <https://verificationacademy.com/forums/t/covergroup-sample-for-an-array/34906>\
**Category:** UVM\
**Tags:** UVM, array-covergroup-functional-coverage\
**Created:** [August 23, 2018, 4:07am UTC](https://verificationacademy.com/forums/t/covergroup-sample-for-an-array/34906 "2018-08-23T04:07:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![dave\_59](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/dave_59/32/4499_2.png) [@dave\_59](https://verificationacademy.com/forums/u/dave_59)\
**Post date:** [August 23, 2018, 4:53am UTC](https://verificationacademy.com/forums/t/covergroup-sample-for-an-array/34906/2 "2018-08-23T04:53:02Z")

</div>

_In reply to [yoshiko](https://verificationacademy.com/forums/t/covergroup-sample-for-an-array/34906):_

This does not make any sense as all of your bin array elements hit the same value range [0:NUM\_P-1].

Can you show us the declaration of cfg\_obj.gt\_en along with example values you expect to sample?

---

_[View the full topic](https://verificationacademy.com/forums/t/covergroup-sample-for-an-array/34906)._
