Multiplexers and De-Multiplexers

Slides:



Advertisements
Similar presentations
Adders Used to perform addition, subtraction, multiplication, and division (sometimes) Half-adder adds rightmost (least significant) bit Full-adder.
Advertisements

Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Multiplexer. A multiplexer (MUX) is a device which selects one of many inputs to a single output. The selection is done by using an input address. Hence,
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 3 OF 3) MULTIPLEXERS DEMULTIPLEXERS.
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
Multiplexer MUX. 2 Multiplexer Multiplexer (Selector)  2 n data inputs,  n control inputs,  1 output  Used to connect 2 n points to a single point.
 Combinational circuit that selects binary information from one of many input lines and directs information to a single output line.
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Multiplexers DeMultiplexers XOR gates
Outline Decoder Encoder Mux. Decoder Accepts a value and decodes it Output corresponds to value of n inputs Consists of: Inputs (n) Outputs (2 n, numbered.
Combinational Logic Design
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
1 Digital Logic Design Week 7 Decoders, encoders and multiplexers.
MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5) Dr. Costas Kyriacou and Dr. Konstantinos Tatas ACOE161 - Digital Logic.
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Fall 2004EE 3563 Digital Systems Design EE3563 Multiplexers  A multiplexer is a digital switch  Allows a device to select a single line from many  Some.
Mux 2.1 Multiplexers and De-Multiplexers 2: ©Paul Godin Updated November 2007.
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Morgan Kaufmann Publishers
ELE22MIC Lecture 9 MULTIPLEXOR - DATA SELECTOR DEMULTIPLEXOR - DATA DISTRIBUTOR Parallel to Serial Data Conversion External Address Bus Latching Address.
ELE22MIC Lecture 10 MULTIPLEXOR - DATA SELECTOR
ELE2MIC Lecture 19 MULTIPLEXOR - DATA SELECTOR
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
Multiplexers and De-Multiplexers 1
CO UNIT-I. 2 Multiplexers: A multiplexer selects information from an input line and directs the information to an output line A typical multiplexer has.
MSI Counters Counter ICs Technician Series ©Paul Godin Updated Feb 2015 gmail.com.
Basic Gates 2.1 Basic Digital Logic: Application of Digital Gates using AND / OR / NOT ©Paul Godin Created August 2007 Last Update Sept 2013 Basic Gates.
Counters 2.1 MSI Counters Counter ICs ©Paul Godin Updated Aug 2013 gmail.com.
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Magnitude Comparator Dr. Ahmed Telba.
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
Company LOGO Edit your slogan here DKT 122/3 DIGITAL SYSTEM 1 WEEK #8 FUNCTIONS OF COMBINATIONAL LOGIC (ENCODER & DECODER, MUX & DEMUX)
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
MICROPROCESSOR DETAILS 1 Updated April 2011 ©Paul R. Godin prgodin gmail.com.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Multiplexer (MUX) A multiplexer can use addressing bits to select one of several input bits to be the output. A selector chooses a single data input and.
Multiplexers & Decoders By: Jason Pitts CS 147 Spring 2010.
CSE 140 Lecture 13 Combinational Standard Modules Professor CK Cheng CSE Dept. UC San Diego 1.
CSE 140 Lecture 12 Combinational Standard Modules CK Cheng CSE Dept. UC San Diego 1.
Multiplexer.
Microprocessors 3 Buses, Addresses and Machine Cycles 1 Modified April 2011 ©Paul R. Godin prgodin gmail.com.
ACOE161 (Spring2007)MSI Devices1 Revision on MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5)
MSI Circuits.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
EGR 2131 Unit 6 Combinational Building Blocks
Instructor: Alexander Stoytchev
Multiplexer.
EKT 124 MUX AND DEMUX.
CS221: Digital Logic Design Combinational Circuits 3
CSE 140 Lecture 12 Combinational Standard Modules
Combinational Circuits
OTHER COMBINATIONAL LOGIC CIRCUITS
The Multiplexer Multi what?
Hasib Hasan Ankit Baingane Edward Hanson
Unit5 Combinational circuit and instrumentation system.
CSE 140 Lecture 12 Combinational Standard Modules
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Latches and Flip-Flops 2
COE 202: Digital Logic Design Combinational Circuits Part 3
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
Latches and Flip-Flops 2
Electronics for Physicists
Digital System Design Combinational Logic
Instructor: Alexander Stoytchev
ECE2030 HW-6.
Presentation transcript:

