Draw the logic gate diagram for an octal to binary encoder. State how multiplexer can be derived…
Draw the logic gate diagram for an octal to binary encoder. State how multiplexer can be derived from a decoder. Mention one application of multiplexer.
Draw: logic gate diagram for an octal to binary encoder
Answer
Answer
Octal-to-Binary encoder: 8 input lines D0-D7 (only one HIGH at a time), 3 output lines A2 A1 A0 giving the binary code of the active input line.
$A_2 = D_4 + D_5 + D_6 + D_7$
$A_1 = D_2 + D_3 + D_6 + D_7$
$A_0 = D_1 + D_3 + D_5 + D_7$
$D_0$ (code 000) needs no connection: when it is active all three outputs stay 0.
Multiplexer from a decoder: the select lines are fed to the decoder's inputs; each decoder output is ANDed with one data input, and all the AND outputs go into one OR gate. Only the AND gate enabled by the selected decoder output passes its data input to the output.
Application of a multiplexer: data selection/routing - sending one of many input signals onto a single line, e.g. in communication systems or onto a common data bus.