Vous êtes sur la page 1sur 16

# MCT-212: DIGITAL LOGIC DESIGN

MULTIPLEXERS
Multiply or select?

MULTIPLEXERS
A multiplexer (MUX) selects one data line from two or more input lines and routes data from the selected line to the output.
The particular data line that is selected is determined by the select inputs. Multiplexers are also known as Data Selectors. Data Select

0 1 MUX

Data Output

Data Inputs

0 1 2 3

4-INPUT MULTIPLEXER
Can select the data from four lines depending on the combination of two select bits.
Data Select

0 1 MUX

Data Select

Data Output

1
0

0
0

Input Selected

Data Inputs

0 1 2 3

0 1 1

1 0 1

= 1 0 0 + 1 0 1 + 1 0 2 + 1 2 3

4-INPUT MULTIPLEXER

Data Select

1 0 0 1

0 0 1 0

Input Selected

EXPANDED MULTIPLEXERS

The enable (EN) pin disables the outputs of the MUX. This way the MUX can be used one at a time.

## MULTIPLEXERS AND LOGIC FUNCTIONS

A useful application of the MUX is in the generation of combinational logic functions in sum-ofproducts form.

## So whats the use [o_0]?

Can replace discrete logic gates. Often greatly number of ICs. reduces the

## MULTIPLEXERS AND LOGIC FUNCTIONS

Consider 74LS151, an 8-input MUX, that can be use to implement any 3-variable logic function.
The variables are connected to the data-select inputs, and each data-input is set to logic level required in the truth table of the function to be implemented. Example: Implement the following logic function: F (A,B,C) = (3,5,6,7)

0 1 2 MUX

Input Variables

Data Output

+5
Func. Inputs

0 1 2 3 4 5 6 7

0 0 0 0 1 1 1 1

0 0 1 1 0 0 1 1

0 1 0 1 0 1 0 1

0 0 0 1 0 1 1 1

= + + +

## Meanwhile, in digital communication land.

DEMULTIPLEXERS
The opposite of MUX

DEMUX

MUX

DEMULTIPLEXERS
A demultiplexer (DEMUX) performs the opposite function from a MUX. It switches data from one input line to two or more data lines depending on the select inputs.
Data Select Data Input

0 1

0 1 2 3

DEMUX

Data Select

1 0

0 0

Output Selected

0
1 1

1
0 1

DEMULTIPLEXERS
Data Select

1 0
0 1 1

0 0
1 0 1

Output Selected

## Project Design Analysis

PCB Design Soldering Datasheet Reading Having fun..!! _\m/

ANY QUESTIONS?

Anyone willing to present? Time allowed : 5 mins Topic : Any Bonus Points : +3

REFERENCES
Chapter no 5: MSI and PLD components
Digital Logic Design by Morris Mano

## Chapter no 6: Functions of Combination Logic

Digital Fundamentals by Floyd