Skip to content

Enforce x0 Register Write Protection in Decoder with Verification Testbench#2390

Closed
Anubhav-30 wants to merge 1 commit intolowRISC:masterfrom
Anubhav-30:fix/x0-write-protection
Closed

Enforce x0 Register Write Protection in Decoder with Verification Testbench#2390
Anubhav-30 wants to merge 1 commit intolowRISC:masterfrom
Anubhav-30:fix/x0-write-protection

Conversation

@Anubhav-30
Copy link
Copy Markdown

@Anubhav-30 Anubhav-30 commented Apr 14, 2026

This PR ensures compliance with RISC-V specification by preventing writes to the x0 register.

  • Updated write enable logic to block writes when destination register is x0
  • Maintains existing illegal instruction protections
  • Added System Verilog testbench to verify behavior

This improves architectural correctness and prevents silent data corruption.

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
1 pipeline(s) were filtered out due to trigger conditions.

@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