1.
Multiplexer : Multiplexer is a data selector which takes several inputs
and gives a single output.In multiplexer we have 2n input lines and 1
output lines where n is the number of selection lines.
2. 2. Demultiplexer : Demultiplexer is a data distributor which takes a
single input and gives several outputs.In demultiplexer we have 1
input and 2n output lines where n is the selection line.
Difference between of Multiplexer and Demultiplexer :
Multiplexer Demultiplexer
Multiplexer processes the digital information Demultiplexer receives digital information from a
from various sources into a single source. single source and converts it into several sources
It is known as Data Selector It is known as Data Distributor
Multiplexer is a digital switch Demultiplexer is a digital circuit
It follows combinational logic type It also follows combinational logic type
It has 2n input data lines It has single input line
It has a single output data line It has 2n output data lines
It works on many to one operational principle It works on one to many operational principle
In time division Multiplexing, multiplexer is In time division Multiplexing, demultiplexer is used
used at the transmitter end at the receiver end
Combinational Logic is the concept in which two or more input states define
one or more output states. The Encoder and Decoder are combinational logic
circuits. In which we implement combinational logic with the help of boolean
algebra.
To encode something is to convert an unambiguous piece of information into
a form of code that is not so clearly understood and the device which
performs this operation is termed ad Encoder.
Encoder
An Encoder is a device that converts the active data signal into a coded
message format or it is a device that converts analogue signal to digital
signals. It is a combinational circuit, that converts binary information in the
form of 2N input lines into N output lines which represent N bit code for the
input. When an input signal is applied to an encoder the logic circuitry
involved within it converts that particular input into coded binary output.
To decode is to perform the reverse operation: converting a code back into an
unambiguous form code and the device which performs this operation is
termed a Decoder.
Decoder
A decoder is also a combinational circuit as an encoder but its operation is
exactly reverse as that of the encoder. A decoder is a device that generates
the original signal as output from the coded input signal and converts n lines
of input into 2n lines of output. An AND gate can be used as the basic
decoding element because it produces a high output only when all inputs are
high.
Decoder
Encoder vs Decoder
ENCODER DECODER
Encoder circuit basically converts Decoder performs reverse operation
the applied information signal into and recovers the original information
a coded digital bit stream. signal from the coded bits.
In case of encoder, the applied Decoder accepts coded binary data as
signal is the active signal input. its input.
The number of inputs accepted by The number of input accepted by
an encoder is 2n. decoder is only n inputs.
The output lines for an encoder is
The output lines of an decoder is 2n.
n.
The decoder generates an active output
The encoder generates coded data
signal in response to the coded data
bits as its output.
bits.
The operation performed is simple. The operation performed is complex.
The encoder circuit is installed at The decoder circuit is installed at the
the transmitting end. receiving side.
OR gate is the basic logic element AND gate along with NOT gate is the
used in it. basic logic element used in it.
It is used in E-mail, video encoders It is used in Microprocessors, memory
etc. chips etc.
Difference between SOP and POS :
S.No. SOP POS
A way of representing boolean A way of representing boolean
1.
expressions as sum of product terms. expressions as product of sum terms.
SOP uses minterms. Minterm is POS uses maxterms. Maxterm is sum
2. product of boolean variables either in of boolean variables either in normal
normal form or complemented form. form or complemented form.
It is sum of minterms. Minterms are It is product of maxterms. Maxterms
3.
represented as ‘m’ are represented as ‘M’
SOP is formed by considering all the POS is formed by considering all the
4.
minterms, whose output is HIGH(1) maxterms, whose output is LOW(0)
While writing minterms for SOP,
While writing maxterms for POS,
input with value 1 is considered as the
input with value 1 is considered as
5. variable itself and input with value 0 is
the complement and input with value
considered as complement of the
0 is considered as the variable itself.
input.