仅使用XNOR,NAND或具有最多4个门的Mux 2:1实施

问题描述 投票:1回答:1

我被赋予仅使用以下给定门来实现mux2:1的任务:XNORNANDOR

输入将是absel(选择)。

输出应为z(没有启用输入)。

要使用的最大门数是4(只有这3个门)。

我的想法是这样:

MUX创建了真值表:

a   b  sel  z
-------------
0   0   0   0
0   0   1   0
0   1   0   0
0   1   1   1
1   0   0   1
1   0   1   0
1   1   0   1
1   1   1   1

然后创建了一个karnaugh map

sel\ab  00  01  11  10
----------------------
 0   |   0   0   1   1
 1   |   0   1   1   0

作为乘积和的函数是:

z=c'a+cb

[从这里开始,我尝试使用[tag:boolean代数]扩展函数,使其与匹配给定门的代数符号相匹配。

[另外,我知道要创建c',我可以使用NAND(c,c),对于AND,我可以使用2 NANDS,但是如果将此表达式应用于此表达式,我将获得6个逻辑门,最大为4 。

boolean-logic boolean-algebra circuit-diagram
1个回答
0
投票

实施:This is the implementation

功能:this is the function

代数证明:this is the boolean algebraic solution

© www.soinside.com 2019 - 2024. All rights reserved.