Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Encoders Three-state devices Multiplexers
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
Documentation Standards
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
ECE 2372 Modern Digital System Design
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Code Converters, Multiplexers and Demultiplexers
Documentation Standards Programmable Logic Devices Decoders
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #2 Standard combinational modules: decoders, encoders and Multiplexers 1/3/2005.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #7 Intro to MSI PLDs and Decoders.
Decoder.
1 Designing with MSI Documentation Standards  Block diagrams first step in hierarchical design  Schematic diagrams  Timing diagrams  Circuit descriptions.
Multiplexers, Decoders, and Programmable Logic Devices
1 EE365 Three-state Outputs Encoders Multiplexers XOR gates.
Combinational Logic Building Blocks
Combinational Logic and Verilog
OTHER COMBINATIONAL LOGIC CIRCUITS
EE365 Adv. Digital Circuit Design Clarkson University Lecture #8 Buffers, Drivers, Encoders, MUXs & XORs.
5.6 Three-State Devices ReturnNext Three-State Buffers The most basic three-state device is a three- state buffer, often called a three-state driver. Various.
Logic Gates Combinational Circuits
Figure to-1 Multiplexer and Switch Analog
Combinational Logic Chapter 4.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Combinational Logic Design
Encoders Three-state Outputs Multiplexers XOR gates.
Decoders.
Dr. Rabie A. Ramadan Al-Azhar University Lecture 6
Three-state devices Multiplexers
Documentation Standards Circuit specification. –Description of what the system is supposed to do, including a description of all inputs and outputs and.
Combinational Design, Part 3: Functional Blocks
Eng.Samra Essalaimeh Philadelphia University 2013/ nd Semester PIC Microcontrollers.
Kuliah Rangkaian Digital Kuliah 6: Blok Pembangun Logika Kombinasional Teknik Komputer Universitas Gunadarma.
1 EE121 John Wakerly Lecture #6 Three-state Outputs Encoders Multiplexers XOR gates.
Chapter
CS 105 DIGITAL LOGIC DESIGN Chapter 4 Combinational Logic 1.
CS151 Introduction to Digital Design
Code Converters, Multiplexers and Demultiplexers
EKT 124 / 3 DIGITAL ELEKTRONIC 1
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Three-state devices Multiplexers.
Combinational Circuits by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
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.
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.
Fall 2004EE 3563 Digital Systems Design EE 3563 Encoders  When a device’s output has few bits than the input, it is usually called an “encoder”  It essentially.
1 EE121 John Wakerly Lecture #5 Documentation Standards Programmable Logic Devices Decoders.
CS151 Introduction to Digital Design Chapter 3: Combinational Logic Design 3-5 Combinational Functional Blocks 3-6 Rudimentary Logic Functions 3-7 Decoding.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
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.
ACOE161 (Spring2007)MSI Devices1 Revision on MSI Devices M. Mano & C. Kime: Logic and Computer Design Fundamentals (Chapter 5)
Decoder Chapter 12 Subject: Digital System Year: 2009.
CHAPTER 2 Digital Combinational Logic/Arithmetic Circuits.
Chapter 3 - Binary Numbering System
EKT 124 / 3 DIGITAL ELEKTRONIC 1
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Decoders.
Advanced Digital design
Interfacing Memory Interfacing.
Combinatorial Logic Design Practices
FIGURE 4.1 Block diagram of combinational circuit
Programmable Configurations
Multiplexers Anindya IE CSE.
13 Digital Logic Circuits.
Table 1.1 Powers of Two.
Digital System Design Combinational Logic
Presentation transcript:

Decoders

A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the output bits. –Typically n inputs decoder has 2 n outputs 2-to-4, 3-to-8, 4-to-16, etc. There is a one-to-one mapping.

Decoders General decoder structure Typically n inputs decoder has 2 n outputs –2-to-4, 3-to-8, 4-to-16, etc.

Binary 2-to-4 decoder Note “x” (don’t care) notation.

2-to-4-decoder logic diagram

Decoder applications Microprocessor memory systems –selecting different banks of memory Microprocessor input/output systems –selecting different devices Microprocessor instruction decoding –enabling different functional units Memory chips –enabling different rows of memory depending on address Lots of other applications

Decoding Circuits Have to be able to decode particular combinations of input signals. –Need to decode the address lines to determine where the data is to go. –Used to transfer data from or to memory or peripherals. –Take a number of input signals and provide enough outputs to indicate what the input was.

Decoding Circuits If the input is two binary signals, there would have to be four outputs. One output for each input combination.

Two Bit Decoder D1 D

MSI 2-to-4 decoder Input buffering (less load) NAND gates (faster)

Decoder Symbol

More decoder symbols

Complete 74x139 Decoder

3-to-8 decoder

74x138: 3-to-8-decoder symbol

Decoder cascading 4-to-16 decoder

More cascading 5-to-32 decoder

Decoder ICs 74138Octal decoder (3-line-to-8-line) 74154hex decoder (4-line-to-16-line) 7442BCD (Binary Coded Decimal) decoder (4-to-10) 7447BCD to seven-Segment decoder (4-line-to-7-line)

Binary encoders

Three-state buffers Output = LOW, HIGH, or Hi-Z. Can tie multiple outputs together, if at most one at a time is driven.

Three-state buffers When the enable input is not asserted, the device output “floats”; that is, it goes to a high-impedance (Hi-Z), disconnected state and functionally behaves as if it weren’t even there.

Different flavors

timing Typically three-state devices are designed so that they go into the Hi-Z state faster than they come out of the Hi-Z state. That ensures the first device to get off the party line before the second one gets on. Otherwise excessive current will flow. The safe way to use three-state devices is to design control logic that guarantees a dead time, during which no one is driving the party line.