Unit 3 Session - 9 Data-Processing Circuits

Similar documents
Design of Combinational Logic

MODULAR CIRCUITS CHAPTER 7

Function of Combinational Logic ENT263

Logic. Combinational. inputs. outputs. the result. system can

Digital Logic Design ENEE x. Lecture 14

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Unit 2 Session - 6 Combinational Logic Circuits

Sample Test Paper - I

211: Computer Architecture Summer 2016

COMBINATIONAL LOGIC FUNCTIONS

CSCI 220: Computer Architecture I Instructor: Pranava K. Jha. Multiplexers

CSE 140 Lecture 11 Standard Combinational Modules. CK Cheng and Diba Mirza CSE Dept. UC San Diego

Combinational Logic. By : Ali Mustafa

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

Chapter 3 Combinational Logic Design

CHAPTER 7. Solutions for Exercises

UNIT II COMBINATIONAL CIRCUITS:

CprE 281: Digital Logic

Systems I: Computer Organization and Architecture

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Chap 2. Combinational Logic Circuits

CSE 140L Spring 2010 Lab 1 Assignment Due beginning of the class on 14 th April

CprE 281: Digital Logic

Karnaugh Map & Boolean Expression Simplification

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering


Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

A B D 1 Y D 2 D 3. Truth table for 4 to 1 MUX: A B Y 0 0 D D D D 3

Unit 9. Multiplexers, Decoders, and Programmable Logic Devices. Unit 9 1

IT T35 Digital system desigm y - ii /s - iii

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

Lecture 2 Review on Digital Logic (Part 1)

CHAPTER1: Digital Logic Circuits Combination Circuits

Z = F(X) Combinational circuit. A combinational circuit can be specified either by a truth table. Truth Table

Chapter 2 Combinational Logic Circuits

Minimization techniques

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

Chapter 2 Combinational Logic Circuits

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

Digital System Design Combinational Logic. Assoc. Prof. Pradondet Nilagupta

MC9211 Computer Organization

UNIT 1. BOOLEAN ALGEBRA AND COMBINATIONAL CIRCUITS

CHAPTER 7. Exercises 17/ / /2 2 0

Computer Organization I. Lecture 13: Design of Combinational Logic Circuits

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

Advanced Digital Design with the Verilog HDL, Second Edition Michael D. Ciletti Prentice Hall, Pearson Education, 2011

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

COE 202: Digital Logic Design Combinational Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

CSEE 3827: Fundamentals of Computer Systems. Combinational Circuits

Save from: cs. Logic design 1 st Class أستاذ المادة: د. عماد

Computer Science Final Examination Friday December 14 th 2001

Karnaugh Maps (K-Maps)

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Principles of Digital Techniques

Computer Science 324 Computer Architecture Mount Holyoke College Fall Topic Notes: Digital Logic

ECE 2300 Digital Logic & Computer Organization

DESIGN AND IMPLEMENTATION OF ENCODERS AND DECODERS. To design and implement encoders and decoders using logic gates.

Combinational Logic Design/Circuits

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Programmable Logic Devices

UNIT 5 KARNAUGH MAPS Spring 2011

Gate-Level Minimization

Digital Electronics Circuits 2017

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

Chapter 4: Designing Combinational Systems Uchechukwu Ofoegbu

Multiplexers Decoders ROMs (LUTs) Page 1

Signals and Systems Digital Logic System

Chapter 3 Combinational Logic Design

Simplification of Boolean Functions. Dept. of CSE, IEM, Kolkata

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Logic Simplification. Boolean Simplification Example. Applying Boolean Identities F = A B C + A B C + A BC + ABC. Karnaugh Maps 2/10/2009 COMP370 1

CHAPTER 7 MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

Experiment 7: Magnitude comparators

Philadelphia University Student Name: Student Number:

CHAPTER III BOOLEAN ALGEBRA

Class Website:

Unit 9. Multiplexers, Decoders, and Programmable Logic Devices

Chapter 2: Boolean Algebra and Logic Gates

Combinational Logic. Review of Combinational Logic 1

CHAPTER VI COMBINATIONAL LOGIC BUILDING BLOCKS

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Chapter 7 Logic Circuits

