ECE 2372 Modern Digital System Design

Slides:



Advertisements
Similar presentations
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Advertisements

5.5 Encoders A encoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Give qualifications of instructors: DAP
Princess Sumaya University
5.4 Decoders A decoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Combinational Circuits CS370 – Spring BCD to 7 Segment Display Controller Understanding the problem: input is a 4 bit bcd digit output is the control.
Seven Segment Display. What's A 7-Segment Display? A 7-segment display is a package with 7 bar-shaped LEDs arranged to allow the display of many useful.
System Digital Encoder, Decoder, and Contoh Penerapanya.
LOGIC DESIGN AND CIRCUITS SEVEN SEGMENT LED DISPLAY Res. Assist. Hale İnan 1.
Combinational Logic Design
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Counter Circuits and VHDL State Machines
CS 151 Digital Systems Design Lecture 17 Encoders and Decoders
Decoder.
MSI Logic Circuits Wen-Hung Liao, Ph.D.. Objectives Analyze and use decoders and encoders in various types of circuit applications. Compare the advantages.
Combinational Logic Building Blocks
ECE 331 – Digital System Design Logic Circuit Design (Lecture #7)
COMBINATIONAL CIRCUITS USING TTL 74XX ICS
OTHER COMBINATIONAL LOGIC CIRCUITS
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS DECODERS ENCODERS.
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.
OTHER COMBINATIONAL LOGIC CIRCUITS WEEK 7 AND WEEK 8 (LECTURE 2 OF 3)
TK I/O Peripherals Interface DR MASRI AYOB.
BCD to 7-Segment Display
Lab 6 :Digital Display Decoder: 7 Segment LED display Slide #2 Slide #3 Slide #4 Slide #5 Slide #6 Slide #7 Display Decoder Fundamentals LT Control Input.
Digital Outputs 7-Segment Display
Dewan Tanvir Ahmed SITE, UofO
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexers.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
CS 151: Digital Design Chapter 3 3-8: Encoding. CS 151 Encoding Encoding - the opposite of decoding - the conversion of a maximum of 2 n input code to.
Logic Function Optimization. Combinational Logic Circuit Regular SOP and POS designs Do not care expressions Digital logic circuit applications Karnaugh.
Dr. Ahmed El-Bialy, Dr. Sahar Fawzy Combinational Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
ABCDNumber = Off 1 = On Binary Coded Decimal (BCD)
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Functions of Combinational Logic
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
CSET 4650 Field Programmable Logic Devices
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)
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
Multiplexers and Demultiplexers, and Encoders and Decoders
Semiconductors, ICs and Digital Fundamentals. The Diode The semiconductor phenomena. Diode performance with ac and dc currents. Diode types: –General.
CS151 Introduction to Digital Design
Computer Architecture I: Digital Design Dr. Robert D. Kent Logic Design Decoders and Multiplexers.
Counter Circuits and VHDL State Machines
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.
ECE 320 Homework #3 1. Simplify the Boolean function F using the don’t care conditions d, in both S.O.P. and P.O.S. form: a) F=A’B’D’+A’CD+A’BC d=A’BC’D+ACD+AB’D’
Magnitude Comparator Dr. Ahmed Telba.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
BCD S EVEN SEGMENT D ECODER. I NTRODUCTION  A Decoder IC, is a device which converts one digital format into another and the most commonly used device.
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
Module 11.  In Module 9, we have been introduced to the concept of combinational logic circuits through the examples of binary adders.  Meanwhile, in.
Digital System Design Multiplexers and Demultiplexers, and Encoders and Decoders.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-5 Combinational Functional Blocks 3-6 Rudimentary Logic Functions 3-7 Decoding.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
ACOE161Digital Circuit Design1 Design Of Combinational Logic Circuits.
DIGITAL ELECTRONICS THEME 2: Combinational Logic Circuits. Decoders, Multiplexers, De-multiplexers, Code converters. For combinational logic the values.
Decoder. 2 ABC 3:8 dec O0O0 O1O1 O2O2 A B C Enb S2S2 S1S1 S0S0 O3O3 O4O4 O5O5 O6O6 O7O7 EABC O0O0 O1O1 O2O2 O3O3 O4O4 O5O5 O6O6 O7O7 0XXX
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.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Chapter 3 Combinational Logic Design II
More Devices: Control (Making Choices)
Display Devices 7 segment led display.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Multiplexers Anindya IE CSE.
Digital System Design Combinational Logic
Presentation transcript:

