# \#array-of-covergroups

**URL:** https://verificationacademy.com/forums/tag/array-of-covergroups/5552.md

[Latest](https://verificationacademy.com/forums/latest.md) · [Categories](https://verificationacademy.com/forums/categories.md) · [Tags](https://verificationacademy.com/forums/tags.md)

---

## [How to ignore specific covergroup instances of a multi dimensional dynamic array covergroup instantiation](https://verificationacademy.com/forums/t/how-to-ignore-specific-covergroup-instances-of-a-multi-dimensional-dynamic-array-covergroup-instantiation/38485)

<div class="topic-metadata">

**Author:** [@GC](https://verificationacademy.com/forums/u/GC)\
**Replies:** 0\
**Last updated:** [December 19, 2020, 2:27am UTC](https://verificationacademy.com/forums/t/how-to-ignore-specific-covergroup-instances-of-a-multi-dimensional-dynamic-array-covergroup-instantiation/38485 "2020-12-19T02:27:33Z")

</div>

I have a covergroup something like this covergroup cover\_routers with function sample(bit inj\_val,eje\_val); option.per\_instance = 1; inj\_val\_cp : coverpoint inj\_val { bins…

---

## [Covergroup for a multidimensional array](https://verificationacademy.com/forums/t/covergroup-for-a-multidimensional-array/37768)

<div class="topic-metadata">

**Author:** [@sfenil1804](https://verificationacademy.com/forums/u/sfenil1804)\
**Replies:** 4\
**Last updated:** [June 25, 2020, 9:51pm UTC](https://verificationacademy.com/forums/t/covergroup-for-a-multidimensional-array/37768 "2020-06-25T21:51:31Z")

</div>

How do I write a cover group for each element in a multidimensional array to be unique. For example, Is this a correct method to write a cover group for all elements in “int addr\[4\]\[4\]” to be unique? covergroup cg @(pos…

---

## [Multiple instances of covergroup using an array. How to connect "ref" signal in the class from an interface?](https://verificationacademy.com/forums/t/multiple-instances-of-covergroup-using-an-array-how-to-connect-ref-signal-in-the-class-from-an-interface/35727)

<div class="topic-metadata">

**Author:** [@vinodh1180](https://verificationacademy.com/forums/u/vinodh1180)\
**Replies:** 2\
**Last updated:** [February 9, 2019, 2:07am UTC](https://verificationacademy.com/forums/t/multiple-instances-of-covergroup-using-an-array-how-to-connect-ref-signal-in-the-class-from-an-interface/35727 "2019-02-09T02:07:07Z")

</div>

Question: How do I connect the signal with “ref” keyword (in my case \[63:0\] flag) in the class before invoking the constructor? Sample code for checking coverage of individual bits of 64-bit bus “flag” being set to 1: c…

---

## [How to write array of coverpoints with a condition when each coverpoint should be sampled?](https://verificationacademy.com/forums/t/how-to-write-array-of-coverpoints-with-a-condition-when-each-coverpoint-should-be-sampled/34333)

<div class="topic-metadata">

**Author:** [@balanandan14](https://verificationacademy.com/forums/u/balanandan14)\
**Replies:** 1\
**Last updated:** [April 15, 2018, 3:38pm UTC](https://verificationacademy.com/forums/t/how-to-write-array-of-coverpoints-with-a-condition-when-each-coverpoint-should-be-sampled/34333 "2018-04-15T15:38:35Z")

</div>

I have 2 variables. bit \[31:0\] enable and bit \[31:0\] value. The 2 variables function in the following way. If enable\[i\] = 1, then value\[i\] can take values 0 or 1. I want to write coverpoints for all the 32 bits of var…

---

## [Can we create a covergroup that can be instantiated number of times based on the number of channels we use?](https://verificationacademy.com/forums/t/can-we-create-a-covergroup-that-can-be-instantiated-number-of-times-based-on-the-number-of-channels-we-use/32933)

<div class="topic-metadata">

**Author:** [@aksistla](https://verificationacademy.com/forums/u/aksistla)\
**Replies:** 3\
**Last updated:** [March 7, 2017, 12:26am UTC](https://verificationacademy.com/forums/t/can-we-create-a-covergroup-that-can-be-instantiated-number-of-times-based-on-the-number-of-channels-we-use/32933 "2017-03-07T00:26:44Z")

</div>

To elaborate, can we add a parameterized trigger condition and cover point for coverage ? psuedo code: covergroup CG(bit condition, bit \[2:0\] cp1) @(posedge clk iff condition); CP: coverpoint cp1 { bins = {\[0:3\]}; …

---

## [Support of array of covergroups by Questasim-10.4c\_6](https://verificationacademy.com/forums/t/support-of-array-of-covergroups-by-questasim-10-4c-6/31557)

<div class="topic-metadata">

**Author:** [@sunils](https://verificationacademy.com/forums/u/sunils)\
**Replies:** 1\
**Last updated:** [March 1, 2016, 8:11am UTC](https://verificationacademy.com/forums/t/support-of-array-of-covergroups-by-questasim-10-4c-6/31557 "2016-03-01T08:11:20Z")

</div>

Hello Sir, Can you please help me in knowing whether Questasim-10.4c\_6 support the array of cover groups or not. I need this information while writing coverage. Please guide and help. Regards Sunil
