cva6 icon indicating copy to clipboard operation
cva6 copied to clipboard

[TASK] Implement CSR flow: CSR documentation using templating => UVM_reg => test and coverage generation

Open JeanRochCoulon opened this issue 1 year ago • 1 comments

Is there an existing CVA6 task for this?

  • [X] I have searched the existing task issues

Task Description

The CSR IP-XACT master documentation should contain all CSR information. According to the configuration (embedded, step1,...), several files are generated: CSR documentation (IP-XACT, md, rst,... views) , system verilog containing information for UVM_reg. From it, UVM_reg generates functional coverage and CSR tests.

Required Changes

Add to the CVA6 repository:

  • IP-XACT master document,
  • scripts to generate all the views,
  • UVM_reg
  • tests

Current Status

The first generation of the scripts exist, but the code style need to be reviewed. UVM_reg and all the flow generation need to be committed. Nice to be: add a dedicated job in CI.

Risks

IP-XACT is not easy to edit. Be innovative to find a solution !

Prerequisites

First version of the flow

KPI (KEY Performance Indicators)

100% CSR code and fucntional coverage

Description of Done

CI job integrated in CI

Associated PRs

No response

JeanRochCoulon avatar Dec 10 '23 21:12 JeanRochCoulon

@ASintzoff

JeanRochCoulon avatar Dec 10 '23 22:12 JeanRochCoulon