Skip to content

Decode Stage

Vasil Bogdev edited this page Sep 26, 2024 · 1 revision

The decode stage is pretty standard, the only thing of note is that if the decode stage detects that the branch predictor predicted that the current instruction is a taken branch when it is not a branch the decoder will send feedback to the fetch stage to get the correct instruction. Other than this, it is a pretty straightforward riscv decoder module.

Clone this wiki locally