An open API service indexing awesome lists of open source software.

https://github.com/mohdamirwebdeveloper/digital-circuit-simulator-python

A lightweight simulator for digital logic circuits including basic gates (AND, OR, NOT, NAND, NOR, XOR), a Full Adder, and a 4-bit Array Adder. Designed to help visualize Boolean expressions and circuit behavior interactively.
https://github.com/mohdamirwebdeveloper/digital-circuit-simulator-python

Last synced: about 1 year ago
JSON representation

A lightweight simulator for digital logic circuits including basic gates (AND, OR, NOT, NAND, NOR, XOR), a Full Adder, and a 4-bit Array Adder. Designed to help visualize Boolean expressions and circuit behavior interactively.

Awesome Lists containing this project

README

          

# ๐Ÿง  Digital Circuit Simulator (Python)

A Python-based simulator to model and visualize digital logic circuits. This tool supports simulation of:

- Basic Logic Gates: `AND`, `OR`, `NOT`, `NAND`, `NOR`, `XOR`
- Full Adder Circuit
- 4-bit Array Adder for binary addition
- Evaluation of Boolean expressions

This simulator is ideal for students, educators, and hobbyists looking to explore digital logic design and Boolean algebra.

---

## ๐Ÿš€ Features

- ๐Ÿ”Œ Simulate core digital gates
- โž• Full Adder logic implementation
- ๐Ÿงฎ 4-bit Array Adder using chained Full Adders
- ๐Ÿ“œ Evaluate custom Boolean expressions
- ๐Ÿงช CLI-based interactive testing

---

## ๐Ÿ“ฆ Requirements

- Python 3.6+
- No external dependencies (pure Python)

---

## โ–ถ๏ธ How to Run

1. Clone the repository:
```bash
git clone https://github.com/mohdamirwebdeveloper/digital-circuit-simulator.git
cd digital-circuit-simulator-python