lowRISC / lowRISC/opentitan

[otbn] Extend DV to cover `INSN_CNT` CSR

Open
#31,097 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

IP:otbn
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

### Description

https://github.com/lowRISC/opentitan/pull/30606/ exposed the `INSN_CNT` to OTBN SW. See also https://github.com/lowRISC/opentitan/issues/29139. There is a simple smoke test but DV does not cover this CSR yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing OTBN DV smoke test and the INSN_CNT CSR changes referenced in PR #30606, then compare nearby CSR coverage patterns. Add DV coverage that exercises INSN_CNT beyond the smoke test and run the relevant OTBN DV test to confirm the CSR is covered.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.