This repository contains the implementation of a 2-bit CPU using Verilog. The project demonstrates the basic building blocks of a simple CPU.
To work with this project, you need to have the following installed:
- Verilog simulator (e.g., ModelSim, Icarus Verilog)
- Python (for any supplementary scripts if needed)
-
Clone the repository:
git clone https://github.com/M-krishna/2-bit-cpu.git cd 2-bit-cpu
-
Run Simulations:
- Use your preferred Verilog simulator to compile and run the test bench located in the
cpu_tb.v
file.
- Use your preferred Verilog simulator to compile and run the test bench located in the
- Expanding the instruction set.
- Adding more complex operations to the ALU.
- Implementing a more sophisticated control unit.
- Implementing Microcoded instructions.
Contributions are welcome! Feel free to open issues or submit pull requests.
This project is licensed under the MIT License.
For any questions or inquiries, please contact M-krishna.