Computing: Free Pascal Programming

Electronics: SR and D-type latches simulation.

Download LogicGates5 desktop application (Windows 64bit) Download LogicGates5 source code (Lazarus/Free Pascal)

Description: Electronics related application, showing how logic gates can be used to design common electronic circuits. The program is a simple interactive simulation of a variety of RS and D-type latches, using NAND or NOR gates, with or without being gated (controlled by an Enable signal). The user chooses the circuit's input by opening/closing a switch, letting the current flow and observe the output as LEDs going on or off. Explanation of the latches' functionality and truth tables included.

Free Pascal features: Combining images and shapes to create layouts. Interactively changing brush style and position of shapes. Using transparent images as "click-on areas". Boolean operations (classic Pascal).


Electronics simulation: Gated NAND gates SR latch
Electronics simulation: NOR gates D-type latch