ITM Web of Conferences

Three-Stage Pipelined RISC-V Processor Core with Data Forwarding

Mingjun Xie

Key points

From the paper's conclusion
  • This paper presents a three- stage pipelined RISC-V processor core implementing a significant subset of the RV32I base integer instruction set, including I-type immediate operations, R-type register operations, B-type branches, J-type jumps, and U-type upper immediate instructions.

Abstract

RISC-V has emerged as the most popular open-source instruction set architecture for embedded systems, edge computing, and academic prototyping and research due to its simplicity, modularity, and lack of licensing fees. Pipelined processors increase throughput but introduce data hazards that must be resolved. This paper presents a three- stage pipelined RISC-V processor core implementing a significant subset of the RV32I base integer instruction set, including I-type immediate operations, R-type register operations, B-type branches, J-type jumps, and U-type upper immediate instructions. A forwarding mechanism is introduced into the execute stage to resolve read after write (RAW) hazards without stalls. The processor is described using Verilog HDL and validated against the official RISC-V ISA test suite. All implemented instructions pass the tests, confirming correct decoding of instructions, correct arithmetic logic unit (ALU) operations, proper branch/jump control, and testing the forwarding datapath. The design has a clear three-stage pipeline, two pipeline registers, and a 32×32 bit register file with two read ports and one write port, and is synthesizable. The concept can provide an initial baseline for RISC-V implementations, with future work including adding load/store instructions and the M extension, plus field-programmable gate array (FPGA) synthesis for timing and resource use measurements.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers