Logic gates

By Martin McBride, 2017-01-04

Categories: logic logic gates

Logic gates are the building blocks of a modern computer.

A logic gate is a small electronic circuit with inputs and an output. The inputs are controlled by an electrical signal which can have two states - on or off. This can represent logical values true/false, or binary digits 1 or 0.

Logic gates can be combined together to create more useful components - the components which add binary digits, count electrical pulses, or store binary data. These in turn make up the computer's registers, ALU (Arithmetic and Logic Unit) and memory.

To understand these components, you first need to understand how basic logic gates work.

See also

Sign up to the Creative Coding Newletter

Join my newsletter to receive occasional emails when new content is added, using the form below:

Popular tags

555 timer abstract data type abstraction addition algorithm and gate array ascii ascii85 base32 base64 battery binary binary encoding binary search bit block cipher block padding byte canvas colour coming soon computer music condition cryptographic attacks cryptography decomposition decryption deduplication dictionary attack encryption file server flash memory hard drive hashing hexadecimal hmac html image insertion sort ip address key derivation lamp linear search list mac mac address mesh network message authentication code music nand gate network storage none nor gate not gate op-amp or gate pixel private key python quantisation queue raid ram relational operator resources rgb rom search sort sound synthesis ssd star network supercollider svg switch symmetric encryption truth table turtle graphics yenc