Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

16-bit RISC Processor using Verilog HDL

πŸ“Œ Overview

This project implements a 16-bit Reduced Instruction Set Computer (RISC) Processor using Verilog HDL. The processor follows a modular architecture, where each hardware component is designed and verified independently before system integration.

The design was developed and simulated using Xilinx Vivado 2017.2, demonstrating the working of fundamental processor components including the ALU, Register File, Program Counter, Control Unit, and Instruction Decoder.


✨ Features

  • 16-bit RISC Processor architecture
  • Modular Verilog HDL implementation
  • Arithmetic Logic Unit (ALU)
  • Register File
  • Program Counter
  • Instruction Decoder
  • Control Unit
  • RAM Interface
  • Functional simulation using Vivado
  • RTL schematic generation

πŸ› οΈ Tools & Technologies

  • Verilog HDL
  • Xilinx Vivado 2017.2
  • Digital Logic Design

πŸ“‚ Project Structure

16-bit-RISC-Processor/
β”‚
β”œβ”€β”€ Source_Code/
β”‚   β”œβ”€β”€ alu.v
β”‚   β”œβ”€β”€ ctrl_unit.v
β”‚   β”œβ”€β”€ fake_ram.v
β”‚   β”œβ”€β”€ inst_dec.v
β”‚   β”œβ”€β”€ pc_unit.v
β”‚   └── reg_file.v
β”‚
β”œβ”€β”€ Testbench/
β”‚
β”œβ”€β”€ Images/
β”‚   β”œβ”€β”€ RTL_Schematic.png
β”‚   └── Simulation.png
β”‚
β”œβ”€β”€ Documentation/
β”‚   └── 16-bit_RISC_Processor_Report.pdf
β”‚
└── README.md

🧩 Processor Modules

  • Arithmetic Logic Unit (ALU)
  • Control Unit
  • Instruction Decoder
  • Register File
  • Program Counter
  • Fake RAM Module

πŸ— RTL Schematic

The RTL schematic generated by Xilinx Vivado illustrates the hardware architecture and interconnection of the processor modules.

RTL Schematic


πŸ“Š Simulation Result

The simulation waveform validates the functionality of the processor by demonstrating correct signal transitions and module interactions.

Simulation


▢️ How to Run

  1. Open Xilinx Vivado 2017.2.
  2. Create a new Verilog project.
  3. Add all files from the Source_Code directory.
  4. Add the testbench files from Testbench.
  5. Run Behavioral Simulation.
  6. Verify the output waveform.
  7. Open Elaborated Design to view the RTL schematic.

πŸ“š Learning Outcomes

  • Verilog HDL Programming
  • Processor Architecture
  • RTL Design
  • Digital System Design
  • Hardware Module Integration
  • Testbench Development
  • Functional Simulation
  • RTL Analysis using Vivado

πŸš€ Future Improvements

  • Instruction Memory
  • Data Memory
  • Pipeline Architecture
  • Hazard Detection
  • Forwarding Unit
  • FPGA Implementation

πŸ‘¨β€πŸ’» Author

Dhruv Balsara

Electronics & Telecommunication Engineering Student
Dwarkadas J. Sanghvi College of Engineering (DJSCE), Mumbai

About

A 16-bit RISC Processor designed using Verilog HDL and implemented in Xilinx Vivado.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages