This project presents the design and simulation of a RISC-V 5-stage pipelined processor based on the Reduced Instruction Set Computing (RISC) architecture. The processor operates through five stages: Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Write Back (WB), enabling instruction-level parallelism and improved performance. The design is implemented using Verilog HDL and includes key modules such as the Program Counter, Instruction Memory, Register File, Immediate Generator, ALU, Data Memory, Pipeline Registers, and Control Unit. The ALU Control Unit interprets funct3 and funct7 fields to generate required operations, while the main controller ensures proper control signal flow. Hazard detection and data forwarding units are incorporated to handle pipeline hazards effectively. Functional verification using testbench simulations confirms correct instruction execution and register updates. This modular design supports scalability, with future enhancements including branch prediction, cache integration, and FPGA-based real-time implementation.
ThriftBooks sells millions of used books at the lowest everyday prices. We personally assess every book's quality and offer rare, out-of-print treasures. We deliver the joy of reading in recyclable packaging with free standard shipping on US orders over $20. ThriftBooks.com. Read more. Spend less.