Skip to content

This project is a custom-designed 4-bit Nano Processor built using VHDL. It simulates the core functionalities of a basic CPU, executing arithmetic, bitwise, and control operations.

Notifications You must be signed in to change notification settings

Ifaz-Ikram/Nano-Processor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🖥️ Nano Processor (4-bit VHDL CPU)

This project is a custom-designed 4-bit Nano Processor built using VHDL. It simulates the core functionalities of a basic CPU, executing arithmetic, bitwise, and control operations.

🚀 Key Features

Supports 4-bit operations with 8 general-purpose registers

Arithmetic instructions: ADD, NEG

Bitwise instructions: AND, OR, XOR, NOT

Program flow control: Conditional jumps (JZR)

Custom instruction decoder and program ROM

Seven Segment Display output for visualization

⚙️ Components

Program ROM

Program Counter (PC)

3-bit Adder

2-way 3-bit Multiplexer

Instruction Decoder

Register Bank

4-bit Registers

8-way 4-bit Multiplexer

2-way 4-bit Multiplexer

4-bit Add/Subtract Unit

Bitwise Operator

Half Adder and Full Adder Units

Slow Clock Generator

Seven Segment Display Decoder

📸 Project Overview

alt text

🧑‍🤝‍🧑 Team Members

This project was completed as part of a semester project with:

Rashmika

Hasini

Maleesha

Ifaz

🔧 How to Run

Open the project in ModelSim / Vivado / Quartus (any VHDL simulator).

Load the src/ files into the workspace.

Compile and run the testbench.

Observe outputs in waveform viewer or seven-segment display simulation.

📖 Learning Outcomes

Gained hands-on experience in VHDL coding and simulation

Improved understanding of processor architecture & digital design

Practiced teamwork and project documentation

📜 License

This project is for educational purposes. Feel free to fork, study, and improve it.

About

This project is a custom-designed 4-bit Nano Processor built using VHDL. It simulates the core functionalities of a basic CPU, executing arithmetic, bitwise, and control operations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • VHDL 57.9%
  • Tcl 22.1%
  • JavaScript 13.2%
  • Shell 4.3%
  • Batchfile 2.3%
  • Pascal 0.2%