Simple logic circuit design simulator based on OOP in C++. Different gates, LEDs, keys, and wires are used to design your circuit. Just draw Your circuit and run to see the output :)
This project aims mainly to cover topics of OOP such as classes, inheritance, and polymorphism,... Components of design: Gates: ❑ Buffer gate and inverter gate ❑ 2-input AND, OR, NAND, NOR, XOR, XNOR gates ❑ 3-input AND, NOR, XOR Led Switch
Design mode Features:
- Delete components
- label components
- copy/cut components
- save the current circuit in a .txt file
- load previously saved circuits from the .txt
- Edit connection between components
Simulation mode: Run the circuit designed above to see the output on the LEDs.
The main loop of the program is in main.cpp