数字逻辑 - 真值表

发布于 2024-09-28 01:22:53 字数 1156 浏览 3 评论 0原文

我正在尝试使用下面的公式通过真值表来解决这些问题。我在 NOT 到 NAND 方面遇到问题

我想我正确使用了前 2 个问题: AND 相当于 NOR,AND 相当于 NAND

使用 NAND 运算符的 AND、OR 和 NOT 的方程是:

X + Y = x' NAND y' ??
X * Y = 
X' = X NAND 1

AND 的方程、 OR 和 NOT 仅使用 NOR 运算符是:

X' = ?
X + Y = (X NOR Y) NOR 0
X * Y = X' NOR Y' ??

我正在尝试遵循这个公式,

An OR gate with a NOT in both inputs is equivalent to a NAND.
An AND gate with a NOT in both inputs is equivalent to a NOR.
An OR gate with a NOT in its output is equivalent to a NOR.
An AND gate with a NOT in its output is equivalent to a NAND.

这就是我如何计算出 AND 到 NOR 等效值

X  Y    X AND Y      X NOR Y    
-----------------------------
0  0       0            1
0  1       0            0
1  0       0            0
1  1       1            0

X'  Y'   X' NOR Y'
-------------------
1   1        0
1   0        0
0   1        0
0   0        1

我最大的问题是如何在真值表的输出中使用 NOT ?另外,我如何从 NOT 变为 NOR?我想在真值表中计算出所有这些。

X * Y = "An AND gate with a NOT in its output is equivalent to a NAND."

真值表的输出是什么?我怎样才能从 X' 变成同等的 NAND?

I am trying to solve these problems with truth tables using the formulas below. I am having a problem with the NOT to NAND

I think i got the first 2 problems correct using: AND is equivalent to NOR, AND is equivalent to NAND

The equations for AND, OR and NOT using the NAND operator are:

X + Y = x' NAND y' ??
X * Y = 
X' = X NAND 1

The equations for AND, OR and NOT using only the NOR operator are:

X' = ?
X + Y = (X NOR Y) NOR 0
X * Y = X' NOR Y' ??

I am trying to follow this formula

An OR gate with a NOT in both inputs is equivalent to a NAND.
An AND gate with a NOT in both inputs is equivalent to a NOR.
An OR gate with a NOT in its output is equivalent to a NOR.
An AND gate with a NOT in its output is equivalent to a NAND.

this is how i worked out AND to NOR equivalent

X  Y    X AND Y      X NOR Y    
-----------------------------
0  0       0            1
0  1       0            0
1  0       0            0
1  1       1            0

X'  Y'   X' NOR Y'
-------------------
1   1        0
1   0        0
0   1        0
0   0        1

My biggest problem is how do i use a NOT in the outputs in a truth table? Also, how would i go from a NOT to a NOR? I want to work all these out in a truth table.

X * Y = "An AND gate with a NOT in its output is equivalent to a NAND."

what are the outputs in a truth table? and how can i go from a X' to equivalent NAND?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

你的背包 2024-10-05 01:22:53

我们知道,

X   X'
------
0   1
1   0 

因此,

X   X NOR X
------------
0      1
1      0 

所以我们得到,

X' = X NOR X

对于你的第二个问题,假设你有两个输入 X' & Y' 并且您想要到达 X NAND Y

X NAND Y = (X AND Y)' = X' OR Y' (由德摩根定律

因此,真值表如下:

X  Y    X AND Y     (X AND Y)'    
-----------------------------
0  0       0            1
0  1       0            1
1  0       0            1
1  1       1            0

X  Y    X'   Y'      X' OR Y'    
-----------------------------
0  0    1    1          1
0  1    1    0          1
1  0    0    1          1
1  1    0    0          0

We know that,

X   X'
------
0   1
1   0 

Hence,

X   X NOR X
------------
0      1
1      0 

So we get,

X' = X NOR X

For your second question, suppose you have two inputs X' & Y' and you want to get to X NAND Y,

X NAND Y = (X AND Y)' = X' OR Y' (by DeMorgan's Law)

Hence, the truth tables are as follows:

X  Y    X AND Y     (X AND Y)'    
-----------------------------
0  0       0            1
0  1       0            1
1  0       0            1
1  1       1            0

X  Y    X'   Y'      X' OR Y'    
-----------------------------
0  0    1    1          1
0  1    1    0          1
1  0    0    1          1
1  1    0    0          0
夜无邪 2024-10-05 01:22:53

我如何在输出中使用 NOT
真值表

如果您想在输出上指示反极性,请在列标签上放置一个横条。

另外,我如何从 NOT 变成 a
或非

将 NOR 的两个输入连接在一起。这使得它相当于 NOT。

how do i use a NOT in the outputs in
a truth table

Put a bar over the column label, if you want to indicate reverse-polarity on the output.

Also, how would i go from a NOT to a
NOR

Tie the two inputs of the NOR together. That makes it the equivalent of a NOT.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文