Combinational Logic Chapter 4.

Slides:



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

Encoders Three-state devices Multiplexers
Princess Sumaya University
Digital Logic Design Week 7 Encoders, Decoders, Multiplexers, Demuxes.
Combinational Circuits
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.
Overview Part 2 – Combinational Logic
CS 151 Digital Systems Design Lecture 15 Magnitude Comparators and Multiplexers.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 3 – Combinational Logic Design Part 2 –
Combinational Logic Building Blocks
EE2174: Digital Logic and Lab
DIGITAL SYSTEMS TCE OTHER COMBINATIONAL LOGIC CIRCUITS DECODERS ENCODERS.
ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
 Combinational circuit that selects binary information from one of many input lines and directs information to a single output line.
ETE Digital Electronics Multiplexers, Decoders and Encoders [Lecture:10] Instructor: Sajib Roy Lecturer, ETE, ULAB.
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.
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.
Combinational Logic Design
Chapter 4-part 2 Combinational Logic. 4-6 DecimalAdder   Add twoBCD's   9 inputs: two BCD's and one carry-in 5 outputs: one BCD and one carry-out.
Outline Analysis of Combinational Circuits Signed Number Arithmetic
Sahar Mosleh PageCalifornia State University San Marcos 1 Multiplexer, Decoder and Circuit Designing.
CS2100 Computer Organisation MSI Components (AY2015/6 Semester 1)
WEEK #9 FUNCTIONS OF COMBINATIONAL LOGIC (DECODERS & MUX EXPANSION)
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
Combinational Design, Part 3: Functional Blocks
1 Combinational Logic Design Digital Computer Logic Kashif Bashir
Logical Circuit Design Week 6,7: Logic Design of Combinational Circuits Mentor Hamiti, MSc Office ,
Multiplexers and Demultiplexers, and Encoders and Decoders
CHAPTER 4 Combinational Logic
Morgan Kaufmann Publishers
Decoders, Encoders, Multiplexers
CS 105 DIGITAL LOGIC DESIGN Chapter 4 Combinational Logic 1.
CS151 Introduction to Digital Design
Chap 2. Combinational Logic Circuits
Combinational Circuits by Dr. Amin Danial Asham. References  Digital Design 5 th Edition, Morris Mano.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 7 Dr. Shi Dept. of Electrical and Computer Engineering.
Chapter Four Combinational Logic 1. Discrete quantities of information are represented in digital systems by binary codes. A binary code of n bits is.
1 Chapter 4 Combinational Logic Logic circuits for digital systems may be combinational or sequential. A combinational circuit consists of input variables,
Magnitude Comparator A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.
Chapter 3: Combinational Functions and Circuits 3-5 to 3-7: Decoders
DIGITAL LOGIC DESIGN & COMPUTER ARCHTECTURE
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.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Multiplexers.
MSI Combinational logic circuits
Digital Design Lecture 8 Combinatorial Logic (Continued)
Digital Design Module 2 Decoder Amit Kumar AP SCSE, GU Greater Noida.
Combinational Circuits. Outline Boolean Algebra Decoder Encoder MUX.
1 DLD Lecture 16 More Multiplexers, Encoders and Decoders.
Chapter4: Combinational Logic Part 4 Originally By Reham S. Al-Majed Imam Muhammad Bin Saud University.
Logic Design (CE1111 ) Lecture 4 (Chapter 4) Combinational Logic Prepared by Dr. Lamiaa Elshenawy 1.
UNIT 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES
MSI Circuits.
Combinational Circuits
CS221: Digital Logic Design Combinational Circuits 3
Combinational Circuits
Multiplexers and Demultiplexers,
Jeremy R. Johnson Wed. Sept. 29, 1999
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.
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
FIGURE 4.1 Block diagram of combinational circuit
COE 202: Digital Logic Design Combinational Circuits Part 3
Multiplexers Anindya IE CSE.
Chapter-4 Combinational Logic
Digital System Design Combinational Logic
Instructor: Alexander Stoytchev
Presentation transcript:

Combinational Logic Chapter 4

Decoders Encoders Multiplexers Content List Decoders Encoders Multiplexers

4.9 Decoders A decoder is a combinational circuit that converts binary information from n input lines to a maximum of 2ⁿ unique output line The decoders presented here are called n to m-line decodes, where m ≤ 2 Decoder is normally used for other code converters, such as a BCD-to-seven-segment encoder

The three-to-eight-line-decoder circuit 4.9 Decoders The three-to-eight-line-decoder circuit

4.9 Decoders

2-to-4-line decoder with NAND gate 4.9 Decoders 2-to-4-line decoder with NAND gate Note : it is more economical to produce inverted AND operation with NAND gates

4.9 Decoders A decoder with enable input can function as a Demux - circuit that receives information from a single Line and directs it to one of 2ⁿ possible output lines Decoder and demultiplexer operations are obtained from the same circuit, a decoder with an enable input is referred as a decoder-multiplexer

4.9 Decoders Two 3-to-8-line decoders with enable inputs connected to form a 4-to-16- line decoder How many 3-to-8 line decoders require to make 5-to-32 line decoder ?

Combinational Logic Implementation 4.9 Decoders Combinational Logic Implementation Note : if decoder is designed by NAND gates then at output NAND gates must be used instead of OR gates

4.10 Encoders An encoder is a digital circuit that performs the inverse operation of a decoder An encoder has 2ⁿ (or fewer) input lines and n output lines The output lines, as an aggregate, generate the binary code corresponding to the input value

Octal-to-Binary encoder 4.10 Encoders Octal-to-Binary encoder Higher priority for inputs with higher subscript numbers, and if both D3 and D6 are “1”at the same time, the output will be 110 because & D6 has higher priority than D3 At least one input must be equal to “1”

4.10 Encoders Priority Encoder A priority encoder is a circuit that includes the priority function If more than two input equal to “1” , The input having highest priority will take precedence

4.10 Encoders Maps for priority encoder

Four input priority encoder Implementation 4.10 Encoders Four input priority encoder Implementation

4.11 MULTIPLEXERS A multiplexer is a combinational circuit that selects binary information from one of many input lines and directs it to a single output line The selection of a particular input line is controlled by a set of selection lines 2ⁿ input lines and n selection lines whose bit combinations determine which input is selected

4.11 MULTIPLEXERS 2-to-1 line multiplexer

4.11 MULTIPLEXERS 4-to-1 line multiplexer

4.11 MULTIPLEXERS Quadruple 2-to-1-line multiplexer

Boolean function implementation 4.11 MULTIPLEXERS Boolean function implementation The first n - 1 variables of the function are connected to the selection inputs of the multiplexer The remaining single variable of the function is used for the data input e.g. If the single variable (data input) is denoted by , each data input of the multiplexer will be z, z', 1, or 0

4.11 MULTIPLEXERS Example:

4.11 MULTIPLEXERS Three state gates A multiplexer is constructed with three state gates, (1) Two of the states are Logic 1 & Logic 0 (2) The third state is high impedance state in which logic behave like open circuit Graphic symbol for a three-state buffer

Multiplexer with three-state gates 4.11 MULTIPLEXERS Multiplexer with three-state gates 4- to – 1 line Mux

Home Exercise 4.21, 4.22, 4.23, 4.25, 4.26, 4.27, 4.28, 4.29, 4.31, 4.32, 4.33, 4.35 Task for next lecture Write a program and Implement the 4.26 with C /C++