DECODER
DECODER
DECODER
LEARNING INTENTION
To be able to
• analyze Decoder circuits
• explain the working of Decoder circuits
• draw the block diagram and truth tables for designing decoder
circuits
• design Decoder circuits
• identify the applications of a Decoder circuit
WHAT IS A DECODER?
2 to 4
Decoder
WORKING OF A 2 TO 4 DECODER
• When both inputs A and B are low (A= B= 0), the output D0 will be
active or High and all other outputs will be LOW.
• When A = 0 and B = 1, the output D1 will be active.
• When A = 1 and B = 0, then the output D2 will be active.
• When both the inputs are high, then the output D3 will be high.
TRUTH TABLE OF A 2X4 DECODER
A B D0 D1 D2 D3
0 0 1 0 0 0
0 1 0 1 0 0
1 0 0 0 1 0
1 1 0 0 0 1
From the above truth table, we can obtain the Boolean expression for each output as:
D0 = A’.B’
D1 = A’.B
D2 = A.B’
D3 = A.B
ACTIVITY 1
Address Decoders
Decoders are widely used to decode the memory location in the computer memory
system.
Instruction Decoder
Another application of the decoder can be found in the control unit of the central
processing unit. This decoder is used to decode the program instructions in order to
activate the specific control lines such that different operations in the ALU of the CPU are
carried out.
ACTIVITY 2