Multiplexers and De-Multiplexers ©Paul Godin Updated Sept 2009

Definitions Multiplexer: A device that selectively forwards a single source of data from multiple sources. Often called a MUX. Input Signals Output signal Selection

Definitions De-Multiplexer: A device that forwards an input signal to a selected output. Often called a DEMUX. Input Signal Output signal Selection

Multiplexer – Selected input to single output A B C D S0 S1 Y A B C D Output Rotary selector switch Mechanical Equivalent Logic Diagram

De-multiplexer – Single input to selected output A A Y Input B B C C D D Rotary selector switch S0 S1 Mechanical Equivalent Logic Diagram

MUX and DEMUX Combination A mechanical combination MUX and DEMUX is often used when evaluating stereo equipment in a store. Unit #1 Unit #2 Unit #3 Unit #4 Speakers #1 Speakers #2 Speakers #3 Speakers #4 Selector (MUX) (DEMUX) Direction of data

MUX and DEMUX Combination A combination MUX and DEMUX is used in data communications.

Multiplexers

Examples of Multiplexers Examples of selectively forwarding an input signal to an output includes: Selection switch on a home stereo, where one selects between several sources to be sent to the amplifier and speakers. A multi-line telephone where one line is selected. A video surveillance monitor that switches between cameras. Multiplexers are used extensively in data and voice communication networks

Multiplexers Digital applications for multiplexers include external and internal applications (steering gates). Multiplexers are often used in conjunction with other digital circuits such as decoders, counters and other multi-function devices.

A Simple Multiplexer (2-input) Z B A If S = 0, value A is forwarded If S = 1, value B is forwarded Boolean Expression: Z = S’A + SB

A 4-to-1 Multiplexer S0 S1 Z B C D A

A 4-to-1 Multiplexer with Enable S0 S1 Z B A C D En’ What is the Boolean Expression for this circuit? Build a function table for this circuit

A multi-channel MUX Channel 1 a b c d Channel 2 En S A1 B1 C1 D1 A2 B2

Multi-Channel MUX in a Digital Alarm Clock V Decoder Decoder Decoder AM PM Alarm / Real Time Decoder Digital Clock Real Time 13 bits Digital Clock Alarm Time 13 bits The MUX permits the sharing of the displays and the decoders.

A 7-Segment Display for Multiplexing c b a d e f g Common: Digit 1 Common: Digit 2 c b a d e f g Common: Digit 1 Common: Digit 2 To display a digit enable the common for that digit only.

Multi-Channel MUX in a Shared Display Oscillator Select Decoder 10’s counter 1’s counter Oscillator With a high enough frequency, the digits appear to both be lit at the same time.

4-to-1 MUX in a Basic Frequency Selector Binary Value S0 S1 ÷2 250Hz ÷2 500Hz Output ÷4 1kHz ÷1000 4kHz The MUX selects the output frequency. 4MHz Crystal

Questions What is the difference between a multiplexer and a decoder?

De-Multiplexers De-Multiplexers are often used in conjunction with other digital circuits such as decoders, counters and other multi-function devices.

Selects whether input “A” goes to “X” or “Y” A simple De-MUX X A Y Selects whether input “A” goes to “X” or “Y” S

A Simple De-Multiplexer (2-output) If S = 1, value Z is forwarded to A If S = 0, value Z is forwarded to B A A S B B Z Boolean Expression: A = SZ Boolean Expression: B = S’Z

Build a function table for this circuit A 1-to-4 De-Multiplexer S0 S1 Z B C D A Build a function table for this circuit

A multi-channel De-MUX b1 Channel 1 A c1 B d1 C a2 D b2 Channel 2 c2 d2 S

Address De-Multiplexer Microprocessors often multiplex their address bus with their data bus. This is to save on pins and physical size. At times, address information is on the bus and at other times data is on the bus. μP

Address De-Multiplexer AD Bus Memory ADDRESS DATA Control The Control output from the microprocessor indicates whether the bus is in Address mode or in Data mode.

Questions What is the difference between a de-multiplexer and an encoder?

From Texas Instruments, Specification sheet for SN74LS194 Questions Identify the following as MUX or De-MUX From Texas Instruments, Specification sheet for SN74LS194

From Texas Instruments, Specification sheet for CD74AC139 Questions Identify the following as MUX or De-MUX From Texas Instruments, Specification sheet for CD74AC139

End prgodin @ gmail.com