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.
- Host: GitHub
- URL: https://github.com/mohdamirwebdeveloper/digital-circuit-simulator-python
- Owner: mohdamirwebdeveloper
- Created: 2025-04-05T15:45:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-05T15:46:26.000Z (about 1 year ago)
- Last Synced: 2025-04-05T16:32:26.254Z (about 1 year ago)
- Language: Python
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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