I need help confirming some hunches. I'm trying to figure out what type of circuit this is:
Any ideas?
Also, I think the logic expression for this is:
D = (A AND B) OR (NOT(B) AND C)
digital-logic
I need help confirming some hunches. I'm trying to figure out what type of circuit this is:
Any ideas?
Also, I think the logic expression for this is:
D = (A AND B) OR (NOT(B) AND C)
Best Answer
There are only two intermediate signals, so it's relatively easy to break down. We'll call the left input to the bottom
OR
gateX
and the right inputY
.I'm going to use some shorthand here -
NOT
=!
,AND
=&
,OR
=|
.Those two lead into the
OR
gate that produces D:Which is the result you came up with, so you are correct.
One application of this logic circuit is to act as a selector:
B
is asserted, thenA
is output onD
, andC
is ignored.B
is de-asserted, thenC
is output onD
, andA
is ignored.