简体   繁体   English

从 NOR 门构建 AND 门

[英]Construction of an AND Gate from NOR Gates

One of the alternate to getting the same output as an AND Gate, is to put together NOR gates.将相同的 output 作为与门的替代方法之一是将 NOR 门放在一起。 The operator for NOT gates is (A+B)' , However there is a problem, I can't get the same output an AND gate would. NOT 门的运算符是(A+B)' ,但是有一个问题,我无法得到与 AND 门相同的 output 。

This image is from https://en.wikipedia.org/wiki/NOR_logic图片来自https://en.wikipedia.org/wiki/NOR_logic

So for example if we take:例如,如果我们采取:

A = 1 B = 0 , I would expect 0 as a result, but that does not seem to be the case here since, A = 1 B = 0 ,我希望结果为 0 ,但这里似乎并非如此,因为,

= (1 NOR 0) NOR (1 NOR 0)
= (0) NOR (0)
= 1

What am I doing wrong?我究竟做错了什么?

There is indeed an error in your expression.你的表达确实有错误。

The key here is to see that the first two ports each take a pair of values that are duplicates.这里的关键是看到前两个端口每个都采用一对重复的值。 So we have所以我们有

(A NOR A)
(B NOR B) 

图片

This evaluates a NOT operation, so we get:这评估了一个 NOT 操作,所以我们得到:

(NOT A)
(NOT B)

These two are then the operands of the final NOR, giving the desired result.然后这两个是最终 NOR 的操作数,给出所需的结果。

For your example with A = 1 B = 0 :对于您的示例A = 1 B = 0

(1 NOR 1) == 0
(0 NOR 0) == 1

And

0 NOR 1 == 0

All possibilities所有的可能性

A一个 B A NOR A一个或一个 B NOR B B 或 B (A NOR A) NOR (B NOR B) (A 或 A) 或 (B 或 B)
0 0 0 0 1 1 1 1 0 0
0 0 1 1 1 1 0 0 0 0
1 1 0 0 0 0 1 1 0 0
1 1 1 1 0 0 0 0 1 1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM