lowRISC / lowRISC/opentitan

[dv/tools] Mark tests that fail to avoid coverage

Open
#7,102 3 comments 0 reactions 0 assignees View on GitHub
Component:DV Component:Tooling Earlgrey-PROD Triaged Priority:P3 Tool:dvsim Type:Enhancement Type:FutureRelease
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Do not use coverage metrics from failing tests.
In VCS we use $cm_post when the test ends, using the UVM warning/error/fatal flags.
We need to add support for other tools.

Contributor guide

Open the contributing guide

Research direction

Start by locating the VCS handling that uses $cm_post when a test ends, and trace how UVM warning, error, and fatal flags affect coverage metrics. Clarify which other tools must be supported and verify that coverage from failing tests is excluded for each one.

Written by the indexing model from the issue text.

Assessment

Domain
testing, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.