Computing: Free Pascal Programming

Programming Home   Home   Contact

Electronics: Binary adders simulation (LogicGates3).

Description: Electronics related application, showing how logic gates can be used to design binary adders. The program is a simple interactive simulation of a 1-bit-half-adder, a 1-bit-full-adder and a 4-bit-full-adder (such as IC 7483), where the user can choose the circuit's input by opening/closing a switch, letting the current flow 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.

Change log:
Version 1.0 (December 2019): original program
Version 1.1 (March 2020):
    - bug removal in adder4f unit (array element out of range), thus fixing the program abortion when run under Lazarus debugger
    - corrections within the circuit layouts
    - some minor code modifications

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: Binary adder simulation