Design and Implementation of Three-stage RISC-V Microprocessor for Education
DOI:
https://doi.org/10.64552/wipiec.v12i2.150Keywords:
RISC-V, RV32I, soft processor, microprocessor, FPGA, pipelined processorAbstract
In many computer science and embedded systems courses, processor architecture is typically introduced using either the classical five-stage RISC pipeline or the two-stage AVR pipeline. While these architectures provide a strong introduction to bare-metal programming and computer organization, they do not necessarily represent the most practical or accessible approach for teaching modern processor architectures. In particular, traditional five-stage pipelines often introduce considerable control and forwarding complexity, while compact microcontroller architectures may obscure fundamental pipeline behavior and instruction flow.
This paper presents X3S, a work-in-progress 32-bit pipelined RISC-V softprocessor core originally developed as author’s engineering thesis. The design adopts a simple three-stage pipeline intended to balance architectural clarity, implementation complexity, and achievable operating frequency on Field Programmable Gate Array (FPGA) devices. X3S implements the RV32I base integer instruction set together with the M extension for multiplication and division operations. Multi-cycle arithmetic
accelerators are integrated into the execution pipeline using a handshake-based interface.
References
Microchip Technology Inc., Avr instruction set manual, 8-bit AVR architecture reference, n.d. Accessed: May 21, 2026. [Online]. Available: https://ww1.microchip.com/downloads/en/DeviceDoc/AVR-InstructionSet-Manual-DS40002198.pdf
Microchip Technology Inc., Atmega328p datasheet, AVR microcontroller documentation, n.d. Accessed: May 21, 2026. [Online]. Available: https://ww1.microchip.com/ downloads/en/DeviceDoc/ATmega328P Datasheet.pdf
Arm Ltd., Armv7-m architecture reference manual, Cortex-M architecture reference, n.d. Accessed: May 21, 2026. [Online]. Available: https://developer.arm.com/documentation/ddi0403/latest/
S. L. Harris and D. M. Harris, Digital Design and Computer Architecture: RISC-V Edition, 2nd ed. Morgan Kaufmann, 2021.
Jan Ber. “X3s risc-v soft processor core.” Open-source FPGA soft-core implementation, Accessed: May 21, 2026. [Online]. Available: https://codeberg.org/jber/little-risc-v-softcore
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Jan Ber

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
License Terms:
Except where otherwise noted, content on this website is lincesed under a Creative Commons Attribution Non-Commercial License (CC BY NC)
![]()
Use, distribution and reproduction in any medium, provided the original work is properly cited and is not used for commercial purposes, is permitted.
Copyright to any article published by WiPiEC retained by the author(s). Authors grant WiPiEC Journal a license to publish the article and identify itself as the original publisher. Authors also grant any third party the right to use the article freely as long as it is not used for commercial purposes and its original authors, citation details, and publisher are identified, in accordance with CC BY NC license. Fore more information on license terms, click here.