Skip to content

Fix csrrwi vcsr readback - #489

Open
flaviens wants to merge 2 commits into
pulp-platform:mainfrom
flaviens:fix/vcsr-immediate-readback
Open

Fix csrrwi vcsr readback#489
flaviens wants to merge 2 commits into
pulp-platform:mainfrom
flaviens:fix/vcsr-immediate-readback

Conversation

@flaviens

Copy link
Copy Markdown

csrrwi vcsr returned only vxsat. Return the full CSR.

Verification: Verilator elaboration.

@flaviens
flaviens marked this pull request as ready for review August 22, 2026 06:25
Copilot AI lite review requested due to automatic review settings August 22, 2026 06:25

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the csrrwi vcsr CSR readback path in the Ara dispatcher so that reading vcsr returns the full CSR value (VXRM+VXSAT fields) rather than only vxsat, aligning with RVV’s vcsr layout and expected CSR semantics.

Changes:

  • Update csrrwi vcsr readback to return {vxrm, vxsat} instead of only vxsat.
  • Document the fix in CHANGELOG.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
hardware/src/ara_dispatcher.sv Fix csrrwi vcsr readback to include both vxrm and vxsat fields.
CHANGELOG.md Add a “Fixed” entry describing the corrected csrrwi vcsr readback.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread hardware/src/ara_dispatcher.sv Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants