lowRISC / lowRISC/ibex

[dv] Directed test to check PoR values of CSRs

Open
#2,057 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component:DV Type:Enhancement
Dominant language
SystemVerilog
Stars
2.1k
Forks
810
Avg merge
5d 23h
Merged PRs (30d)
9

Description

As noted by https://github.com/lowRISC/ibex/issues/2054 our documented mstatus PoR value was incorrect.

We should have a directed test that checks the PoR value of every CSR (or some subset of critical/most interesting CSRs at least) matches the documented value.

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

Review issue 2054 and the documented mstatus PoR value, then locate Ibex's existing directed-test entry points and CSR definitions. Define the CSR set to check and make the test compare each reset value with its documented value; done means the test catches an incorrect PoR value such as the one previously reported.

Written by the indexing model from the issue text.

Assessment

Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.