lowRISC / lowRISC/ibex

[dv] Enable multiple configurations for CSR test

Open
#1,333 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The current riscv_csr_test uses the file https://github.com/lowRISC/ibex/blob/master/dv/uvm/core_ibex/riscv_dv_extension/csr_description.yaml to determine what CSRs to read/write and expected values. These descriptions can change between Ibex configurations so a solution is needed to allow this test to adapt to different configurations.

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 with the riscv_csr_test and its use of dv/uvm/core_ibex/riscv_dv_extension/csr_description.yaml. Compare how CSR descriptions vary between Ibex configurations and determine where configuration selection or adaptation belongs. Done means the CSR test can use the appropriate descriptions for different configurations.

Written by the indexing model from the issue text.

Assessment

Domain
testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.