题解 | #使用3-8译码器①实现逻辑函数#
使用3-8译码器①实现逻辑函数
http://www.nowcoder.com/practice/be81e76ebade445baca7257aa4eca8f2
将逻辑函数L=(~A)·C+A·B展开成包含A,B,C完全输入的表达式:
L=(~A)(B+ ~B)C + AB(C+ ~C)
=(~A)(~B)C+(~A)BC+AB(~C)+ABC
3-8译码器的输出为:
Y0_n = ~((~A2)(~A1)(~A0))
Y1_n = ~((~A2)(~A1) A0 )
Y2_n = ~((~A2) A1 (~A0))
Y3_n = ~((~A2)A1A0)
Y4_n = ~(A2(~A1)(~A0))
Y5_n = ~(A2(~A1)A0)
Y6_n = ~(A2A1(~A0))
Y7_n = ~(A2A1A0)
因此L的输出与Y1_n,Y3_n,Y6_n,Y7_n内容相关;
若Out=(~a0)+(~a1)+(~a2)+(~a3),则:
Out = ~(a0 & a1 & a2 & a3)
因此,L结果为:
L=~(Y1_n & Y3_n & Y6_n & Y7_n);