V2EX  ›  英汉词典

XOR Gate

定义 Definition

XOR gate(异或门)是一种数字逻辑门:当两个输入不相同时输出为 1(真),当两个输入相同时输出为 0(假)。常用于比较、奇偶校验、加密/解密中的位运算等场景。(也常写作 XORexclusive OR

发音 Pronunciation

/ˌɛks ɔːr ˈɡeɪt/

例句 Examples

A XOR gate outputs 1 when the inputs are different.
异或门在两个输入不同时输出 1。

In the adder circuit, the sum bit can be produced by an XOR gate, while the carry is handled by other logic.
在加法器电路中,和位可以由异或门产生,而进位则由其他逻辑处理。

词源 Etymology

XORexclusive OR(“排他性或”)的缩写:与普通 OR(或)不同,exclusive 表示“只能满足其中一个条件”,也就是“二者取其一但不能同时”。gate 在电子与计算机领域指“逻辑门”,表示实现某种逻辑规则的基本电路单元。

相关词 Related Words

文学与作品 Literary Works

  • Digital Design(M. Morris Mano & Michael D. Ciletti)——常用 XOR gate 讲解组合逻辑与加法器设计。
  • The Elements of Computing Systems(Noam Nisan & Shimon Schocken,Nand2Tetris)——在构建算术逻辑部件时会涉及 XOR/相关逻辑的实现思路。
  • Code: The Hidden Language of Computer Hardware and Software(Charles Petzold)——以通俗方式介绍逻辑门(包括异或/类似概念)与计算机底层工作原理。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1827 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 06:49 · PVG 14:49 · LAX 22:49 · JFK 01:49
♥ Do have faith in what you're doing.