Skip to content

Fix incorrect rs2 register read enable for immediate (OP_IMM) instructions#2394

Closed
Anubhav-30 wants to merge 1 commit intolowRISC:masterfrom
Anubhav-30:fix/imm-rf-read
Closed

Fix incorrect rs2 register read enable for immediate (OP_IMM) instructions#2394
Anubhav-30 wants to merge 1 commit intolowRISC:masterfrom
Anubhav-30:fix/imm-rf-read

Conversation

@Anubhav-30
Copy link
Copy Markdown

Fix incorrect rs2 read enable for OP_IMM instructions.

OP_IMM instructions only use rs1 and an immediate, so enabling rs2 is unnecessary.
This change ensures rf_ren_b_o is deasserted, improving decoder correctness and avoiding redundant register access.

Includes a simple testbench for validation.

@SamuelRiedel
Copy link
Copy Markdown
Contributor

We are closing this PR as the proposed changes do not align with our current development priorities, address any tracked issues, or meet our required technical standards.

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