LogiSim is a Java Swing-based logic circuit simulator developed as a semester project for Software Construction and Development.
The application allows users to create, visualize, and simulate digital logic circuits using standard components such as logic gates and connectors.
It supports multiple circuits per project, sub-circuits, and provides truth table analysis for designed circuits.
University: FAST National University of Computer and Emerging Sciences
Campus: Lahore
Semester: 5th Semester, BS Software Engineering
Course: Software Construction and Development
Instructor: Dr. Farooq Ahmed
-
Muhammad Ahmad Butt
- Roll Number: 23L-3059
- GitHub: A-git-nerd
-
Arham Basit
- Roll Number: 23L-3016
- GitHub: Arham-codes
-
Abd Ur Rehman
- Roll Number: 23L-3105
- GitHub: A-noob-in-coding
- Language: Java
- Framework: Swing (GUI), JUnit
- Build Tool: Maven, ANT
- Version Control: Git & GitHub
-
Project Management
- Create, save, and load circuit projects
- Support for multiple circuits and sub-circuits
-
Circuit Design
- Component palette with logic gates (AND, OR, NOT.)
- Connect components using wires/connectors
- Adjustable layout and component positioning
- Export circuit diagrams to PNG
-
Simulation
- Run simulations by providing input values
- Observe circuit outputs dynamically
- Generate and analyze complete truth tables
-
User Interface
- Intuitive and easy-to-use Swing-based GUI
- Layered architecture separating UI, logic, and data
Make sure you have Java Development Kit (JDK) and Apache Maven installed and properly configured in your system PATH.
You can verify installations by running these commands in your terminal:
java --version
mvn --version
ant -vjava 24.0.2
Apache Maven 3.9.11
Apache Ant(TM) version 1.10.15
-
Clone the repository:
git clone https://github.com/A-git-nerd/LogiSim.git
-
Open in IDE:
- Open the project in IntelliJ IDEA or Visual Studio Code.
- Ensure Maven dependencies are downloaded automatically.
-
Build and Run:
-
Run the project from your IDE or use the following Maven commands:
mvn compile java -cp target/classes org.scd.Main
-
© This project is developed as an academic exercise for the Software Construction and Development course. All gate PNGs used in this project are for educational purposes from Wikipedia.



