Computing: Free Pascal Programming

Programming Home   Home   Contact

Electronics: XOR gates simulation (LogicGates2).

Description: Electronics related application, showing how Boolean algebra can be used to design XOR gates by making logical circuits constituted of a combination of NOT, AND, NAND and/or OR gates. The program is a simple interactive simulation of two such XOR implementations, where the user can choose the gate's input by opening/closing a switch, letting the current flow and observe the gate's output as a LED going on or off. To action the switches, just click on them; a green LED going on indicates that the corresponding gate input is high. The yellow LED indicate the output states of the intermediate gates, which are used as input for the final gate. The red LED at the output side of the final gate goes on or off as previewed by the XOR logic.

Change log:
Version 1.0 (June 2018): Original version.
Version 1.0.1 (December 2019): Some minor changes...

Free Pascal features: Interactively changing brush style and position of shapes. Using transparent images as "click-on areas". Filling string grids.


Electronics simulation: XOR gate made of AND, OR and NOT gates