Skip to content

Missing CV-X-IF result address register x_result_i.rd assignation for writeback instructions - #343

Merged
MikeOpenHWGroup merged 3 commits into
openhwfoundation:mainfrom
anecorral:fix_result_addr_reg
Oct 9, 2026
Merged

MikeOpenHWGroup merged 3 commits into
openhwfoundation:mainfrom
anecorral:fix_result_addr_reg

Conversation

@anecorral

Copy link
Copy Markdown

As discussed in #341.

@anecorral
anecorral marked this pull request as ready for review October 7, 2026 13:41
@MikeOpenHWGroup
MikeOpenHWGroup requested a balanced review from Copilot October 7, 2026 19:56

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.

🟢 Approval recommended

The focused change aligns destination-address and write-data routing, with no unresolved findings.

0 open findings

What changed in this PR

Fixes CV-X-IF writeback destination selection, addressing #341.

Changes:

  • Uses x_result_i.rd for CV-X-IF coprocessor writeback.
  • Preserves the decoded destination for other writeback paths.
File Description
rtl/​cve2_id_stage.sv Adds a destination-address mux aligned with write-data selection.

🧠 Review effort: Balanced


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

@MikeOpenHWGroup MikeOpenHWGroup 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.

Thanks for this PR @anecorral. Please have a look at my comment.

Also, you must sign the Eclipse Contributor Agreement before we can accept a PR. Please have a look at CONTRIBUTING.md for the details.

Comment thread rtl/cve2_id_stage.sv
@MikeOpenHWGroup

Copy link
Copy Markdown

Thanks @anecorral, this looks good and passes our verification regression (with XInterface set to '0). This change will break equivalence, so I have deliberately not launched the workflows.

@MikeOpenHWGroup
MikeOpenHWGroup merged commit d7f2156 into openhwfoundation:main Oct 9, 2026
1 check passed
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.

3 participants