Module hazardflow_designs::cpu::riscv_isa
source · Expand description
RISC-V Instruction. Currently supports
- RV32I Base Instruction Set
- RV32/RV64 Zicsr Standard Extension
- Partial RISC-V Privileged Instruction Set including:
- Trap-Return Instructions
- Interrupt-Management Instructions
Structs
- Branch information.
- Decoded instruction.
Enums
- Branch type.
- ALU first operand data selector.
- ALU second operand data selector.
- Writeback selector.
Constants
- CSR Address is 12-bit.
- Number of registers.
Functions
- Extracts immediate for B-type instruction.
- Extracts immediate for J-type instruction.