🖥️ 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
🧑🤝🧑 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.
