TapeOut.linknews

官方科普:XNOR 比较器与多路复用器电路Official explainer: XNOR comparator and multiplexer circuits

TapeOut 官方连续科普两种基础电路:判断两个 1 位数字是否相等用 XNOR,4 个 NAND 实现 XOR,再加 1 个门反相,共 5 个门;比较多位数字时对每一位做同样操作,再把结果全部 AND 起来。多路复用器(MUX)根据控制信号从两路输入中选一路输出:反相控制信号 1 个门、与输入 a 做 NAND 1 个门、控制信号与输入 b 做 NAND 1 个门、再把两条路径 NAND 合并 1 个门,共 4 个门,官方称处理器里的每个「选择」都来自这一结构。TapeOut's official account explains two building-block circuits: equality of two 1-bit numbers is XNOR — 4 NANDs for XOR plus 1 to invert, 5 gates total; multi-bit comparison repeats this per bit then ANDs all results. A multiplexer picks one of two inputs based on a control signal: invert the control, NAND it with input a, NAND the control with input b, then NAND both paths together — 4 gates, the source of every 'choice' inside a processor.

来源 · 2 条Sources · 2

查看原推文View on X 更多动态 · 新闻频道More updates