Topic 3
Topic 3
❑ A Decoder is a combination circuit that accepts a set of inputs representing a binary number and activates the output
corresponding to the input number. All other outputs remain inactive for that input combination.
❑ There are 2N possible combinations, and for each combination only one output remains HIGH.
2 to 4 LINE DECODER
3 to 8 LINE DECODER
HIGHER ORDER DECODER FROM LOWER ORDER DECODERS
INPUTS OUTPUTS
E X Y D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
4X16 DECODER USING 3X8 DECODERS
DECODER WITH COMPLEMENTED OUTPUTS
DECODER EXAMPLES
IMPLEMENTATION OF FULL ADDER USING DECODER AND LOGIC GATES
ENCODER
❑ An Encoder is a combination circuit that performs the reverse operation of a decoder.
❑ It has a number of inputs lines but only one of the inputs is activated at a given time.
X = D4 + D 5 + D 6 + D 7
Y = D2 + D3 + D6 + D7
Z = D1 + D3 + D5 + D7
OCTAL TO BINARY ENCODER
PRIORITY ENCODER
❑ Priority is assigned to input lines.
❑ If two or more inputs are high at the same time, then the input line with higher priority would be considered for output.
PRIORITY ENCODER
BCD TO 7-SEGMENT DISPLAY DECODER
BCD TO 7-SEGMENT DISPLAY DECODER
BCD TO 7-SEGMENT DISPLAY DECODER
BCD TO 7-SEGMENT DISPLAY DECODER
MULTIPLEXER
❑ The term Multiplexer means many into one.
❑ Multiplexing is the process of transmitting a large number of information over a single line.
❑ A Digital Multiplexer (MUX) is a combinational Circuit that select one digital information from several sources and
transmits the selected information on a single output line.
❑ MUX directs one of the inputs to its output line by using control lines (selection lines).
2:1 MULTIPLEXER
SEL OUT
0 IN 1
1 IN 2
❑ By applying control signal, we can steer input to any output. Few types of De -Multiplexer are 1-to 2, 1-to-4, 1-
to-8 and 1-to 16 De-Multiplexer.
❑ De-Multiplexing is the process of taking information from one input and transmitting the same over one of
several outputs.
1:4 DEMULTIPLEXER
Data Select Inputs Output
D S1 S2 Y3 Y2 Y1 Y0
D 0 0 0 0 0 D
D 0 1 0 0 D 0
D 1 0 0 D 0 0
D 1 1 D 0 0 0
MUX/DE-MUX FOR INFORMATION TRANSMISSION
IMPLEMENTING BOOLEAN FUNCTIONS WITH MULTIPLEXERS