Computing: Free Pascal Programming

Electronics: Binary incrementers and decrementers.

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

Description: Electronics application, showing how logic gates can be used to design binary incrementers and decrementers. The program is a simple interactive simulation of a 4-bit incrementer (simplified 4-bit adder), a 4-bit decrementer (simplified 4-bit subtractor), a 4-bit incrementer-decrementer (simplified 4-bit adder-subtractor) and a 4-bit incrementer, build by contraction of a 4-bit full-adder, showing how considering the Boolean formulas, describing a circuit, and the simplifications that they lead to in particular circumstances, allows to make circuits with lots less components than the one, you started from (just an inverter, 3 AND and 3 XOR gates to make the incrementer included with the LogicGates8 application). To run the simulations, choose the circuit's input by opening/closing the switches, letting the current flow or not and observe the output as LEDs going on or off. To action the switches, just click on them. LEDs with solid color indicate high voltage, LEDs with a pattern color, low voltage.
The application doesn't include any mathematics or electronics help text. Those, who aren't really familiar with binary numbers, binary arithmetic, Boolean algebra or logic gates based electronic circuits, may want to try my other logic gates applications, in particular Binary subtractors simulation that contains a rather long help document concerning these topics.

Change log:
Version 1.0 (May-June 2021): Original program.
Version 1.0.1 (September 2021):
    - Circuit drawing optimisation (proper display).

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". Using digits sub-scripts. Boolean operations (classic Pascal).


Electronics circuits PC application: Binary incrementer simulation