Skip to content

M-krishna/2-bit-cpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2-bit CPU

Overview

This repository contains the implementation of a 2-bit CPU using Verilog. The project demonstrates the basic building blocks of a simple CPU.

Prerequisites

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)

Getting Started

  1. Clone the repository:

    git clone https://github.com/M-krishna/2-bit-cpu.git
    cd 2-bit-cpu
  2. Run Simulations:

    • Use your preferred Verilog simulator to compile and run the test bench located in the cpu_tb.v file.

Future Work

  • Expanding the instruction set.
  • Adding more complex operations to the ALU.
  • Implementing a more sophisticated control unit.
  • Implementing Microcoded instructions.

Contributions

Contributions are welcome! Feel free to open issues or submit pull requests.

License

This project is licensed under the MIT License.

Contact

For any questions or inquiries, please contact M-krishna.