Welcome to the RISC-V Single-Cycle Processor project!
This repository contains a Verilog implementation of a basic RISC-V processor designed to execute instructions in a single clock cycle. Ideal for learning core computer architecture concepts .
This project demonstrates:
- Implementation of core RISC-V RV32I instructions.
- Integration of ALU, Control Unit, Register File, Data & Instruction Memory.
- Simulation-based functional verification using testbenches.
- Simple yet powerful architecture enabling quick instruction execution.
- Program Counter (PC) and instruction fetch logic.
- Immediate Generator and ALU Control.
- Data Memory with read/write capabilities.
- Branch and Jump instruction handling.
- Single-cycle datapath architecture.
- Testbench for simulation verification.
A simple RISC-V assembly program is included that computes the sum of the first 10 natural numbers using a loop.
riscv32_singlecycle.vβ Top module integrating the processor.alu.v,control_unit.v,reg_file.v, etc. β Core modules.instruction_memory.memβ Sample program instructions in machine code.data_memory.memβ Data memory initialization file.testbench.vβ Testbench for simulation.Report.pdfβ Detailed design and implementation report.
- Hemanth S (https://github.com/hemanth028)
- Naveen Kumar B (https://github.com/naveen20306)
- Sabarish Mohan JS (https://github.com/sabarishmohanjs)
- Implement pipelining to improve performance by overlapping instruction execution stages.
- Sarah Harris, Digital Design & Computer Architecture (RISC-V Edition)
π Happy Learning and Designing!