Coder Social home page Coder Social logo

lgsproj's Introduction

Project: Logic Gate Simulator
Name: Akash Patil
MIS: 111508005
 
This application implements a Basic Logic Gate Simulator. 
The application consists of panel, grid and menu bar. The panel allows the user to select input and output controls and a range of logic gates (AND, OR, NOT, NAND, NOR, XOR, XNOR) to be displayed on a grid. On selecting a gate, another windows pops up which asks the user to select the number of inputs (2,3 or 4) for that particular gate and displays the gate with desired number of inputs on the grid. After the gate is displayed on the grid, the user can drag and drop the gate in the grid itself.
There are two modes of grid. On Selecting 'start' in option menu, the user cannot move any widget in the grid. On selecting 'stop', the user can move or drag and drop widgets in the grid.
To connect a switch/toggle to a gate, click on the end point on the input line where the terminal displays a message "Click the switch/toggle to be connected" and then click on the switch. The switch moves to those coordinates. Similar approach for output switches/toggles.
The 'New' option in the 'File' option in the Menu bar clears the grid to start with a new circuit and the 'Exit' option closes the application.

TO BE NOTED: The gates have created using the goocanvas library which allows us to create our own widgets with events.
     
NOTE: Do not move/resize the main window as the drag and drog of widgets is based on the coordinates of the widget with respect to the screen.

lgsproj's People

Contributors

akashpatil7 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.