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.

Slides:



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

Give qualifications of instructors: DAP
Encoders Three-state devices Multiplexers
CDA 3100 Recitation Week 10.
Logic Circuits Design presented by Amr Al-Awamry
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.
Limitations are  The number of inputs (n)  The number of outputs (m)  The number of product terms (p) 5.3 Combinational PLDs ReturnNext Programmable.
ReturnNext A circuit that compares two binary words and indicates whether they are equal is called a comparator. Some comparators interpret their input.
CS 151 Digital Systems Design Lecture 17 Encoders and Decoders
8.4 Counters NextReturn Any clocked sequential circuit whose state diagram contains a single cycle is called a counter. The number of states in the cycle.
CS 140 Lecture 11 Professor CK Cheng 5/09/02. Part III - Standard Modules Decoder, Encoder, Mux, DeMux, Shifter, Adder, Multiplexer Interconnect: Decoder,
Decoder.
 We can use an algebraic description of the circuit ’ s functional behavior in the analysis of a larger system that includes the circuit.  We can determine.
5.8 Exclusive-OR Gates and Parity Circuits ReturnNext Exclusive-OR(XOR) Gates Exclusive-NOR(XNOR) Gates x ⊕ y=x · y+x · y x ⊙ y=x · y+x · y
3.1 Logic Signals and Gates Logic Signals ReturnNext  Logic Value: Many physical quantities can be represented two possible numbers or logic values —
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS DECODERS ENCODERS.
Chapter 3 Combinational Logic Design
3. Flip-flops ReturnNext 8.1 Sequential-Circuit Documentation Standards As a whole, basic documentation standards include signal naming, logic symbols,
Combinational Logic Chapter 4.
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.
Top-down modular design
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.
Encoders Three-state Outputs Multiplexers XOR gates.
Chapter 5 Memory and Programmable Logic 5.1. Introduction 5.2. Random Access Memory 5.3. Memory Encoding 5.4. Read Only Memory 5.5. Programmable Logic.
Decoders.
Synchronous Counters ET 5. Thinking back In the past we have seen that asynchronous counters can be used to count binary in the order that we have filled.
Combinational Circuit – Arithmetic Circuit
COE 202: Digital Logic Design Combinational Circuits Part 3 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office: Ahmad Almulhem, KFUPM.
1 Digital Logic Design Week 7 Decoders, encoders and multiplexers.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
Documentation Standards Circuit specification. –Description of what the system is supposed to do, including a description of all inputs and outputs and.
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexer Circuits.
Combinational Design, Part 3: Functional Blocks
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
CS151 Introduction to Digital Design
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 7 Dr. Shi Dept. of Electrical and Computer Engineering.
Decoders. A decoder is multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs. Input code with fewer bits than the.
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
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.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Digital Systems Section 11 Decoders and Encoders.
Module 11.  In Module 9, we have been introduced to the concept of combinational logic circuits through the examples of binary adders.  Meanwhile, in.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
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.
EKT 124 / 3 DIGITAL ELEKTRONIC 1
CS221: Digital Logic Design Combinational Circuits 3
Combinational Logic Circuits
Combinational Circuit Design
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.
CSE 140 Lecture 11 Standard Combinational Modules
کدگشا Decoder)) و کدگذار (Encoder) تهیه شده توسط حسین امیرخانی
FIGURE 4.1 Block diagram of combinational circuit
Multiplexers Anindya IE CSE.
Digital Systems Section 17 Decoders and Encoders.
13 Digital Logic Circuits.
Binary Logic.
XOR Function Logic Symbol  Description  Truth Table 
Digital System Design Combinational Logic
Instructor: Alexander Stoytchev
Combinational circuits design
Half & Full Subtractor Half Subtractor Full Subtractor.
Half & Full Subtractor Half Subtractor Full Subtractor.
CSE 140 Lecture 11 Standard Combinational Modules
Presentation transcript:

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 are different. The output code generally has fewer bits than the input code, and there is one-to-one mapping from input code words into output code words. input code word output enable inputs map Encoder Return Next

5.5 Encoders Binary encoder The most common decoder circuit is an 2n-to-n encoder or binary encoder. Such a encoder has an 2n-bit binary input code and n-bit output binary code. Binary encoder I0 Y0 I1 Y1 I2 : : : : Yn-1 I2n-1 Write the truth table for 8-to-3 binary encoder and the output logic function expressions. Return Back Next

5.5 Encoders Simulation Suppose the inputs I2 and I4 are both 1, what is the output ? If multiple requests can be made simultaneously, the encoder gives undesirable results. Return Back Next

5.5 Encoders Priority Encoders The 74x148 Priority Encoders The solution is to assign priority to the input lines, so that when multiple inputs are asserted, the encoding device produces the number of the highest-priority input. Such a device is called a priority encoder. The 74x148 Priority Encoders EI I7 A2 I6 A1 I5 A0 I4 I3 GS I2 EO I1 I0 74X148 6 7 9 1 14 15 5 4 3 2 13 12 11 10 Return Back Next

5.5 Encoders Input data I0-I7 Enable input EI Output GS is asserted when the device is enabled and one or more of the request are asserted. Output EO is asserted if EI is assert but no request input is asserted, it designed to be connected to the EI input of another ‘148 that handles lower-priority requests. Return Back Next

5.5 Encoders Truth table for a 74x148 8-input priority encoder Inputs Outputs EI I0 I1 I2 I3 I4 I5 I6 I7 A2 A1 A0 GS EO 1 x x x x x x x x 0 x x x x x x x 0 0 x x x x x x 0 1 0 x x x x x 0 1 1 0 x x x x 0 1 1 1 0 x x x 0 1 1 1 1 0 x x 0 1 1 1 1 1 0 x 0 1 1 1 1 1 1 0 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 0 1 1 0 0 0 1 1 0 1 0 1 1 1 0 0 1 1 1 1 0 1 1 1 1 1 0 Return Back Next

5.5 Encoders Logic diagram for the 74x148 priority encode (p379 Figure 5-50) Cascading Binary Encoders (p380 Figure 5-51) Return Back