# Coverage

**URL:** https://verificationacademy.com/forums/c/coverage/8.md?page=3

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

**Page:** 4

---

## [Disabling auto bins](https://verificationacademy.com/forums/t/disabling-auto-bins/41853)

<div class="topic-metadata">

**Author:** [@Hrithik\_8050](https://verificationacademy.com/forums/u/Hrithik_8050)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 8:25am UTC](https://verificationacademy.com/forums/t/disabling-auto-bins/41853 "2023-06-21T08:25:37Z")

</div>

Is there any way to disable generation of auto bins for a coverpoint when I just want to add Illegal bins only for that coverpoint

---

## [How can I quantify the coverage in scenario verification?](https://verificationacademy.com/forums/t/how-can-i-quantify-the-coverage-in-scenario-verification/41785)

<div class="topic-metadata">

**Author:** [@Lily\_y](https://verificationacademy.com/forums/u/Lily_y)\
**Replies:** 1\
**Last updated:** [June 14, 2023, 9:04pm UTC](https://verificationacademy.com/forums/t/how-can-i-quantify-the-coverage-in-scenario-verification/41785 "2023-06-14T21:04:07Z")

</div>

I use some test patterns in System level verification. The main purpose is to verify functionality of BUS and DDR. But, I’m not a BUS designer but DV engineer doing prototyping SoCs. I mainly check if the transaction …

---

## [Cover all cases of comparing two values in functional coverage](https://verificationacademy.com/forums/t/cover-all-cases-of-comparing-two-values-in-functional-coverage/41796)

<div class="topic-metadata">

**Author:** [@Taher\_Anaya](https://verificationacademy.com/forums/u/Taher_Anaya)\
**Replies:** 1\
**Last updated:** [June 11, 2023, 7:29pm UTC](https://verificationacademy.com/forums/t/cover-all-cases-of-comparing-two-values-in-functional-coverage/41796 "2023-06-11T19:29:45Z")

</div>

Is there a better way to implement a covergroup to cover these cases? module tb; bit\[1:0\] x, y; covergroup cg; x\_ls\_y : coverpoint x iff (x \< y); x\_eq\_y : coverpoint x iff (x == y); x\_lg\_y : coverpoint…

---

## [Coverage: cover change number of inputs in a generic way](https://verificationacademy.com/forums/t/coverage-cover-change-number-of-inputs-in-a-generic-way/41773)

<div class="topic-metadata">

**Author:** [@OE93](https://verificationacademy.com/forums/u/OE93)\
**Replies:** 1\
**Last updated:** [June 8, 2023, 2:29pm UTC](https://verificationacademy.com/forums/t/coverage-cover-change-number-of-inputs-in-a-generic-way/41773 "2023-06-08T14:29:02Z")

</div>

Hi I have a DUT that instantiate in several place in the project, each time it has different num of input\_vector, base on a PRAMETER: for example: module dut #(parameter NUM\_OF\_ELEMENTS = 32)(input logic \[NUM\_OF\_ELEME…

---

## [Disabling a covergroup or coverpoint](https://verificationacademy.com/forums/t/disabling-a-covergroup-or-coverpoint/41685)

<div class="topic-metadata">

**Author:** [@jaswanth\_b](https://verificationacademy.com/forums/u/jaswanth_b)\
**Replies:** 7\
**Last updated:** [May 20, 2023, 4:33am UTC](https://verificationacademy.com/forums/t/disabling-a-covergroup-or-coverpoint/41685 "2023-05-20T04:33:28Z")

</div>

Hi, Is it possible to disable a covergroup or a coverpoint in SV after coding the coverage, i need to disable or make it not to be part of my coverage without modifying the actual coverage code. Thanks, Jaswanth

---

## [ISO26262 and Code Coverage and Functional Coverage](https://verificationacademy.com/forums/t/iso26262-and-code-coverage-and-functional-coverage/41684)

<div class="topic-metadata">

**Author:** [@polyengineer13](https://verificationacademy.com/forums/u/polyengineer13)\
**Replies:** 1\
**Last updated:** [May 19, 2023, 5:22pm UTC](https://verificationacademy.com/forums/t/iso26262-and-code-coverage-and-functional-coverage/41684 "2023-05-19T17:22:02Z")

</div>

Question regarding RTL and verification of RTL with respect to ISO26262, ASIL B and/or D compliance. The spec refers to SW units and mentions requirement coverage, and structural coverage for each SW Unit. SW Unit I tra…

---

## [Fsm functional coverage](https://verificationacademy.com/forums/t/fsm-functional-coverage/41622)

<div class="topic-metadata">

**Author:** [@abasili](https://verificationacademy.com/forums/u/abasili)\
**Replies:** 2\
**Last updated:** [May 6, 2023, 7:23am UTC](https://verificationacademy.com/forums/t/fsm-functional-coverage/41622 "2023-05-06T07:23:59Z")

</div>

Hello, I’d would like to hear feedback on a topic that I haven’t fully grasped: fsm coverage. Nowadays tools are able to extract an fsm from the rtl description and measure state and arc coverage automagically, but I’d…

---

## [Functional coverage](https://verificationacademy.com/forums/t/functional-coverage/41587)

<div class="topic-metadata">

**Author:** [@verificationstud](https://verificationacademy.com/forums/u/verificationstud)\
**Replies:** 1\
**Last updated:** [April 26, 2023, 6:22pm UTC](https://verificationacademy.com/forums/t/functional-coverage/41587 "2023-04-26T18:22:20Z")

</div>

class functional\_coverage; virtual ahb\_intf intf; covergroup cg; coverpoint intf.addr{ bins first\_addr=32'h0; bins second\_addr=32'h04; .......…

---

## [Parametric bin assignment?](https://verificationacademy.com/forums/t/parametric-bin-assignment/41547)

<div class="topic-metadata">

**Author:** [@Morteza\_Seyedi](https://verificationacademy.com/forums/u/Morteza_Seyedi)\
**Replies:** 3\
**Last updated:** [April 24, 2023, 8:55am UTC](https://verificationacademy.com/forums/t/parametric-bin-assignment/41547 "2023-04-24T08:55:37Z")

</div>

Hi , I have a binary array and I want to cover if each array element have been assigned the value one or not, something like this (syntax is not correct): bit \[9:0\] arr; covergroup my\_covergroup { coverpoint arr { …

---

## [Cross coverage between different covergroups](https://verificationacademy.com/forums/t/cross-coverage-between-different-covergroups/29947)

<div class="topic-metadata">

**Author:** [@venkstart](https://verificationacademy.com/forums/u/venkstart)\
**Replies:** 5\
**Last updated:** [April 20, 2023, 6:47pm UTC](https://verificationacademy.com/forums/t/cross-coverage-between-different-covergroups/29947 "2023-04-20T18:47:07Z")

</div>

Does SV support cross coverage between 2 different cover groups as shown in eg below: class abc; bit \[7:0\] a; bit \[7:0\] b; bit \[7:0\] a; covergroup ab1; a1 : coverpoint a { bins a1 = {\[0:7\]};} b1 : coverpoint b…

---

## [FUNCTIONAL COVERAGE FOR DYNAMIC ARRAY](https://verificationacademy.com/forums/t/functional-coverage-for-dynamic-array/41444)

<div class="topic-metadata">

**Author:** [@Mahantha\_Deeksha\_S\_B](https://verificationacademy.com/forums/u/Mahantha_Deeksha_S_B)\
**Replies:** 3\
**Last updated:** [April 1, 2023, 5:02am UTC](https://verificationacademy.com/forums/t/functional-coverage-for-dynamic-array/41444 "2023-04-01T05:02:27Z")

</div>

i had declared a dynamic array like below: rand int data ; And was doing the functional coverage for that dynamic array c4 : coverpoint data; but faced an error like below can anyone help me how to do functional cove…

---

## [Where should be consider code coverage ? in IP Verification or in SOC Verification or both](https://verificationacademy.com/forums/t/where-should-be-consider-code-coverage-in-ip-verification-or-in-soc-verification-or-both/41430)

<div class="topic-metadata">

**Author:** [@munish37](https://verificationacademy.com/forums/u/munish37)\
**Replies:** 2\
**Last updated:** [March 31, 2023, 4:54am UTC](https://verificationacademy.com/forums/t/where-should-be-consider-code-coverage-in-ip-verification-or-in-soc-verification-or-both/41430 "2023-03-31T04:54:54Z")

</div>

Where should be consider code coverage as sign-off criteria? in IP Verification or in SOC Verification or in both If at IP level code coverage is thoroughly done achieving 100 % , still do we need to do regressively run…

---

## [Wildcard based functional coverage](https://verificationacademy.com/forums/t/wildcard-based-functional-coverage/41358)

<div class="topic-metadata">

**Author:** [@J\_M](https://verificationacademy.com/forums/u/J_M)\
**Replies:** 3\
**Last updated:** [March 15, 2023, 5:36am UTC](https://verificationacademy.com/forums/t/wildcard-based-functional-coverage/41358 "2023-03-15T05:36:43Z")

</div>

Hi, I want to write for 12 bit signal, using wildcard. Here is sample code. module fcov\_rate ( // Clock and Resets input \[12:0\] i\_rx\_config ); covergroup client\_rate; option.per\_instance = 1; RX\_C…

---

## [How to ignore bins in double crossed coverage?](https://verificationacademy.com/forums/t/how-to-ignore-bins-in-double-crossed-coverage/41353)

<div class="topic-metadata">

**Author:** [@Tatjana\_T](https://verificationacademy.com/forums/u/Tatjana_T)\
**Replies:** 2\
**Last updated:** [March 8, 2023, 7:54am UTC](https://verificationacademy.com/forums/t/how-to-ignore-bins-in-double-crossed-coverage/41353 "2023-03-08T07:54:05Z")

</div>

I have impelmented a cross between a cross and a regular coverage item: mst\_id\_cov: coverpoint mst\_id\_c { bins mst0 = {0}; bins mst1 = {1}; bins mst2 = {2}; } slv\_id\_cov: coverpoint slv\_id\_c { bins slv0 = {0}; bin…

---

## [Coverage question - difference between state transitions and toggle coverage](https://verificationacademy.com/forums/t/coverage-question-difference-between-state-transitions-and-toggle-coverage/41310)

<div class="topic-metadata">

**Author:** [@sk7799](https://verificationacademy.com/forums/u/sk7799)\
**Replies:** 1\
**Last updated:** [February 24, 2023, 4:56am UTC](https://verificationacademy.com/forums/t/coverage-question-difference-between-state-transitions-and-toggle-coverage/41310 "2023-02-24T04:56:47Z")

</div>

I was asked the below question in my recent interview. Write coverage for 4-bit address, so that each bit has been 0 to 1 at least once. bit \[3:0\] addr; covergroup cg (@posedge clk) a: coverpoint addr; //This will crea…

---

## [Coverage question](https://verificationacademy.com/forums/t/coverage-question/41294)

<div class="topic-metadata">

**Author:** [@sk7799](https://verificationacademy.com/forums/u/sk7799)\
**Replies:** 1\
**Last updated:** [February 19, 2023, 6:05am UTC](https://verificationacademy.com/forums/t/coverage-question/41294 "2023-02-19T06:05:45Z")

</div>

For the question shown below, should this be understood to write a cover group for vector bit toggling? My question is how should I write coverage for the below? Write coverage for a 4 bit address, all address bits have…

---

## [Merge Functional Coverage](https://verificationacademy.com/forums/t/merge-functional-coverage/41274)

<div class="topic-metadata">

**Author:** [@ShaikhAbuzar](https://verificationacademy.com/forums/u/ShaikhAbuzar)\
**Replies:** 1\
**Last updated:** [February 19, 2023, 6:00am UTC](https://verificationacademy.com/forums/t/merge-functional-coverage/41274 "2023-02-19T06:00:42Z")

</div>

Hi, is it possible to merge submodule level functional coverage to module level functional coverage?

---

## [Transition](https://verificationacademy.com/forums/t/transition/41266)

<div class="topic-metadata">

**Author:** [@peter1](https://verificationacademy.com/forums/u/peter1)\
**Replies:** 3\
**Last updated:** [February 17, 2023, 1:07am UTC](https://verificationacademy.com/forums/t/transition/41266 "2023-02-17T01:07:46Z")

</div>

Hi All, I want to check pattern looks like (2=\>3=\>…=\>2=\>3), where 2=\>3 repeats two times. I created the bin like that, but it does not work. Do you have some suggestions? Thank a lot! coverpoint data{ bins…

---

## [Cover data increment/decrement/doesn't changed with transition statement](https://verificationacademy.com/forums/t/cover-data-increment-decrement-doesnt-changed-with-transition-statement/41278)

<div class="topic-metadata">

**Author:** [@rraa](https://verificationacademy.com/forums/u/rraa)\
**Replies:** 2\
**Last updated:** [February 16, 2023, 7:57am UTC](https://verificationacademy.com/forums/t/cover-data-increment-decrement-doesnt-changed-with-transition-statement/41278 "2023-02-16T07:57:48Z")

</div>

Hello, is there a way to cover signal value increment/decrement/doesn’t changed with no declaring of prev\_sig for each signal? The simple way I know to cover data wasn’t changed is to save the data after sampling and t…

---

## [Declare cross coverage with condition](https://verificationacademy.com/forums/t/declare-cross-coverage-with-condition/41275)

<div class="topic-metadata">

**Author:** [@rraa](https://verificationacademy.com/forums/u/rraa)\
**Replies:** 1\
**Last updated:** [February 15, 2023, 7:58pm UTC](https://verificationacademy.com/forums/t/declare-cross-coverage-with-condition/41275 "2023-02-15T19:58:46Z")

</div>

Hello, I have a script which get list of signals and create a covergroup, the covergroup declare a cverpoint to every signal, and now I want to add a cross between all the coverpoint with one of the coverpoint that will…

---

## [Bins](https://verificationacademy.com/forums/t/bins/41262)

<div class="topic-metadata">

**Author:** [@peter1](https://verificationacademy.com/forums/u/peter1)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 5:06pm UTC](https://verificationacademy.com/forums/t/bins/41262 "2023-02-13T17:06:09Z")

</div>

Hi All, Are there any functions to show the total bins in the covergroup? Or other way that can calculate the total bins? Thanks

---

## [Functional Coverage of finite state machine](https://verificationacademy.com/forums/t/functional-coverage-of-finite-state-machine/41255)

<div class="topic-metadata">

**Author:** [@Rana\_Adeel\_Ahmad](https://verificationacademy.com/forums/u/Rana_Adeel_Ahmad)\
**Replies:** 1\
**Last updated:** [February 10, 2023, 6:09pm UTC](https://verificationacademy.com/forums/t/functional-coverage-of-finite-state-machine/41255 "2023-02-10T18:09:45Z")

</div>

If the tool provide us with state and transition coverage of a finite state machine. What is functional coverage of a state machine than? What else is left for their to cover in a state machine? As tool give us the cover…

---

## [Assertion](https://verificationacademy.com/forums/t/assertion/41251)

<div class="topic-metadata">

**Author:** [@VaishaliDangashiya](https://verificationacademy.com/forums/u/VaishaliDangashiya)\
**Replies:** 1\
**Last updated:** [February 9, 2023, 5:19pm UTC](https://verificationacademy.com/forums/t/assertion/41251 "2023-02-09T17:19:56Z")

</div>

hi i have question about assertion when valid signal is high after 5 cycle ready signal is high how to write in assertion code in particular condition

---

## [How make Cross Coverage bins with condition?](https://verificationacademy.com/forums/t/how-make-cross-coverage-bins-with-condition/41237)

<div class="topic-metadata">

**Author:** [@HanP](https://verificationacademy.com/forums/u/HanP)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 11:33pm UTC](https://verificationacademy.com/forums/t/how-make-cross-coverage-bins-with-condition/41237 "2023-02-03T23:33:29Z")

</div>

Hi, I want to create cross coverage bins with condition for example int a; int b; constraint c1 { a inside {\[1:3\]}; b inside {\[1:3\]}; } covergroup cov1; cp1 : coverpoint a {bins b1\[\] = {\[1:3\]};} endgroup coverg…

---

## [Coverage plan](https://verificationacademy.com/forums/t/coverage-plan/41226)

<div class="topic-metadata">

**Author:** [@Rana\_Adeel\_Ahmad](https://verificationacademy.com/forums/u/Rana_Adeel_Ahmad)\
**Replies:** 1\
**Last updated:** [January 31, 2023, 3:10pm UTC](https://verificationacademy.com/forums/t/coverage-plan/41226 "2023-01-31T15:10:26Z")

</div>

I want to write a coverage-plan for a state machine? Can anybody provide me a coverage-plan sample that would help me understand how to write a coverage-plan?

---

## [Ignore\_bins and Cross](https://verificationacademy.com/forums/t/ignore-bins-and-cross/41200)

<div class="topic-metadata">

**Author:** [@ashokmehta72](https://verificationacademy.com/forums/u/ashokmehta72)\
**Replies:** 1\
**Last updated:** [January 23, 2023, 8:49pm UTC](https://verificationacademy.com/forums/t/ignore-bins-and-cross/41200 "2023-01-23T20:49:39Z")

</div>

Hello, In the following example, which specific bin will be ignored? Is it the cross between bins rnop and all\_bank? cp\_cmds : coverpoint command { bins rnop = {1}: bins act = {2}; bins pre ={3}; } cp\_bank : cove…

---

## [Defining ignore\_bins for default and default sequence](https://verificationacademy.com/forums/t/defining-ignore-bins-for-default-and-default-sequence/41190)

<div class="topic-metadata">

**Author:** [@ABD\_91](https://verificationacademy.com/forums/u/ABD_91)\
**Replies:** 1\
**Last updated:** [January 19, 2023, 10:09pm UTC](https://verificationacademy.com/forums/t/defining-ignore-bins-for-default-and-default-sequence/41190 "2023-01-19T22:09:21Z")

</div>

Hi All , I was referring to Functional Coverage chapter from SystemVerilog LRM . Syntax 19-2 says the following : | bins\_keyword bin\_identifier \[ \[ \[ covergroup\_expression \] \] \] = default \[ iff ( expres…

---

## [How to combine coverpoints](https://verificationacademy.com/forums/t/how-to-combine-coverpoints/40965)

<div class="topic-metadata">

**Author:** [@atashinchi](https://verificationacademy.com/forums/u/atashinchi)\
**Replies:** 2\
**Last updated:** [January 18, 2023, 8:28am UTC](https://verificationacademy.com/forums/t/how-to-combine-coverpoints/40965 "2023-01-18T08:28:03Z")

</div>

Hi, I have a simple question but can’t seem to find a straightforward answer from looking at other related questions. I have several coverpoints defined with their own bins and I just want to know how to create a new cov…

---

## [Covergroup with sampling event](https://verificationacademy.com/forums/t/covergroup-with-sampling-event/41171)

<div class="topic-metadata">

**Author:** [@SUNODH](https://verificationacademy.com/forums/u/SUNODH)\
**Replies:** 3\
**Last updated:** [January 13, 2023, 2:44pm UTC](https://verificationacademy.com/forums/t/covergroup-with-sampling-event/41171 "2023-01-13T14:44:46Z")

</div>

Hi , I have tried to sample the cover group by having a sample event @(posedge clk) it was showing errors like Error-\[SNACGWC\] Illegal sample call for covergroup testbench.sv, 28 func\_coverage, "c\_group" Covergroup …

---

## [How to ignore 'rest of bins' in cross coverage](https://verificationacademy.com/forums/t/how-to-ignore-rest-of-bins-in-cross-coverage/41150)

<div class="topic-metadata">

**Author:** [@atashinchi](https://verificationacademy.com/forums/u/atashinchi)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 10:51am UTC](https://verificationacademy.com/forums/t/how-to-ignore-rest-of-bins-in-cross-coverage/41150 "2023-01-04T10:51:04Z")

</div>

I’m trying to write coverpoints for specific sequences of instructions in a pipeline: pipe\_stage\_0: coverpoint({stage\_0\_is\_inst\_A, stage\_0\_is\_inst\_B}) { bins IS\_A = {2'b10}; bins IS\_B = {2'b01}; bins IS\_NEITHER…

[Previous page](https://verificationacademy.com/forums/c/coverage/8.md?page=2)

[Next page](https://verificationacademy.com/forums/c/coverage/8.md?page=4)
