Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Understanding Multiplexers and Demultiplexers: One-bit Wide MUX and DEMUX Examples, Lab Reports of Electrical and Electronics Engineering

The concept of multiplexers (mux) and demultiplexers (demux) using a one-bit wide example. Muxes and demuxes are logic circuits used to route inputs or outputs based on an address. They are extensively used in computers to move data to desired locations. This document also discusses the application of mux and demux in sending parallel data serially.

Typology: Lab Reports

Pre 2010

Uploaded on 09/24/2009

koofers-user-bj5-1
koofers-user-bj5-1 🇺🇸

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
12/1/2008
1
A=B
Karnaugh map does not simplify
A=B
WX
\
YZ
00
01
11
10
Karnaugh map does not simplify
expression
But, look at two terms in expression:
WX
\
YZ
00
01
11
10
00 1
1
But, look at two terms in expression:
=
W’X’Y’Z’
+
W’XY’Z
+
.......
01
1
11
1
A=B
=
W’X’Y’Z’
+
W’XY’Z
+
.......
= W’Y’(X’Z’ + XZ) +
.......
11
1
10
1
= W’Y’(X’Z’ + XZ) +
.......
= W’Y’(X’ XOR Z) +
.......
1
= W’Y’(X’ XOR Z) +
.......
A=B
=
W’Y’(X XOR Z’) +
.......
Or, equivalently:
A=B
=
WY’(X XOR Z’) +
Or, equivalently:
Recall
:
X
XOR
Y= XY’ + X’Y => X’
XOR
Y= X’Y’ + XY
Recall
:
X
XOR
Y= XY + XY => X
XOR
Y= XY + XY
+V
X’
X
X’
=
Also:
X
X’
X
X’
=
Also:
OTHER COMBINATIONAL COMPONENTSOTHER COMBINATIONAL COMPONENTS
OTHER COMBINATIONAL COMPONENTSOTHER COMBINATIONAL COMPONENTS
Recall definition of
combinational logic
: current output(s) depend
only on current input(s)
Recall definition of
combinational logic
: current output(s) depend
only on current input(s)
This is different from
sequential logic
, where the output depends on
This is different from
sequential logic
, where the output depends on
current input(s) and previous input(s) and/or output(s). Sequential
logic involves
memory
, where combinational logic does not.
logic involves
memory
, where combinational logic does not.
Multiplexer
(MUX):
A multiplexer acts like a switch
-
it routes
Multiplexer
(MUX):
A multiplexer acts like a switch
-
it routes
(connects) the appropriate input to the output according to the input
address
If a particular input line is addressed, the
address
A0
If a particular input line is addressed, the
output will be at the same logic level as
.
A0
A1
A2
If the address has M bits, the MUX can
output will be at the same logic level as
that input
Output
.
.
A2
AN
If the address has M bits, the MUX can
route up to 2
M
inputs
Output
route up to 2
inputs
MUXes
can be built with logic gates
Address
MUXes
can be built with logic gates
pf3

Partial preview of the text

Download Understanding Multiplexers and Demultiplexers: One-bit Wide MUX and DEMUX Examples and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

A=B

Karnaugh map does not simplify

A=B

WX\YZ 00 01 11 10

Karnaugh map does not simplify

expression

But, look at two terms in expression:

WX\YZ 00 01 11 10

00 1

But, look at two terms in expression:

F = W’X’Y’Z’ + W’XY’Z +

.......

01 1

11 1

F

A=B

= W’X’Y’Z’ + W’XY’Z +

.......

= W’Y’(X’Z’ + XZ) +

....... 11 1

10 1

= W’Y’(X’Z’ + XZ) +

.......

= W’Y’(X’ XOR Z) +

.......

= W’Y’(X’ XOR Z) +

.......

F

A=B

= W’Y’(X XOR Z’) +

....... Or, equivalently: F A=B

Or, equivalently: = W’Y’(X XOR Z’) +

RecallRecall:: XX XORXOR Y= XY’ + X’Y => X’Y= XY’ + X’Y => X’ XORXOR Y= X’Y’ + XYY= X’Y’ + XY

+V

X’ = X X’

Also:

X

X’ = X X’

Also:

OTHER COMBINATIONAL COMPONENTSOTHER COMBINATIONAL COMPONENTSOTHER COMBINATIONAL COMPONENTSOTHER COMBINATIONAL COMPONENTS

Recall definition of combinational logic: current output(s) depend

only on current input(s)

Recall definition of combinational logic: current output(s) depend

only on current input(s)

This is different fromThis is different from sequential logicsequential logic, where the output depends on, where the output depends on

current input(s) and previous input(s) and/or output(s). Sequential

logic involveslogic involves memorymemory, where combinational logic does not., where combinational logic does not.

MultiplexerMultiplexer (MUX):(MUX): A multiplexer acts like a switchA multiplexer acts like a switch-- it routesit routes

(connects) the appropriate input to the output according to the input

address

If a particular input line is addressed, the

address

A

If a particular input line is addressed, the

output will be at the same logic level as

.

A

A

A

If the address has M bits, the MUX can

output will be at the same logic level as

that input

Output .

.

A

AN

If the address has M bits, the MUX can

route up to 2

M

inputs

Output

route up to 2 inputs

MUXes can be built with logic gates

Address

MUXes can be built with logic gates

EXAMPLEEXAMPLE Build a MUX With a 1-Bit Wide

Address Line

With a 1-bit address line (M = 1), we can address 2 inputs (

M

= 2

1

= 2)

MUX

A0A

Output

A

Output

A

Address

Multiplexers are used extensively in computers to move data toMultiplexers are used extensively in computers to move data to

desired locations

OTHER LOGIC CIRCUITSOTHER LOGIC CIRCUITS (continued)

Demultiplexer (DEMUX): A multiplexer acts like a switch- it routs the

input to the appropriate output according to the input addressinput to the appropriate output according to the input address

A

If a particular output line is addressed, that

A

A

A

If a particular output line is addressed, that

output will be at the same logic level as the

input Input .

.

A

AN

If the address has M bits, the DEMUX can

route to up to 2

M

outputs

input Input

AN

route to up to 2

M

outputs

DEMUX

Address

A

DEMUX

A logic circuit that

Address

A

Input

A logic circuit that

performs a 1-bit

address line

A

Input address line

demultiplex

A

demultiplex

operation is given on

the right

Address

the right