[dv] Directed test to check PoR values of CSRs
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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