NOT gates
Categories: logic logic gates
An NOT gate is a little different, as it only has one input and one output.
The input can have a value of 0 or 1.
The state of the input controls the state of the output. The output value is 1 if the input is 0, and it is 0 if the input is 1. In other words, the output value is the opposite of the input value.
We call it a NOT gate, because if the input is true, the output is NOT true, and vice versa. NOT gates are sometimes called inverting gates (because they invert the logical sense of the input), and we sometimes use the term negative logic when we are talking about NOT gates. All these different terms mean the same thing.
Symbol
Here is the symbol for an NOT gate. The input is labelled A, the output is labelled Q.
Truth table
A truth table is a table which shows all possible combinations of input A, and the resulting value of the output, Q. Since there is only one input, there are only 2 possible states:
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