Skip to content

instruction decode

Ruige Lee edited this page Jan 26, 2021 · 2 revisions

instruction-decode

Instruction decoder is just a lookup table implemented in combination logic, which fan out 32-bits (or 16 bits) instructions into micro-op, imm, rs1, rs2, rd0, and so on.

The RCV checked in pre-decode will decide which decoder is used, 16bits or 32bits.

After decoder, there is an instruction FIFO before the dispatch-stage, which directly decouples the frontend and backend.