0% found this document useful (0 votes)
11 views

Topic 3

A decoder is a circuit that accepts a binary number as input and activates only one output corresponding to the input. It has 2N possible input combinations and for each combination only one output is active. An encoder performs the reverse operation of a decoder by having multiple inputs but only activating one input at a time, with 2N inputs and N outputs. A multiplexer selects one of several input lines to send to its single output line based on a control input, while a demultiplexer takes a single input and routes it to one of multiple outputs based on a control input.

Uploaded by

tanay.s1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Topic 3

A decoder is a circuit that accepts a binary number as input and activates only one output corresponding to the input. It has 2N possible input combinations and for each combination only one output is active. An encoder performs the reverse operation of a decoder by having multiple inputs but only activating one input at a time, with 2N inputs and N outputs. A multiplexer selects one of several input lines to send to its single output line based on a control input, while a demultiplexer takes a single input and routes it to one of multiple outputs based on a control input.

Uploaded by

tanay.s1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

DECODER

❑ 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.

❑ An encoder has 2N inputs and N corresponding outputs.

❑ If we have 8-bit encoder, no. of outputs = 3


OCTAL TO BINARY ENCODER

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.

❑ It is also called a Data Selector.

❑ 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

OUT = SEL’.IN1 + SEL.IN2


8:1 MUX USING 4:1 MUX and 2:1 MUX
DEMULTIPLEXER
❑ De-Multiplexer is a combinational logic circuit that performs the reverse operation of multiplexer (Several
output lines, one input line).

❑ De-Multiplexer means one to many.

❑ 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

❑ 2n-1 : 1 multiplexer can implement any function of n-variables.

❑ n -1 variables – Selection lines


1 variable – Data line

❑ Example - Implement F (A,B,C) = m0 + m2 + m6 + m7 using 4:1 MUX

You might also like