Skip to content

options and type_options are not propagated from covergroups/coverpoints #253

@BanuAdrian

Description

@BanuAdrian

I have found that PyVSC currently does not provide a method for querying overall coverage across all covergroups, which is essential for automation. When attempting to implement an external solution, I realized that the correct calculation for overall coverage depends critically on covergroup/coverpoint options such as weight and per_instance, as well as whether they are set via options or type_options.

The documentation states that some options (like weight or per_instance) are not respected or might be ignored at the covergroup level, but it is unclear which options are actually used at run-time and how they propagate to coverage models and type models for coverpoints and covergroups.

Questions:

  1. What is the current implementation status of options and type_options for covergroups and coverpoints? When are you going to implement these?
  2. Which options (weight, per_instance, at_least, etc.) are respected at both instance and type levels during coverage calculation and reporting?

Justification:

  • I need to correctly calculate overall coverage, and automate stopping tests on 100% coverage. For this, options like weight and per_instance are critical, but current behavior is ambiguous.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions