Sunday, March 19, 2023

Decoder

Decoder is a combinational circuit that has ‘n’ input lines and maximum of 2n output lines. One of these outputs will be active High based on the combination of inputs present, when the decoder is enabled. That means decoder detects a particular code. The outputs of the decoder are nothing but the min terms of ‘n’ input variables lines, when it is enabled.

2 to 4 Decoder

Let 2 to 4 Decoder has two inputs A1 & A0 and four outputs Y3, Y2, Y1 & Y0. The block diagram of 2 to 4 decoder is shown in the following figure.


One of these four outputs will be ‘1’ for each combination of inputs when enable, E is ‘1’. The Truth table of 2 to 4 decoder is shown below.

EnableInputsOutputs
EA1A0Y3Y2Y1Y0
0xx0000
1000001
1010010
1100100
1111000

From Truth table, we can write the Boolean functions for each output as.

The product phrase for each output is unique. Thus, there are a total of four product phrases. Four AND gates with three inputs each and two inverters can be used to implement these four product phrases. In the figure below, you can see the circuit diagram for the 2 to 4 decoder.

Therefore, the outputs of 2 to 4 decoder are nothing but the min terms of two input variables A1 & A0, when enable, E is equal to one. If enable, E is zero, then all the outputs of decoder will be equal to zero.

Similarly, 3 to 8 decoder produces eight min terms of three input variables A2, A1 & A0 and 4 to 16 decoder produces sixteen min terms of four input variables A3, A2, A1 & A0.




No comments:

Post a Comment

Acoustic energy

Acoustic energy: Acoustic energy is the energy carried by sound waves as they travel through a medium like air, water, or solid materials. I...

Subscribe to our newsletter