Editing 2497: Logic Gates
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 8: | Line 8: | ||
==Explanation== | ==Explanation== | ||
− | + | {{incomplete|Created by a SILICON LOGIC GATE TO A DIFFERENT DIMENSION. Please mention here why this explanation isn't complete. Do NOT delete this tag too soon.}} | |
− | + | The comic lists logic gates. The first six are real, but the last six are made up and get increasingly absurd. The names for these last six are made up of the same letters and syllables as the first six so as to appear at a glance to be consistent with their naming conventions. | |
{| class="wikitable" | {| class="wikitable" | ||
Line 17: | Line 17: | ||
|- | |- | ||
|{{w|AND gate}} | |{{w|AND gate}} | ||
− | |An AND gate outputs true if and only if both inputs are true. (Inputs 1 '''and''' 2 must be true.) | + | |An AND gate outputs true if and only if both inputs are true. (Inputs 1 '''and''' 2 must be true.) By convention it is a symbol with a flat input end leading to a semicircular output end. |
− | |||
− | By convention it is a symbol with a flat input end leading to a semicircular output end. | ||
|- | |- | ||
|{{w|OR gate}} | |{{w|OR gate}} | ||
− | | An OR gate outputs true if one or the other or both of the inputs are true. (Input 1 '''or''' 2 may be true.) | + | | An OR gate outputs true if one or the other or both of the inputs are true. (Input 1 '''or''' 2 may be true.) By convention it is a symbol with a concave input edge leading to an output end resembling a gothic pointed-arch, reorientated as required. |
− | |||
− | By convention it is a symbol with a concave input edge leading to an output end resembling a gothic pointed-arch, | ||
|- | |- | ||
|{{w|NOT gate}} | |{{w|NOT gate}} | ||
− | |A NOT gate outputs true if and only if the input is false. (The sole input must '''not''' be true.) | + | |A NOT gate outputs true if and only if the input is false. (The sole input must '''not''' be true.) The convention for the isolated NOT gate is to be a triangle (reminiscent of a diode or op-amp comparator), that conspicuously points in the direction of logical passage, tipped with the small circle that is considered a short-cut for ''not''ness in other relevant symbols. The XAND GORT gate could be considered a NOT gate with two wires shorted together connected to its input. |
− | |||
− | The convention for the isolated NOT gate is to be a triangle (reminiscent of a diode or op-amp comparator), that conspicuously points in the direction of logical passage, tipped with a | ||
|- | |- | ||
|{{w|NOR gate}} | |{{w|NOR gate}} | ||
− | |A NOR gate outputs true if and only if both inputs are false. (Neither 1 '''nor''' 2 must be true; alternately interpreted as it must '''n'''ot be true that either 1 '''or''' 2 are true.) | + | |A NOR gate outputs true if and only if both inputs are false. (Neither 1 '''nor''' 2 must be true; alternately interpreted as it must '''n'''ot be true that either 1 '''or''' 2 are true.) The symbol is the OR shape with the NOT-circle at its tip. |
− | |||
− | The symbol is the OR shape with the NOT-circle at its tip. | ||
|- | |- | ||
|{{w|XOR gate}} | |{{w|XOR gate}} | ||
− | |A XOR (short for | + | |A XOR (short for “eXclusive OR”) gate outputs true if one, or the other, but not both of the inputs are true. (Mutually e'''x'''cusively, either 1 '''or''' 2 must be true.) This symbol is the standard OR one but with a further concave line stood-off slightly from the usual one to connect to the input lines. |
− | |||
− | This symbol is the standard OR one but with a further concave line stood-off slightly from the usual one to connect to the input lines | ||
|- | |- | ||
|{{w|NAND gate}} | |{{w|NAND gate}} | ||
− | |A NAND (short for | + | |A NAND (short for “Not AND”) gate outputs true if one or the other or both of the inputs is false. (It must '''n'''ot be true that both 1 '''and''' 2 are true.) The symbol is the AND gate with the NOT-circle at its tip. |
− | |||
− | The symbol is the AND gate with the NOT-circle at its tip. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | The only real-life logic gate that was omitted is the XNOR gate (short for | + | The only real-life logic gate that was omitted is the XNOR gate (short for “eXclusive Not OR”; it compares the inputs, and if and only if they are equal, it outputs true). Note that the "NORG XORT" gate would be logically equivalent to it if it were tipped to match its uniquely XOR-style tail, since it would then be an XNOR gate with NOT on both inputs, a modification that has no ultimate effect on the logic as it merely switches the case of which exclusivity it needs to be, and does not care which version of same-input it might be responding to. |
− | A double-NOT on an input would produce the identical output again (...if the input is '''not not''' true). Two NOTs preapplied to a (N)AND or (N)OR would produce the same output as a (further-) | + | A double-NOT on an input would produce the identical output again (...if the input is '''not not''' true). Two NOTs preapplied to a (N)AND or (N)OR would produce the same output as a (further-)NOTted version of the (N)OR or (N)AND, conversly (...if '''not'''-1 '''and''' '''not'''-2 then this also means that neither 1 '''nor''' 2). Normally this would would be shown, if necessary, as full NOT gates on the lead-in inputs but (see Transcript, below, and the NORG XORT description above) the shortcut element is occasionally used in further mix'n'match symbology (together with reinterpreting connectivity lines as partial shape-edges and vice-versa) in 'understandable' but definitely non-standard ways. |
Along with the deliberate confusion of connector and shape-edge lines, directionality is also played with in several cases, with input 'ends' perhaps also at the (implied) output end and reversed sub-symbols implying a composite gate with substructural feedback or perhaps diode-rectification upon a bidirectional logic path. | Along with the deliberate confusion of connector and shape-edge lines, directionality is also played with in several cases, with input 'ends' perhaps also at the (implied) output end and reversed sub-symbols implying a composite gate with substructural feedback or perhaps diode-rectification upon a bidirectional logic path. | ||
Line 106: | Line 44: | ||
Much like [[2360: Common Star Types]], as the list progresses, the names start to sound more like mythical creatures, closing with the "Norxondor gorgonax". As with the symbology, the names appear to be nonsensical recombinations of the standard ones (perhaps with off-subject inspirations, in some cases) but often do not match up with the symbolic (mis)use, such as an X in the name not implying/being implied by an XOR's unique drawn feature. | Much like [[2360: Common Star Types]], as the list progresses, the names start to sound more like mythical creatures, closing with the "Norxondor gorgonax". As with the symbology, the names appear to be nonsensical recombinations of the standard ones (perhaps with off-subject inspirations, in some cases) but often do not match up with the symbolic (mis)use, such as an X in the name not implying/being implied by an XOR's unique drawn feature. | ||
− | In the title text [[Randall]] claims that in the {{w|C (programming language)|programming language C}} the {{w|multiocular O}} (ꙮ) character | + | In the title text [[Randall]] claims that in the {{w|C (programming language)|programming language C}} the {{w|multiocular O}} (ꙮ) character is used to represent the bitwise version of the last operator Norxondor gorgonax (presumably ꙮꙮ represents the non-bitwise version), fitting as the multiocular O is used to refer to "many-eyed {{w|seraphim}}" (i.e. angels) in some religious literature. {{w|Gorgon}}s (beige or otherwise) have heads covered with snakes instead of hair, and so possess multiple eyes, the most famous was known as {{w|Medusa}} (which was [https://www.explainxkcd.com/wiki/images/e/e5/1608_1088x1074y_Medusa_and_floating_earth.png depicted] in [[1608: Hoverboard]]). The character abstractly inspires ideas of great otherworldly demons like those of the Cthulhu mythos. |
− | C is a low | + | C is a low level programming language, and as such, it has many operations that correspond to logical (i. e. bitwise) operations. These contrast with operations that work in a non-bitwise way. For example, "&&" is the non-bitwise "AND" operator that takes the operands as a whole, while "&" is the bitwise "AND" that combines the respective bits of its two inputs independently before spitting out the new single composite value the output bits represent. In non-bitwise operations, 0 always represents "FALSE", while any non-zero value means "TRUE" for inputs, and 1 is used to represent TRUE for outputs. Thus, "14 && 3" gives the result 1: TRUE AND TRUE -> TRUE. In the bitwise operation, using the same values, the decimal value 14 has the binary value 1110 and the decimal value 3 has the binary value 0011, and for this example we get: |
1110 = 14 | 1110 = 14 | ||
& <u>0011</u> = 3 | & <u>0011</u> = 3 | ||
Line 154: | Line 92: | ||
:[An unusual symbol. The symbol is identical to the NOR GATE, except the upper and lower horizontal parts of the symbols hull have a NOT GATE placed on them - one pointing to the left on the upper line, and to the right on the lower line. There is one output to the symbol, with a bubble attached.] | :[An unusual symbol. The symbol is identical to the NOR GATE, except the upper and lower horizontal parts of the symbols hull have a NOT GATE placed on them - one pointing to the left on the upper line, and to the right on the lower line. There is one output to the symbol, with a bubble attached.] | ||
:NORXONDOR gorgonax | :NORXONDOR gorgonax | ||
− | |||
− | |||
− | |||
− | |||
− | |||
{{comic discussion}} | {{comic discussion}} | ||
Line 164: | Line 97: | ||
[[Category:Charts]] | [[Category:Charts]] | ||
[[Category:Programming]] | [[Category:Programming]] | ||
− |