openhwgroup / cva6

The CORE-V CVA6 is an Application class 6-stage RISC-V CPU capable of booting Linux
https://docs.openhwgroup.org/projects/cva6-user-manual/
Other
2.14k stars 652 forks source link

Reduce gate count of csr_regfile.sv #2219

Open JeanRochCoulon opened 3 weeks ago

JeanRochCoulon commented 3 weeks ago

Task Description

read_access_exception is by default set to zero in RTL. When CSR is unimplemented, it is set to one. This is costy in term og gate count.

image

Required Changes

Set read_access_exception set to one by default and set it to zero when CSR is implemented..

Current Status

not started

Risks

To prevent from functionality regression, CSR tests should be used.

Prerequisites

Need to have a CSR test.

KPI (KEY Performance Indicators)

Gate count

Description of Done

The gate count is lower and no functional regression

Associated PRs

No response