SIR C.R.REDDY COLLEGE OF ENGINEERING ELURU DIGITAL INTEGRATED CIRCUITS (DIC) LABORATORY MANUAL III / IV B.E. (ECE) : I - SEMESTER

Lecture (02) NAND and NOR Gates

CHAPTER III BOOLEAN ALGEBRA

Introduction to Karnaugh Maps

Unit 2 Boolean Algebra

Chapter 2. Digital Logic Basics

EECS150 - Digital Design Lecture 19 - Combinational Logic Circuits : A Deep Dive

KP/Worksheets: Propositional Logic, Boolean Algebra and Computer Hardware Page 1 of 8

Fundamentals of Digital Design

LOGIC CIRCUITS. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Cs302 Quiz for MID TERM Exam Solved

( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function

ว ตถ ประสงค ของบทเร ยน

Transcription:

Objectives Unit 3 Session - 9 Data-Processing Design of multiplexer circuits Discuss multiplexer applications Realization of higher order multiplexers using lower orders (multiplexer trees) Introduction Data-processing circuits are logic circuits that process binary data. Such circuits may be multiplexers, demultiplexers, encoder, decoder, EX-OR gates. First we consider multiplexers. Multiplexer Multiplex means many into one. In digital computer networks, multiplexing is a method by which multiple digital data streams are combined into one signal over a shared medium. A digital circuit that performs the multiplexing of digital signals is called a multiplexer (or MUX in short). Multiplexer is a combinational logic circuit that can select one of many inputs. Multiplexer is also called a data selector. A simple 2-to-1 multiplexer block diagram and the switch equivalent circuit are as shown: It has two inputs but only one output. By suitable control input or select input (sel) we can steer any input to the output. Page 1

The general multiplexer block diagram is as shown below: Design of 4-to-1 Multiplexer The 4-to-1 multiplexer has four data inputs. To steer the four data inputs to the output we need two control inputs. The block diagram is as shown below: The truth table describing the behavior of the 4-to-1 multiplexer is as shown below: Control Inputs Output A B Y 0 0 D0 0 1 D1 1 0 D2 1 1 D3 Page 2

From the truth table we obtain the logic equation Y = A B D 0 + A BD 1 + AB D 2 + ABD 3 The equation cannot be further simplified. The logic circuit realization is as shown below: Y = A B D 0 + A BD 1 + AB D 2 + ABD 3 The 74150 The 74150 is a 16-to-1 TTL multiplexer. It has active low output. It has a STROBE, an input signal that disables or enables the multiplexer.. If STROBE = 0, MUX is enabled and if STROBE = 1, MUX is disabled. The block diagram is as shown below: The 74151 The 74151 is an 8-to-1 TTL multiplexer. It has complementary outputs. Page 3

The block diagram is as shown below: The 74153 The 74153 is a dual 4-to-1 TTL multiplexer. It has non-inverting outputs. It has separate enable for each multiplexer and common select lines. The 74157 The 74157 is a quad 2-to-1 TTL multiplexer IC. The block diagram is as shown below: Page 4

Multiplexer Applications Multiplexer s important application is in sharing the circuits, ports, devices and resources. Multiplexers can be used in design of combinational logic circuits. Nibble Multiplexer Nibble Multiplexer is used when we want to select one of two input nibbles. Consider the two input nibbles, A3A2A1A0 and B 3 B 2 B 1 B 0. The 74157 IC is used to realize the nibble multiplexer as shown below: The control signal SELECT determines which nibble is transmitted to output. STROBE input is made 0. When SELECT is low, the left nibble is steered to the output. We have, Y 3 Y 2 Y 1 Y 0 = A 3 A 2 A 1 A 0 When SELECT is high, the right nibble is steered to the output. We have, Y 3 Y 2 Y 1 Y 0 = B 3 B 2 B 1 B 0 Multiplexer Logic We can use multiplexer to realize a given Boolean equation. Multiplexer is called universal logic circuit because a 2 n -to-1 multiplexer can be used to design solution for any n-variable truth table. Example 1: Realize Y = A B + B C + ABC using an 8-to-1 multiplexer Solution: First we express Y in canonical SOP form Page 5

Y = A B + B C + ABC = A B.1 + 1.B C + ABC = A B.(C + C) + (A + A).B C + ABC = A BC + A BC + A B C + AB C + ABC = Σ m (2, 3, 0, 4, 7) = Σ m (0, 2, 3, 4, 7) Consider the 8-to-1 multiplexer truth table as shown below: A B C Y 0 0 0 D 0 0 0 1 D 1 0 1 0 D 2 0 1 1 D 3 1 0 0 D 4 1 0 1 D 5 1 1 0 D 6 1 1 1 D 7 From the truth table we have, Y = A B C D 0 + A B CD 1 + A BC D 2 + A BCD 3 + AB C D 4 + AB CD 5 + ABC D 6 + ABCD 7 Y = m o D 0 + m 1 D 1 + m 2 D 2 + m 3 D 3 + m 4 D 4 + m 5 D 5 + m 6 D 6 + m 7 D 7 The given equation is Y = f(a, B, C) = Σ m (0, 2, 3, 4, 7). The variables A, B, & C are used as select inputs. Comparing multiplexer output expression with the given logic equation in canonical SOP form we find by substituting D 0 = D 2 = D 3 = D 4 = D 7 = 1 and D 1 = D 5 = D 6 = 0 we have the realization as shown. Page 6

The truth table for the given logic equation is shown below: A B C Y 0 0 0 1 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 Example 2: Realize Y = A B + B C + ABC using 4-to-1 multiplexer. Solution: We consider variables A and B as selector inputs in 4-to-1 multiplexer and variable C in given as data input. Given logic equation Y = A B + B C + ABC in canonical form is Y= Σ m (0, 2, 3, 4, 7). The truth table is as shown. Page 7

A B C Y 0 0 0 1 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 Similar to procedure adopted in entered variable map, output Y is written in terms of variable C. A B C Y Y 0 0 0 1 0 0 1 0 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 0 1 1 0 0 1 1 1 1 C 1 C C Comparing with equation of 4-to-1 multiplexer we see D 0 = C D 1 = 1 D 2 = C D 3 = C generate the given logic function. Page 8

The given logic equation is realized using the 4-to-1 multiplexer as shown below: A B Y 0 0 C 0 1 1 1 0 C 1 1 C Example 3: Realize Y = Σ m(0, 2, 3, 4,5, 8, 9, 10, 11, 12, 13, 15) using 8-to-1 multiplexer. Solution: The truth table for the given expression is as shown below: Page 9

The logic expression is realized using 8-to-1 multiplexer as shown below: Multiplexer Trees A number of m-to-1 multiplexers can be arranged in tree topology to obtain a bigger n-to-1 multiplexer (n > m). Example 1: Design a 4-to-1 multiplexer using 2-to-1 multiplexers. Solution: The 2-to-1 multiplexer truth table is as shown: A B Y 0 0 D 0 0 1 D 1 1 0 D 2 1 1 D 3 Two units of 2-to-1 multiplexers are used together to realize 4 inputs, and another unit of 2-to-1 multiplexer is used to steer the inputs to a single output. The multiplexer tree is realized as shown: Page 10

Example 2: Design a 32-to-1 multiplexer using two 16-to-1 multiplexers and one 2-to-1 multiplexer. Solution: Questions 1. What is a multiplexer? Design 4-to-1 multiplexer and implement using gates. 2. Implement the given Boolean function by using 8:1 multiplexer. f(a, B, C, D) = m(0, 1, 3, 5, 7, 11, 12, 13, 14) Page 11

3. Realize the Boolean expression f(w, x, y, z) = m(4, 6, 7, 8, 10, 12, 15) using a 4 to 1 line multiplexer and external gates. 4. Write the truth table of a 4-bit Binary to Gray code converter and realize the same using four 74151 ICs (8-to-1 multiplexer). 5. Show how two 1-to-16 demultiplexers can be connected to get a 1-to-32 demultiplexer. 6. Design a 32-to-1 multiplexer using two 16-to-1 multiplexer and one 2-to-1 multiplexer. Page 12