Skip to content

Latest commit

 

History

History
24 lines (24 loc) · 687 Bytes

README.md

File metadata and controls

24 lines (24 loc) · 687 Bytes

RISC-V processor in a week!

Features

  • Almost fully support for RV32I instruction set (excluding CSRs and FENCEs)
  • 5 stage pipeline with efficient data forwarding
  • Branch in EX stage
  • Implementation verified on Basys 3 dev-board (Xilinx Artix-7 FPGA) running at 100MHz
  • Compatible with the popular RISC-V assembler Jupiter

ISA

U-type J-type B-type I-type S-type R-type
LUI JAL BEQ LB SB ADD
AUIPC BNE LH SH SUB
BLT LW SW SLL
BGE LBU SLT
BLTU LHU SLTU
BGEU ADDI XOR
SLTI SRL
SLTIU SRA
XORI OR
ORI AND
ANDI
SLLI
SRLI
JALR