lowRISC / lowRISC/opentitan

[dv] csr exclusion enhancement

Open
#13,121 3 comments 0 reactions 0 assignees View on GitHub
Component:DV Component:Tooling Priority:P3 Type:Enhancement
Dominant language
SystemVerilog
Stars
3.6k
Forks
1.1k
Avg merge
2d 22h
Merged PRs (30d)
141

Description

Recently we have fixed a few issues to due putting csr write exclusion to a field.
Here are two solutions:
1). Return an error once we found a write exclusion is applied to the field.
2). Support csr write field exclusion -
since there is no partial write, supporting this feature can be tricky. I was thinking to just write default/reset value when this field is excluded from write, but it might have some side effect.

Please let me know what you think.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing CSR write-exclusion fixes referenced in the issue and the surrounding design-verification behavior. Decide whether exclusion should report an error or write the default/reset value, document the side effects, and define tests that demonstrate the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot, security
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.