0% found this document useful (0 votes)
118 views47 pages

Digital Logic Design 4 MUX, DeMUX, Decoder, Coder

The document discusses various digital logic components including multiplexers, demultiplexers, decoders, encoders, and NAND gates. Multiplexers have multiple inputs and one output, with select lines determining which input passes to the output. Demultiplexers are the opposite, with one input and multiple outputs selected by data lines. Decoders convert coded inputs into outputs, while encoders perform the reverse. NAND gates are also discussed as the basis for other logic gates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views47 pages

Digital Logic Design 4 MUX, DeMUX, Decoder, Coder

The document discusses various digital logic components including multiplexers, demultiplexers, decoders, encoders, and NAND gates. Multiplexers have multiple inputs and one output, with select lines determining which input passes to the output. Demultiplexers are the opposite, with one input and multiple outputs selected by data lines. Decoders convert coded inputs into outputs, while encoders perform the reverse. NAND gates are also discussed as the basis for other logic gates.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 47

Digital Logic Design 4

MUX, DeMUX, Decoder, Coder

Digital Logic Design_ 1


Baku - 2016 Yashar Hajiyev
Multiplexers or Data Selector
Multiplexer ― combinational digital logic switching device ―
has multiple inputs and one output.
Multiplexer ― has data select lines → through which data →
passed from an input line to output line is determined.

If 4 input lines → 2 data


select lines needed to
control it.
If 16 input lines → 4 data
select lines needed.
Multiplexers or Data Selector
Multiplexer ― combinational digital logic switching device ―
has multiple inputs and one output.
Multiplexer ― has data select lines → through which data →
passed from an input line to output line is determined.
Multiplexers or Data Selector
Multiplexers
Multiplexers
Multiplexer
Multiplexer
Multiplexer
Multiplexer
Multiplexer
Multiplexer
DeMultiplexer
DeMultiplexer ― combinational digital logic switching device →
has single input line and multiple outputs.
DeMultiplexer ― has data select lines → through which data passed
from input line to output line is determined.

If 4 output lines → need 2


data select lines to control
it.

If 16 output lines →need 4


data select lines.
Gates
DeMUX
DeMultiplexer
DeMultiplexer
Binary Decoder
Binary Decoder ― combinational logic circuit ― to translate/decode coded
information from one format into another.
Digital decoder ― transforms set of digital input signals into an equivalent
decimal code at its output
Decoder ― exact opposite to Encoder.
Decoder ― decodes binary value into a non-binary one by setting exactly
one of its n outputs to logic “1”.
Binary Decoder
Binary Decoder
Decoder
Display Decoder Binary Coded Decimal
Display Decoder BCD to 7-Segment Display Decoders
Binary Coded Decimal (BCD or “8421” BCD) numbers are made up using just 4 data
bits (a nibble or half a byte)
Display Decoder BCD to 7-Segment Display Decoders
Binary Coded Decimal (BCD or “8421” BCD) numbers are made up using just 4 data
bits (a nibble or half a byte)
Display Decoder BCD to 7-Segment Display Decoders
Binary Coded Decimal (BCD or “8421” BCD) numbers are made up using just 4 data
bits (a nibble or half a byte)
Display Decoder BCD to 7-Segment Display Decoders
Binary Coded Decimal (BCD or “8421” BCD) numbers are made up using just 4 data
bits (a nibble or half a byte)
Display Decoder BCD to 7-Segment Display Decoders
Binary Coded Decimal (BCD or “8421” BCD) numbers are made up using just 4 data
bits (a nibble or half a byte)
Display Decoder BCD to 7-Segment Display Decoders
Binary Coded Decimal (BCD or “8421” BCD) numbers are made up using just 4 data
bits (a nibble or half a byte)
Digital Encoder
Unlike a multiplexer that selects one individual data input line and then
sends that data to a single output line or switch, a Digital Encoder more
commonly called a Binary Encodertakes ALL its data inputs one at a
time and then converts them into a single encoded output. So we can say
that a binary encoder, is a multi-input combinational logic circuit that
converts the logic level “1” data at its inputs into an equivalent binary
code at its output
digital encoders produce outputs of 2-bit, 3-bit or 4-bit
codes . An “n-bit” binary encoder has 2n input lines
and n-bit output lines with common types that include 4-
to-2, 8-to-3 and 16-to-4 line configurations
The output lines of a digital encoder generate the binary
equivalent of the input line whose value is equal to “1”
and are available to encode either a decimal or
hexadecimal input pattern to typically a binary or “B.C.D”
(binary coded decimal) output code.
Digital Encoder
Binary Decoders 
Binary Decoders ― used to access particular memory
location based on an “address” produced by a computing
device. In modern microprocessor systems the amount of
memory required can be quite high and is generally more
than one single memory chip alone.
One method of overcoming this problem is to connect lots
of individual memory chips together and to read the data
on a common “Data Bus”. Each memory chip is selected
by Address Decoding.
Chip Select or CS is Input which is used by the MP to
select appropriate memory chip when required. Logic “1”
on chip select (CS) input selects memory device;
While logic “0” on input de-selects it.
Binary Decoders 
NAND Based Gates
NAND Based Logical Gates
Differences between a FET and a Bipolar Transistor

  Field Effect Transistor (FET) Bipolar Junction Transistor (BJT)

1 Low voltage gain High voltage gain

2 High current gain Low current gain

3 Very input impedance Low input impedance

4 High output impedance Low output impedance

5 Low noise generation Medium noise generation

6 Fast switching time Medium switching time

7 Easily damaged by static Robust

8 Some require an input to turn it "OFF" Requires zero input to turn it "OFF"

9 Voltage controlled device Current controlled device

10 Exhibits the properties of a Resistor  

11 More expensive than bipolar Cheap

12 Difficult to bias Easy to bias

You might also like