# \#coverage-optiongoal-optionweight-goal-weight

**URL:** https://verificationacademy.com/forums/tag/coverage-optiongoal-optionweight-goal-weight/8366.md

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

---

## [All Values of a coverpoint need to be hit at same time](https://verificationacademy.com/forums/t/all-values-of-a-coverpoint-need-to-be-hit-at-same-time/41046)

<div class="topic-metadata">

**Author:** [@Verif\_begin](https://verificationacademy.com/forums/u/Verif_begin)\
**Replies:** 6\
**Last updated:** [November 30, 2022, 6:40pm UTC](https://verificationacademy.com/forums/t/all-values-of-a-coverpoint-need-to-be-hit-at-same-time/41046 "2022-11-30T18:40:31Z")

</div>

Hi, I have a scenario where I have 3 opcodes and a 4 bit ID. How do I write a coverpoint for the scenario where I want to check for cases, Same Opcode with 16 ID’s Diff Opcode with 16 ID’s. So, in simple terms, I wan…

---

## [Can we set option.goal and option.weight for a coverpoint from top or env or test](https://verificationacademy.com/forums/t/can-we-set-option-goal-and-option-weight-for-a-coverpoint-from-top-or-env-or-test/40885)

<div class="topic-metadata">

**Author:** [@sameermsa](https://verificationacademy.com/forums/u/sameermsa)\
**Replies:** 1\
**Last updated:** [October 1, 2022, 4:34pm UTC](https://verificationacademy.com/forums/t/can-we-set-option-goal-and-option-weight-for-a-coverpoint-from-top-or-env-or-test/40885 "2022-10-01T16:34:35Z")

</div>

I have a covergoup which is defined inside deep inside design. Example : top\_design.module1.module2.module3.module4.cover\_group\_inst This is created inside the design with no goal and weight setting . I want to set …
