Skip to content

decoder: Prevent memory side-effects on taken branch and add verification testbench#2386

Open
Anubhav-30 wants to merge 1 commit intolowRISC:masterfrom
Anubhav-30:fix/branch-flush-safety
Open

decoder: Prevent memory side-effects on taken branch and add verification testbench#2386
Anubhav-30 wants to merge 1 commit intolowRISC:masterfrom
Anubhav-30:fix/branch-flush-safety

Conversation

@Anubhav-30
Copy link
Copy Markdown

This PR improves pipeline safety by ensuring that no memory
requests are issued when a branch is taken.

This avoids unintended memory accesses during control flow changes.

A testbench is added to verify that data_req_o and data_we_o
are correctly disabled when branch_taken_i is asserted.

This aligns the decoder behavior with real hardware expectations
and improves pipeline correctness.

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.

1 participant