ECE 2372 Modern Digital System Design Section 4.2 Decoders 1

Decoders A decoder is a circuit used to “translate” a code word to another code representation. 2

Decoders n – 2n Decoder: n-input lines (n-bit word input) and 2n output lines. For each possible word, one (and only one) output is asserted to a logical 1, all other lines will remain at logical 0. 3

Decoders Parallel 2-Bit Decoder (with inputs A and B, and outputs m0, m1, m2, and m3) is described by the truth table: 4

Decoders 5

Decoders 6

Decoders Enable Controls provide a selection to either inhibit (disable) or allow (enable) the decoder output. 7

Decoders An alternative decoder structure is: 8

74139 2-Line-to-4-Line Decoder/Demultiplexer

74139 2-Line-to-4-Line Decoder/Demultiplexer 10 10

74139 2-Line-to-4-Line Decoder/Demultiplexer 11 11

74139 2-Line-to-4-Line Decoder/Demultiplexer 12 12

74139 2-Line-to-4-Line Decoder/Demultiplexer

74138 3-Line-to-8-Line Decoder/Demultiplexer 14

74138 3-Line-to-8-Line Decoder/Demultiplexer 15 15

74138 3-Line-to-8-Line Decoder/Demultiplexer 16 16

74138 3-Line-to-8-Line Decoder/Demultiplexer 17 17

74238 3-Line-to-8-Line Decoder/Demultiplexer 18 18

74138 3-Line-to-8-Line Decoder/Demultiplexer 19

74138 3-Line-to-8-Line Decoder/Demultiplexer 20

74154 4-Line-to-16-Line Decoder/Demultiplexer 21

74154 4-Line-to-16-Line Decoder/Demultiplexer 22 22

74154 4-Line-to-16-Line Decoder/Demultiplexer 23 23

74154 4-Line-to-16-Line Decoder/Demultiplexer 24 24

74154 4-Line-to-16-Line Decoder/Demultiplexer 25

74154 4-Line-to-16-Line Decoder/Demultiplexer 26

Applications of Decoders Implementing Logic Functions Using Decoders: The Decoder selects an output line corresponding to the minterm represented by the binary value of the input word. This can be used to implement any switching function, often with fewer integrated circuits. 27

Applications of Decoders Consider the (simplified) 3-Line-to-8-Line Decoder and the switching function: 28

Applications of Decoders 29

Applications of Decoders Consider the (simplified) 3-Line-to-8-Line Decoder and the switching function: 30

Applications of Decoders 31

Applications of Decoders Recall, the 4-person vote-tallying machine may be implemented by: 32

33

Applications of Decoders Address Decoding: One of 2n – 1 devices is selected when the address of that device is broadcast over a common data bus and decoded by the decoder. 34

Applications of Decoders BCD to Decimal Decoders: The input is a BCD word (DCBA), the output is one of the output lines (Y0 – Y9). The inputs are related to the outputs by the truth table (note don’t-cares). 35

36

Applications of Decoders Display Decoders: LED displays require decoders to illuminate the appropriate LED for a given code word. An LED emits light when it is forward biased and current flows from anode to cathode. Typically a current limiting resistor must be included in series with the LED. 37

Applications of Decoders A number of LEDs (as in a display) may be connected common anode (LEDs illuminate with logical 0 input). 38

Applications of Decoders A number of LEDs (as in a display) may be may be connected common cathode (LEDs illuminate with logical 1 input). 39

Applications of Decoders In a seven-segment display the individual LEDs are arranged: 40

Applications of Decoders The numerals 0 – 9 are represented by: 41

42