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
- FPGA-Based Design and Verification of a Hazard-Aware Pipelined RISC-V Processor with an Optimized APB Interface for Ethernet ApplicationsChips · 2026
- Minimum RISC-V: Maximum FPGA EfficiencyarXiv · 2026
- Reproducibility in open-source RISC-V HW flowsarXiv · 2026
- IOb-SoC-Linux: An Open-Source, Linux-Capable RISC-V SoC Template for IP Core DevelopmentElectronics · 2026
- An Open-Source Evaluation Framework for RISC-V Co-Design-Based Decimal ArithmeticSignals · 2026
- Design and implementation of a high-speed reversible arithmetic logic unit for power-efficient computingDiscover Electronics · 2026