kaiwen-z.github.io

Simple Logic Circuit Simulator with truth table generator

This is a simple logic circuit simulator with realtime circuit simulation for combinational and sequential circuits. The simulator can also produce truth tables and boolean equations expressing the simulated circuit.

Simple logic sim is written in entirely in javascript, and relies on HTML5 Canvas to render. Jquery libraries are imported for the purpose of easier form input.

Demo

A live demo version is available HERE!.

Tools

Add - brings up GUI to select a component to add

Remove - Click on a component or wire to delete from the sim

Move - Click and drag components to move them around

Logic Input (click to toggle value)

Logic Output (Required to generate truth tables)

Features

Generate truth tables of your circuit

Select between straight and square wire appearance

Change simulation speed to see logic circuits in action

Documentation

Currently WIP but here are some tips:

Author

👤 kaiwen-z

License

MIT