A GUI application for simulating basic logic gates using nodes.
- Intuitive drag-and-drop interface for creating logic circuits
- Support for multiple logic gates (AND, OR, NOT, NAND, NOR, XOR, XNOR)
- Input and output nodes for interaction
- File operations (New, Open, Save)
- Edit operations (Undo, Redo, Cut, Copy, Paste, Delete)
- Theming options
- Python 3.8 or higher
- pip (Python package installer)
- Clone this repository:
git clone https://github.com/unichronic/Logic-gate-simulator.git
cd LogicGateSimulator
- Install the required dependencies:
pip install -r requirements.txt
OR
conda env create -f environment.yml
conda activate gatesim
Execute the following command from the project root directory:
python src/main.py
- Drag logic gate nodes from the side panel to the main window
- Connect nodes by clicking and dragging between connection points
- Set input values and observe the output
- Save your circuits for later use
- Write Output using the write output button.