Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.

Slides:



Advertisements
Similar presentations
Functions of Combinational Logic
Advertisements

Documentation Standards
Functions and Functional Blocks
Decoders/DeMUXs CS370 – Spring Decoder: single data input, n control inputs, 2 outputs control inputs (called select S) represent Binary index of.
System Digital Encoder, Decoder, and Contoh Penerapanya.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Code Converters, Multiplexers and Demultiplexers
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 3 OF 3) MULTIPLEXERS DEMULTIPLEXERS.
EET 1131 Unit 8 Code Converters, Multiplexers, and Demultiplexers
Digital Fundamentals Floyd Chapter 6 Tenth Edition
Combinational Logic Building Blocks
COMBINATIONAL CIRCUITS USING TTL 74XX ICS
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
Example of a Combinatorial Circuit: A Multiplexer (MUX)
Multiplexers DeMultiplexers XOR gates
Combinational Logic Chapter 4.
DIGITAL COMPONENTS By Sohaib.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
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.
Functions of Combinational Logic
Combinational Logic By Taweesak Reungpeerakul
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.
1 Lecture #7 EGR 277 – Digital Logic Reading Assignment: Chapter 4 in Digital Design, 3 rd Edition by Mano Chapter 4 – Combinational Logic Circuits A)
Combinational Design, Part 3: Functional Blocks
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
Morgan Kaufmann Publishers
Functions of Combinational Logic By Taweesak Reungpeerakul
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.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Magnitude Comparator Dr. Ahmed Telba.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-1 Design Procedure 1Created by: Ms.Amany AlSaleh.
Multiplexers and De-Multiplexers
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
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.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Code Converters, Multiplexers and Demultiplexers
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
DIGITAL ELECTRONICS THEME 2: Combinational Logic Circuits. Decoders, Multiplexers, De-multiplexers, Code converters. For combinational logic the values.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
ACOE161 (Spring2007)MSI Devices1 Revision on MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5)
Lecture No. 18 Combinational Functional Devices. Recap Decoder Decoder –3-to-8 Decoder –Cascading of Decoders 4-to-16 decoder –Implementing SOP & POS.
MSI Circuits.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
EGR 2131 Unit 6 Combinational Building Blocks
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Digital Design Jeff Kautzer Univ Wis Milw.
Multiplexer.
EKT 124 MUX AND DEMUX.
CS221: Digital Logic Design Combinational Circuits 3
Combinational Logic Circuits
Digital Fundamentals Floyd Chapter 6 Tenth Edition
Digital Design Fundamentals
Instructor: Alexander Stoytchev
Chapter 6 Functions of Combinational Logic
COE 202: Digital Logic Design Combinational Circuits Part 3
13 Digital Logic Circuits.
Digital System Design Combinational Logic
Adder, Subtructer, Encoder, Decoder, Multiplexer, Demultiplexer
Instructor: Alexander Stoytchev
Example of a Combinatorial Circuit: A Multiplexer (MUX)
Presentation transcript:

Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes

MSI (Medium Scale Integration) Circuits (chips) MSI chips have complete circuits, built from multiple gates, on a single chip. Two classes of such integrated chips (ICs) are: Encoders and Decoders Multiplexers and Demultiplexers Are designed and based on binary coded input.

simple binary codes 2–bit codes: 3–bit codes: 00 0 000 0 01 1 001 1 10 2 010 2 11 3 011 3 100 4 101 5 110 6 111 7

10 key numeric keypad data encoded into 4-bit binary code. Encoders Encoders typically have 2N inputs and N outputs. These are called 2N–to–N encoders. Typical examples include 4–to–2 encoders (probably not used much) 8–to–3 encoders 16–to–4 encoders It is assumed that only one input at a time is active. 10 key numeric keypad data encoded into 4-bit binary code. Due to the decimal arithmetic, we also have 10–to–4 encoders. (Why not 10:3?)

Exercise Write the truth table for the 10:4 decimal keypad encoder and boolean expressions of each output. Draw the circuit diagram. The Circuit Diagram for the 10–4 Encoder Input (10 bits) code Output code D9 through  D0 Y3 Y2 Y1 Y0 0000000001 0000000010 1 0000000100 0000001000 0000010000 0000100000 0001000000 0010000000 0100000000 1000000000 In the above encoder, one should note that the input D0 is not connected to any output. An output of 0000 always implies that button 0 is pushed. Y3 = D8 + D9, Y2=… , Y1=… , Y0=… http://www.edwardbosworth.com/My5155_Slides/Chapter05/EncodersAndDecoders.htm

Decoders Decoders are the opposite of encoders; they are N–to–2N devices. Typical examples include 2–to–4 decoders 3–to–8 decoders 4–to–16 decoders optionally, they may have an enable line active-high or active-low (the selected output goes to logic 0) used for to convert n bit binary information to 2n unique outputs

2-to-4 Decoder

74LS138 (3-to-8 active-low decoder)

Exercise Define the equations for each output of the previous given 3:8 decoder IC (74LS138) truth table. Draw a circuit for equations of the outputs.

74LS139 (2-to-4 duo-decoder IC)

BCD-to-7 Segment Display Decoder

Decoder for 7-segment display

Multiplexer RS232 4-1 D-Type Serial Port Data Multiplexer

A 2-input multiplexer Quadruple 2-Line To 1-Line Data Selectors/Multiplexers Definition: An n-input multiplexer (called a MUX) is an n-way digital switch that switches/directs/routes one of ‘n’ inputs to the output line. controlled by the control lines ‘S’ to select which input line to be “connected” to the output. means that the logical value of the output will be the same as the logical value of the selected input.

4:1Mux Fout= I3S0’S1’ + ……

Exercise The logic circuit above is a design of 4 to 1 multiplexer with strobe input using NAND gates. Show the truth table for the mux and write the expression of the output Y.

Exercise Here we see an 8:1 multiplexer made of two 4:1 and one 2:1 multiplexer. Try to design a 4:1 mux using three 2:1 muxes? CD74ACT151: 8-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXER

Figure for 16:4 multiplexer (or Quad 4:1 mux)

Exercise Define the function (job) of the logic design shown in figure?

Demultiplexer 74HCT238 3-to-8 line decoder/demultiplexer