随着时代发展,数字电路的使用频率越来越高,完全不低于模拟电路,因此从事数字电路的工程师越来越多,如果你想成为一名优秀的数字工程师,一定要学会下面的逻辑电路表达式!
1、基本逻辑运算
与运算 (AND): A AND B = AB
或运算 (OR): A or B = A+B
非运算 (NOT): A' = not A
异或运算 (XOR): A xor B = AB'+A'B
2、符合逻辑运算
与非运算 (NAND): A NAND B = not (A and B)
或非运算 (NOR): A NOR B = not (A or B)
与或非运算 (Nand): A Nand B = not (A or B)
或与非运算 (Nor): A Nor B = not (A and B)
同或运算 (XNOR): A XNOR B = AB'+A'B
异或非运算 (XORN): A Xorn B = not (A xor B)
3、常用逻辑门
与门 (AND Gate): F(A, B) = AB
或门 (OR Gate): F(A, B) = A+B
非门 (NOT Gate): F(A) = not A
异或门 (XOR Gate): F(A, B) = AB'+A'B
同或门 (XNOR Gate): F(A, B) = AB'+A'B
4、双输入逻辑门
双与门 (AND-AND): F(A, B, C, D) = AB+CD
双或门 (OR-OR): F(A, B, C, D) = A+B+C+D
与或非门 (NAND-OR): F(A, B, C, D) = not ((AB+CD))
或与非门 (OR-NAND): F(A, B, C, D) = not ((AB'+CD))
5、多输入逻辑门
多输入与门 (AND-Many): F(A, B, C) = ABC
多输入或门 (OR-Many): F(A, B, C) = A+B+C
多输入非门 (NOT-Many): F(A, B, C) = not A not B not C
多输入异或门 (XOR-Many): F(A, B, C) = AB'+BC'+AC'D'+AD'E'+AE'F'+AF'G'...(以此类推)
多输入同或门 (XNOR-Many): F(A, B, C) = AB'+BC'+AC'D'+AD'E'+AE'F'+AF'G'...(以此类推)