逻辑门(与门、或门、异或门、与非门、或非门、同或门)
原文英文,约300词,阅读约需2分钟。发表于: 。Computers use logic gates to transform the 1s and 0s from input wires. A logic gate accepts inputs and then outputs a result based on their state. And gate The AND gate is named so because, if 0...
计算机使用逻辑门来转换输入线,逻辑门根据输入状态输出结果。只有当两个输入都为真时,AND门才输出真;只要至少有一个输入为真,OR门就输出真;只有当输入不同,XOR门才输出真;NOT门则反转逻辑状态。只有当两个输入都为真时,NAND门才输出假;只有当两个输入都为假时,NOR门才输出真;只有当输入相同时,XNOR门才输出真。