数字逻辑电路中逻辑门的符号
Binary information is represented in digital computers by physical quantities called signals. Electrical signals such as voltages exist throughout the computer in either one of the two recognizable states. The two states represent a binary variable that can be equal to 1 or 0.
二进制信息在数字计算机中由称为信号的物理量表示 。 诸如电压之类的电信号以两种可识别的状态之一存在于整个计算机中。 这两个状态表示一个二进制变量,可以等于1或0。
For example, a particular digital computer may employ a signal of 3 volts to represent binary 1
and 0.5 volt to represent binary 0
. Now the input terminals of digital circuits will accept binary signals of only 3 and 0.5 volts to represent binary input and output corresponding to 1 and 0, respectively.
例如,特定的数字计算机可以使用3伏的信号表示二进制1
而使用0.5伏的信号表示二进制0
。 现在,数字电路的输入端子将仅接受3伏和0.5伏的二进制信号,分别代表对应于1和0的二进制输入和输出。
So now we know, that at core level, computer communicates in the form of 0
and 1
, which is nothing but low and high voltage signals.
所以,现在我们知道,在这核心层,在形式计算机通信0
和1
,这只不过是低和高电压信号。
But how are different operations performed on these signals? That is done using different logic Gates.
但是如何对这些信号执行不同的操作? 这是使用不同的逻辑门完成的 。
什么是盖茨? (What are Gates?)
Binary logic deals with binary variables and with operations that assume a logical meaning. It is used to describe, in algebraic or tabular form, the manipulation done by logic circuits called gates.
二进制逻辑处理二进制变量和具有逻辑含义的操作。 它用于以代数或表格形式描述由称为gates的逻辑电路完成的操作。
Gates are blocks of hardware that produce graphic symbol and its operation can be described by means of an algebraic expression. The input-output relationship of the binary variables for each gate can be represented in tabular form by a truth-table.
门是产生图形符号的硬件模块,其操作可以通过代数表达式来描述。 每个门的二进制变量的输入输出关系可以用真值表以表格形式表示。
The most basic logic gates are AND and inclusive OR with multiple inputs and NOT with a single input.
最基本的逻辑门是“ 与”(AND)和“与”( OR)和多个输入,而不是“一个”输入。
Each gate with more than one input is sensitive to either logic 0 or logic 1 input at any one of its inputs, generating the output according to its function. For example, a multi-input AND gate is sensitive to logic 0 on any one of its inputs, irrespective of any values at other inputs.
每个具有多个输入的门对任一输入的逻辑0或逻辑1敏感,并根据其功能生成输出。 例如,一个多输入与门对任何一个输入的逻辑0都敏感,而与其他输入的任何值无关。
The various logical gates are:
各种逻辑门是:
-
AND
和
-
OR
要么
-
NOT
不
-
NAND
与非
-
NOR
也不
-
XOR
异或
-
XNOR
异或
与门 (AND Gate)
The AND gate produces the AND logic function, that is, the output is 1 if input A and input B are both equal to 1; otherwise the output is 0.
“与”门产生“与”逻辑功能,即如果输入A和输入B都等于1,则输出为1;否则,输出为1。 否则输出为0。
The algebraic symbol of the AND function is the same as the multiplication symbol of ordinary arithmetic.
AND函数的代数符号与普通算术的乘法符号相同。
We can either use a dot between the variables or concatenate the variables without an operation symbol between them. AND gates may have more than two inputs, and by definition, the output is 1 if and only if all inputs are 1.
我们既可以在变量之间使用点 ,也可以在变量之间没有运算符的情况下将它们串联起来。 AND门可能具有两个以上的输入,并且根据定义,当且仅当所有输入均为1时,输出才为1。