Is there an issue? Send a MessageReason:
Is there an issue? Send a MessageReason:
None
Changed line(s) 38 (click to see context) from:
'''NAND''': If all inputs are 1, the output is 0; the opposite of AND. This is one of the universal logic operations, which can create any other logic operation. Most commonly used in UsefulNotes/FlashMemory.
to:
'''NAND''': If all inputs are 1, the output is 0; the opposite of AND. This is one of the universal logic operations, which can create any other logic operation. Most commonly used in UsefulNotes/FlashMemory.MediaNotes/FlashMemory.
Changed line(s) 75 (click to see context) from:
Note in this example for inputs 11, it produces the output 00, which makes Q = Q-not.
to:
Note in this example for inputs 11, it produces the output 00, which makes Q = Q-not.
Is there an issue? Send a MessageReason:
None
Changed line(s) 53 (click to see context) from:
* Outside of computing, it's often written as "iff", for "if and only if", because one is true ''if and only if'' the other one is too.
to:
* Outside of computing, it's often written as "iff", for "if and only if", because one is true ''if and only if'' the other one is too. This makes it useful as a voter gate (i.e., both inputs must agree before giving an output)
Is there an issue? Send a MessageReason:
Revised XNOR\'s definition.
Changed line(s) 52 (click to see context) from:
'''XNOR''': Outputs a 1 if all inputs are the same value.
to:
'''XNOR''': Outputs a 1 if For two-input operation, all inputs are must be the same value.to output a 1; the opposite of a XOR. Otherwise the number of inputs that are 1 must be even to output a 1.
Is there an issue? Send a MessageReason:
Rewritten the explanation of logic operations to be more generic, mostly to get rid of the \"multiple inputs\" line. Also revised the defintion of a flipflop
Changed line(s) 3,4 (click to see context) from:
Below is a list of all the operations that can be done. All operations but "NOT" take in two inputs and spit out one output.
to:
Below is a list of all the operations that can be done. All operations but "NOT" take in Example outputs are assuming either one or two inputs. Multiple inputs and spit out one output.
of the same logic gate can be reduced to a chain of two-input versions.
Deleted line(s) 18 (click to see context) :
* For multi-input OR gates, outputs 1 if at least one input is 1.
Changed line(s) 23 (click to see context) from:
'''AND''': Both inputs must be 1 for the output to be 1.
to:
'''AND''': Both All inputs must be 1 for the output to be 1.
Deleted line(s) 27 (click to see context) :
* For multi-input AND gates, outputs 1 if all inputs are 1.
Changed line(s) 32 (click to see context) from:
'''XOR (Exclusive OR)''': Both inputs must be different for the output to be 1.
to:
'''XOR (Exclusive OR)''': Both For two-input XOR operations, both inputs must be different for the to output a 1. Otherwise, the number of inputs that are 1 must be odd to be output a 1.
Deleted line(s) 36 (click to see context) :
* For multi-input XOR gates, outputs 1 if there are an odd number of 1's.
Changed line(s) 41 (click to see context) from:
'''NAND''': Same as the AND operation, but the output is inverted. One of the universal logic operations (you can do any of these operations with NAND gates). Most commonly used in UsefulNotes/FlashMemory.
to:
'''NAND''': Same as the AND operation, but If all inputs are 1, the output is inverted. One 0; the opposite of AND. This is one of the universal logic operations (you operations, which can do create any of these operations with NAND gates).other logic operation. Most commonly used in UsefulNotes/FlashMemory.
Deleted line(s) 44 (click to see context) :
* For multi-input NAND gates, outputs 0 if all inputs are 1.
Changed line(s) 49 (click to see context) from:
'''NOR''': Same as the OR operation, but the output is inverted. The other universal logic operation.
to:
'''NOR''': Same as the OR operation, but If any input is 1, the output is inverted. The 0; the opposite of OR. This is the other universal logic operation.operation and was used in flash memory.
Deleted line(s) 52 (click to see context) :
* For multi-input NOR gates, outputs 0 if at least one input is 1.
Changed line(s) 57 (click to see context) from:
'''XNOR''': Same as the XOR, but the output is inverted.
to:
'''XNOR''': Same as Outputs a 1 if all inputs are the XOR, but the output is inverted.same value.
Deleted line(s) 59 (click to see context) :
* For multi-input XNOR gates, outputs 1 if there are an even number of 1's.
Changed line(s) 72,73 (click to see context) from:
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can produce an invalid result if its input is 00 or 11 depending on the type. This is due to the outputs equally each other when they should be different. If one of the inputs is a clock signal, a latch is called a flip-flop instead.
to:
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can produce an invalid result if its input is 00 or 11 depending on the type. This is due to the outputs equally each other when they should be different. If one of the inputs is a latch takes a clock signal, a latch is signal as an input, it's called a flip-flop instead.
Is there an issue? Send a MessageReason:
Clarified the latch invalid input because it\'s possible, it\'s just the output is invalid for use
Changed line(s) 72,73 (click to see context) from:
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which is either 00 or 11, depending on the type. If one of the inputs is a clock signal, a latch is called a flip-flop instead.
to:
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which can produce an invalid result if its input is either 00 or 11, 11 depending on the type.type. This is due to the outputs equally each other when they should be different. If one of the inputs is a clock signal, a latch is called a flip-flop instead.
Changed line(s) 78,79 (click to see context) from:
||Output (Q)|| (no change)|| 0|| 1|| (invalid)||
||Output (Q-not)|| (no change)|| 1|| 0|| (invalid)||
||Output (Q-not)|| (no change)|| 1|| 0|| (invalid)||
to:
||Output (Q)|| (no change)|| 0|| 1|| (invalid)||
0||
||Output (Q-not)|| (no change)|| 1|| 0||(invalid)|| 0||
Note in this example for inputs 11, it produces the output 00, which makes Q = Q-not.
||Output (Q-not)|| (no change)|| 1|| 0||
Note in this example for inputs 11, it produces the output 00, which makes Q = Q-not.
Is there an issue? Send a MessageReason:
Changed line(s) 24 (click to see context) from:
* Usually written using one or two [[ExactlyWhatItSaysOnTheTin ampersands]], '''⋅''' (dot operator) , or ∧
to:
* Usually written using one or two [[ExactlyWhatItSaysOnTheTin ampersands]], ampersands, '''⋅''' (dot operator) , or ∧
Is there an issue? Send a MessageReason:
None
Changed line(s) 41 (click to see context) from:
'''NAND''': Same as the AND operation, but the output is inverted. One of the universal logic operations (you can do any of these operations with NAND gates). Most commonly used in FlashMemory
to:
'''NAND''': Same as the AND operation, but the output is inverted. One of the universal logic operations (you can do any of these operations with NAND gates). Most commonly used in FlashMemoryUsefulNotes/FlashMemory.
Is there an issue? Send a MessageReason:
Just a bit more fiddling.
Changed line(s) 57,59 (click to see context) from:
* '''XNOR''': Same as the XOR, but the output is inverted.
** Outside of computing, it's often written as "iff", for "if and only if", because one is true ''if and only if'' the other one is too.
** For multi-input XNOR gates, outputs 1 if there are an even number of 1's.
** Outside of computing, it's often written as "iff", for "if and only if", because one is true ''if and only if'' the other one is too.
** For multi-input XNOR gates, outputs 1 if there are an even number of 1's.
to:
Changed line(s) 74 (click to see context) from:
For a typical set-reset latch, using output Q (as opposed to Q-not)
to:
For a typical set-reset Set-Reset latch, using the output Q (as opposed to Q-not)is:
Changed line(s) 76 (click to see context) from:
||Input || 00|| 01|| 10|| 11||
to:
||Input || 00|| 01|| 10|| 11||(Set)|| 0|| 0|| 1|| 1||
||Input (Reset|| 0|| 1|| 0|| 1||
||Input (Reset|| 0|| 1|| 0|| 1||
Added DiffLines:
||Output (Q-not)|| (no change)|| 1|| 0|| (invalid)||
Is there an issue? Send a MessageReason:
None
Changed line(s) 7,8 (click to see context) from:
* '''NOT''': Inverts the incoming signal.
** Usually written as a leading exclamation mark or tilde.
** Usually written as a leading exclamation mark or tilde.
to:
** For example !X or ~X.
Changed line(s) 13,16 (click to see context) from:
* '''OR''': As long as one input is 1, the output is 1.
** Usually written using one or two pipe characters.
** Can be thought of as addition, only you have to believe for a moment that 1 + 1 = 1.
** For multi-input OR gates, outputs 1 if at least one input is 1.
** Usually written using one or two pipe characters.
** Can be thought of as addition, only you have to believe for a moment that 1 + 1 = 1.
** For multi-input OR gates, outputs 1 if at least one input is 1.
to:
** For example, X | Y or X || Y.
* Can be thought of as addition, only you have to believe for a moment that 1 + 1 = 1.
Changed line(s) 21,24 (click to see context) from:
* '''AND''': Both inputs must be 1 for the output to be 1.
** Usually written using one or two [[ExactlyWhatItSaysOnTheTin ampersands]]
** Can be thought of as multiplication.
** For multi-input AND gates, outputs 1 if all inputs are 1.
** Usually written using one or two [[ExactlyWhatItSaysOnTheTin ampersands]]
** Can be thought of as multiplication.
** For multi-input AND gates, outputs 1 if all inputs are 1.
to:
** For example, X & Y or X && Y.
* Can be thought of as multiplication.
Changed line(s) 29,31 (click to see context) from:
* '''XOR (Exclusive OR)''': Both inputs must be different for the output to be 1.
** Can be thought of subtraction, only the result is the always positive.
** For multi-input XOR gates, outputs 1 if there are an odd number of 1's.
** Can be thought of subtraction, only the result is the always positive.
** For multi-input XOR gates, outputs 1 if there are an odd number of 1's.
to:
* Usually written using a caret or ⊕.
** For example, X ^ Y.
* Can be thought of subtraction, only the result is the always positive.
Changed line(s) 36,37 (click to see context) from:
* '''NAND''': Same as the AND operation, but the output is inverted. One of the universal logic operations (you can do any of these operations with NAND gates). Most commonly used in FlashMemory
** For multi-input NAND gates, outputs 0 if all inputs are 1.
** For multi-input NAND gates, outputs 0 if all inputs are 1.
to:
* Usually written using ↑
** If programming, it would be written as !(X & Y) or similar.
* For multi-input NAND gates, outputs 0 if all inputs are 1.
Changed line(s) 42,43 (click to see context) from:
* '''NOR''': Same as the OR operation, but the output is inverted. The other universal logic operation.
** For multi-input NOR gates, outputs 0 if at least one input is 1.
** For multi-input NOR gates, outputs 0 if at least one input is 1.
to:
* Usually written using ↓
** If programming, it would be written as !(X | Y) or similar.
* For multi-input NOR gates, outputs 0 if at least one input is 1.
Changed line(s) 56,61 (click to see context) from:
'''Three-state Buffer''': Normally, whatever signal comes into this will come out just the same. But there's a second input that when turned on, effectively "cuts off" the signal. This third state, known as the Hi-Z state, is seen by the rest of the system as disconnected.
----
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which is either 00 or 11, depending on the type.
For a typical set-reset latch, using output Q (as opposed to Q-not)
----
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which is either 00 or 11, depending on the type.
For a typical set-reset latch, using output Q (as opposed to Q-not)
to:
'''Three-state Buffer''': Normally, whatever signal comes into this will come out just the same. But there's A buffer (input = output) with a second input that that, when turned on, effectively "cuts off" enabled, cuts the signal. This third state, signal off in a state known as the Hi-Z state, is seen by the Hi-Z. The rest of the system sees this as disconnected.
----
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing"disconnected". As an actual output. This produces example, if you had a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can motor control, 0 could be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which is either 00 or 11, depending on the type.
For a typical set-reset latch, using output Q (as opposed to Q-not)reverse, 1 could be forward, and Hi-Z could be off.
----
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing
For a typical set-reset latch, using output Q (as opposed to Q-not)
||Input || X|| 0|| 1||
||Disable || 1|| 0 || 0 ||
||Output || Hi-Z|| 0|| 1||
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which is either 00 or 11, depending on the type. If one of the inputs is a clock signal, a latch is called a flip-flop instead.
For a typical set-reset latch, using output Q (as opposed to Q-not)
||align=center border=1 width=50%
||Disable || 1|| 0 || 0 ||
||Output || Hi-Z|| 0|| 1||
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which is either 00 or 11, depending on the type. If one of the inputs is a clock signal, a latch is called a flip-flop instead.
For a typical set-reset latch, using output Q (as opposed to Q-not)
||align=center border=1 width=50%
Deleted line(s) 65,66 (click to see context) :
----
'''Flip-Flop''': A flip flop uses a type of latch that uses a clock signal as one of its inputs. Not only is it used to store information, but it can also be used to divide clock signals in half. There are three types of flip-flops named D, T, and JK. The D flip-flop sets its stored value to whatever its data input happens to be once per clock cycle. T and JK flip-flops are specialized and are not commonly used.
'''Flip-Flop''': A flip flop uses a type of latch that uses a clock signal as one of its inputs. Not only is it used to store information, but it can also be used to divide clock signals in half. There are three types of flip-flops named D, T, and JK. The D flip-flop sets its stored value to whatever its data input happens to be once per clock cycle. T and JK flip-flops are specialized and are not commonly used.
Is there an issue? Send a MessageReason:
some notes about common notation
Added DiffLines:
** Usually written as a leading exclamation mark or tilde.
Added DiffLines:
** Usually written using one or two pipe characters.
Added DiffLines:
** Usually written using one or two [[ExactlyWhatItSaysOnTheTin ampersands]]
Is there an issue? Send a MessageReason:
None
Added DiffLines:
** For multi-input OR gates, outputs 1 if at least one input is 1.
Added DiffLines:
** For multi-input AND gates, outputs 1 if all inputs are 1.
Added DiffLines:
** For multi-input XOR gates, outputs 1 if there are an odd number of 1's.
Added DiffLines:
** For multi-input NAND gates, outputs 0 if all inputs are 1.
Added DiffLines:
** For multi-input NOR gates, outputs 0 if at least one input is 1.
Added DiffLines:
** For multi-input XNOR gates, outputs 1 if there are an even number of 1's.
Is there an issue? Send a MessageReason:
None
Changed line(s) 50,51 (click to see context) from:
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. Latches also can't have a certain input, which is either 00 or 11, depending on the type.
to:
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. The other can be used to avoid using a NOT gate if the signal's negative is needed. Latches also can't have a certain input, which is either 00 or 11, depending on the type.
Is there an issue? Send a MessageReason:
None
Changed line(s) 57 (click to see context) from:
'''Flip-Flop''': A flip flop uses a type of latch that uses a clock signal as one of its inputs. Not only is it used to store information, but it can also be used to divide clock signals in half. There are three types of flip-flops named D, T, and JK.
to:
'''Flip-Flop''': A flip flop uses a type of latch that uses a clock signal as one of its inputs. Not only is it used to store information, but it can also be used to divide clock signals in half. There are three types of flip-flops named D, T, and JK. The D flip-flop sets its stored value to whatever its data input happens to be once per clock cycle. T and JK flip-flops are specialized and are not commonly used.
Is there an issue? Send a MessageReason:
None
Added DiffLines:
Data in computers (or any digital electronic device) is represented in UsefulNotes/BinaryBitsAndBytes. Basically 0 or 1. But how do computers change data? Without going into too much detail, computers do so by way of binary logic.
Below is a list of all the operations that can be done. All operations but "NOT" take in two inputs and spit out one output.
!The operations
* '''NOT''': Inverts the incoming signal.
||align=center border=1 width=50%
||Input || 0|| 1||
||Output || 1|| 0||
* '''OR''': As long as one input is 1, the output is 1.
** Can be thought of as addition, only you have to believe for a moment that 1 + 1 = 1.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 0|| 1|| 1|| 1||
* '''AND''': Both inputs must be 1 for the output to be 1.
** Can be thought of as multiplication.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 0|| 0|| 0|| 1||
* '''XOR (Exclusive OR)''': Both inputs must be different for the output to be 1.
** Can be thought of subtraction, only the result is the always positive.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 0|| 1|| 1|| 0||
* '''NAND''': Same as the AND operation, but the output is inverted. One of the universal logic operations (you can do any of these operations with NAND gates). Most commonly used in FlashMemory
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 1|| 1|| 1|| 0||
* '''NOR''': Same as the OR operation, but the output is inverted. The other universal logic operation.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 1|| 0|| 0|| 0||
* '''XNOR''': Same as the XOR, but the output is inverted.
** Outside of computing, it's often written as "iff", for "if and only if", because one is true ''if and only if'' the other one is too.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 1|| 0|| 0|| 1||
!Supplemental Operations
'''Three-state Buffer''': Normally, whatever signal comes into this will come out just the same. But there's a second input that when turned on, effectively "cuts off" the signal. This third state, known as the Hi-Z state, is seen by the rest of the system as disconnected.
----
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. Latches also can't have a certain input, which is either 00 or 11, depending on the type.
For a typical set-reset latch, using output Q (as opposed to Q-not)
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output (Q)|| (no change)|| 0|| 1|| (invalid)||
----
'''Flip-Flop''': A flip flop uses a type of latch that uses a clock signal as one of its inputs. Not only is it used to store information, but it can also be used to divide clock signals in half. There are three types of flip-flops named D, T, and JK.
Below is a list of all the operations that can be done. All operations but "NOT" take in two inputs and spit out one output.
!The operations
* '''NOT''': Inverts the incoming signal.
||align=center border=1 width=50%
||Input || 0|| 1||
||Output || 1|| 0||
* '''OR''': As long as one input is 1, the output is 1.
** Can be thought of as addition, only you have to believe for a moment that 1 + 1 = 1.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 0|| 1|| 1|| 1||
* '''AND''': Both inputs must be 1 for the output to be 1.
** Can be thought of as multiplication.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 0|| 0|| 0|| 1||
* '''XOR (Exclusive OR)''': Both inputs must be different for the output to be 1.
** Can be thought of subtraction, only the result is the always positive.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 0|| 1|| 1|| 0||
* '''NAND''': Same as the AND operation, but the output is inverted. One of the universal logic operations (you can do any of these operations with NAND gates). Most commonly used in FlashMemory
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 1|| 1|| 1|| 0||
* '''NOR''': Same as the OR operation, but the output is inverted. The other universal logic operation.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 1|| 0|| 0|| 0||
* '''XNOR''': Same as the XOR, but the output is inverted.
** Outside of computing, it's often written as "iff", for "if and only if", because one is true ''if and only if'' the other one is too.
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output || 1|| 0|| 0|| 1||
!Supplemental Operations
'''Three-state Buffer''': Normally, whatever signal comes into this will come out just the same. But there's a second input that when turned on, effectively "cuts off" the signal. This third state, known as the Hi-Z state, is seen by the rest of the system as disconnected.
----
'''Latch''': A latch is a fundamental "storage unit", made with a pair of NOR or NAND gates with the outputs feeding one of the other's inputs, as well as providing an actual output. This produces a pair of opposite outputs. Since there are two outputs, usually only one of them is used. Latches also can't have a certain input, which is either 00 or 11, depending on the type.
For a typical set-reset latch, using output Q (as opposed to Q-not)
||align=center border=1 width=50%
||Input || 00|| 01|| 10|| 11||
||Output (Q)|| (no change)|| 0|| 1|| (invalid)||
----
'''Flip-Flop''': A flip flop uses a type of latch that uses a clock signal as one of its inputs. Not only is it used to store information, but it can also be used to divide clock signals in half. There are three types of flip-flops named D, T, and JK.