Following are the interactive versions of the circuits used in the document:
Combinational circuits are very well known components in digital electronics which can provide output instantly based on the current input. Unlike sequential circuits, a combinational circuit listens for input signal and and generates output no matter what is the past input or state as it has no feedback or memory component. It only cares about present input and state.
A multiplexer is a combinational circuit that selects one digital information from several sources, and sends it on a single output line.
It is also called data selector.
Output | ||
---|---|---|
0 | 0 | A |
0 | 1 | B |
1 | 0 | C |
1 | 1 | D |
When, , and :
AND
gate 1 = AND
gate 2 = AND
gate 3 = AND
gate 4 = Finally the OR
gate = . Hence input is selected. Similarly in other cases their respective inputs are selected.
It is a combinational circuit that receives information on a single input line and transmits the same information over one of several () output lines.
It is also called data distributor.
Output line | ||
---|---|---|
0 | 0 | A |
0 | 1 | B |
1 | 0 | C |
1 | 1 | D |
When, , and :
AND
gate 1 receives AND
gate 2 receives AND
gate 3 receives AND
gate 4 receives Hence, line is selected. Similarly the other lines are selected for their respective combinations of and .
A decoder is a logic circuit that converts -bit binary inputs into output lines, such that each output line will be activated for only one of the possible combination of inputs.
0 | 0 | 1 | 0 | 0 | 0 |
0 | 1 | 0 | 1 | 0 | 0 |
1 | 0 | 0 | 0 | 1 | 0 |
1 | 1 | 0 | 0 | 0 | 1 |
When, , and :
AND
gate 1 receives AND
gate 2 receives AND
gate 3 receives AND
gate 4 receives Thus, the line gets activated and the rest are all deactivated. Similarly all other lines get active for their respective combination of inputs.
An encoder is a combinational logic circuit that converts an active input signal into a coded output signal. It encodes one of the active input to a coded binary output with -bits.
We will consider octal to binary encoder circuit for the explanation:
1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 |
0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 |
0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 |
0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
OR
gates will have 101 as output.