TapeOut.linknews

官方科普:NAND 为通用门,LATCH 实现时序逻辑TapeOut Explainers: NAND as a Universal Gate, LATCH for Sequential Logic

TapeOut 官方科普继续更新:项目只提供 NAND 一种逻辑门,却足以实现全部逻辑——NOT 把同一信号接入 NAND 两个输入,占 1 个门;AND 为 NAND 后接 NOT,共 2 个门;OR 先反相再进 NAND,共 3 个门,因此 NAND 被称为通用门。另一条科普区分组合逻辑与时序逻辑:只由 NAND 构成的电路只看当前输入;LATCH 保存 1 bit 并每 tick 更新一次,接入电路后输出还取决于上一 tick 保存的状态,由此可构建计数器、寄存器与处理器。TapeOut's explainer series continues: TapeOut gives you only one kind of logic gate, NAND, and it is enough. NOT wires the same signal into both NAND inputs (1 gate), AND is a NAND followed by a NOT (2 gates), and OR inverts each input before feeding a NAND (3 gates) — which is why NAND is called a universal gate. Another post separates combinational from sequential logic: a circuit built only from NAND looks at nothing but the current input, while a LATCH holds 1 bit and updates once per tick, so the output depends on state saved from the last tick — enabling counters, registers and processors.

来源 · 5 条Sources · 5

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

评论Comments

    还没有评论,来说两句No comments yet