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

Similar documents
Unit 3 Session - 9 Data-Processing Circuits

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

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

Overview. Multiplexor. cs281: Introduction to Computer Systems Lab02 Basic Combinational Circuits: The Mux and the Adder

CSCI 220: Computer Architecture-I Instructor: Pranava K. Jha. BCD Codes

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

Chapter 2 Combinational Logic Circuits

Unit 2 Session - 6 Combinational Logic Circuits

Contents. Chapter 3 Combinational Circuits Page 1 of 36

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

ECE 545 Digital System Design with VHDL Lecture 1A. Digital Logic Refresher Part A Combinational Logic Building Blocks

CprE 281: Digital Logic

EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004

Discrete Mathematics. CS204: Spring, Jong C. Park Computer Science Department KAIST

Computer Science Final Examination Friday December 14 th 2001

Chapter 2 Boolean Algebra and Logic Gates

Systems I: Computer Organization and Architecture

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

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

EE 110 Practice Problems for Exam 1: Solutions, Fall 2008

MODULAR CIRCUITS CHAPTER 7

UNIT 5 KARNAUGH MAPS Spring 2011

Experiment 7: Magnitude comparators

211: Computer Architecture Summer 2016

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

ELCT201: DIGITAL LOGIC DESIGN

CS 226: Digital Logic Design

Signals and Systems Digital Logic System

Slides for Lecture 19

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

Lecture 2 Review on Digital Logic (Part 1)

Combinational Logic Design Combinational Functions and Circuits

Chapter 2 Combinational Logic Circuits

Combinational Logic. By : Ali Mustafa

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

CHAPTER * 2-2.* Pearson Education Limited Problem Solutions, Global Edition Chapter 2. Verification of DeMorgan s Theorem

Number System conversions

CprE 281: Digital Logic

2 Application of Boolean Algebra Theorems (15 Points - graded for completion only)

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

Binary Logic and Gates. Our objective is to learn how to design digital circuits.

CprE 281: Digital Logic

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table

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

Logic Gate Level. Part 2

Unit 2 Boolean Algebra

BOOLEAN ALGEBRA. Introduction. 1854: Logical algebra was published by George Boole known today as Boolean Algebra

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on.

Sample Test Paper - I

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

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

ELCT201: DIGITAL LOGIC DESIGN

Boolean Algebra, Gates and Circuits

Logic and Boolean algebra

Karnaugh Maps (K-Maps)

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

UNIVERSITY OF CALIFORNIA, RIVERSIDE

9/29/2016. Task: Checking for a Lower-Case Letter. ECE 120: Introduction to Computing. Change C 5 to C 5 to Obtain L(C) from U(C)

Standard & Canonical Forms

Chapter 3 Ctd: Combinational Functions and Circuits

Logic Design I (17.341) Fall Lecture Outline

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

Binary addition by hand. Adding two bits

Chapter 3 Combinational Logic Design

Combinatorial Logic Design Principles

Sample Marking Scheme

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2

Chapter 2 Combinational Logic Circuits

1 Boolean Algebra Simplification

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

Logic Design. Chapter 2: Introduction to Logic Circuits

Standard Expression Forms

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

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

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Section 3: Combinational Logic Design. Department of Electrical Engineering, University of Waterloo. Combinational Logic

CHAPTER1: Digital Logic Circuits Combination Circuits

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

Binary Logic and Gates

Boolean Algebra CHAPTER 15

Boolean algebra. Examples of these individual laws of Boolean, rules and theorems for Boolean algebra are given in the following table.

Chapter 2 Boolean Algebra and Logic Gates

Introduction to Digital Logic Missouri S&T University CPE 2210 Karnaugh Maps

CPE100: Digital Logic Design I

Boolean Algebra. The Building Blocks of Digital Logic Design. Section. Section Overview. Binary Operations and Their Representation.

Chapter 2 Boolean Algebra and Logic Gates

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

Name. ECE-200 Intelligent Systems

Combinational Logic. Review of Combinational Logic 1

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS

Carry Look Ahead Adders

Design of Combinational Logic

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

Answers to Problems. For Fundamentals of Logic Design second edition (corrected version)

UNIVERSITI TENAGA NASIONAL. College of Information Technology

Combinational Logic Design Principles

Transcription:

CSCI : Computer Architecture I Instructor: Pranava K. Jha Multiplexers Q. Develop a Boolean expression for the function F in terms of the input variables v, w, x, y and z in the following circuit. (E is the enable input.) of 6

All multiplexers are enabled, hence each will respond to the SELECT inputs and data inputs. Let g be the output of the top left multiplexer and let h be the output of the bottom left multiplexer, and note that g h = (w x ) + (w x) + (wx ) + (wx) = w x + wx, and = v (w x ) + v(w x) + (wx ) + (wx) = v w x + vw x + wx = v w x + (vw + w)x = v w x + (v + w)x, using absorption theorem, i.e., a+ a b = a + b = v w x + vx + wx. of 6

Accordingly, F = g(y z ) + (y z) + h(yz ) + (yz) = (w x + wx )y z + (v w x + vx + wx) yz + yz = (w x + wx )y z + [(v w x + vx + wx)z + z] y = (w x + wx )y z + [(v w x + vx + wx) + z] y, using absorption theorem = v w x y + vxy + wxy + w xy z + wx y z + yz. of 6

Q. The circuit below employs three -to- multiplexers, where E denotes the Enable input. Develop a Boolean expression for the function F in terms of the input variables v, w, x, y and z. I I I I E f S S v v I I I I w x f I I I I E S S f F E y z S S w x of 6

I I I I f w x + wx = x E S S v v I I I I E w x f vw x + w x + v wx = vw + w x + v wx I I I I E S S y z f F S S w x F = x y z + y z + (vw + w x + v wx )yz 5 of 6

Q. Realize the Boolean function f(w, x, y, z) = Σm(, 5, 7, 8,,, 5) using an 8-to- multiplexer and an inverter. Let inputs w, x and y appear on the SELECT lines. The canonical truth table and the abridged truth table appear below. Truth table w x y z f Abridged truth table w x y f z z z z z Implementation is immediate. 8-to- MUX w x y z S S S I I I I I I 5 I 6 I 7 Y f 6 of 6

Q. Consider the following Boolean function: f(a, B, C, D) = Σm (,,, 6, 9,,, ). Present an abridged truth table where inputs are deemed to be A, C and D. Truth table Abridged truth table A B C D f A C D f B B 7 of 6

Q. Realize the following Boolean function using -to- multiplexer and external gates: f(w, x, y, z) = Σm(, 5, 7, 8,,, 5). Let w and x appear on the SELECT lines. The truth table and the abridged truth table are immediate. Truth table w x y z f Abridged truth table w x f y + z z y z + yz Implementation follows. w x y z S S I I Y f I I 8 of 6

Q.. [ points] Present a truth table for the function f(w, x, y, z) = Σ(,, 6, 7, 8, 9, ), and then derive a condensed truth table where primary variables are y and z, and whose output is in terms of w, x, logical and logical. Truth table w x y z f Condensed truth table y z f w + x x w x w x 9 of 6

Q. Present the truth table of the function F relative to the input variables A, B, C and D in the following circuit. The following table is immediate. A B F D (C + D) CD Detailed truth table follows. A B C D F of 6

Q. IC 75 is a four-input, two-bit multiplexer. Its block diagram and function table appear below. Block diagram Function table G G A B G C C C C G C C C C 7x5 Y Y Inputs Outputs G G B A Y Y C C C C C C C C C C C C C C C C Show how to implement the Boolean function f(w, x, y) = Σm(,, 6, 7) using IC 75. You may use an external NOT gate and an external OR gate. The area of operation of the function table relevant to the present implementation is highlighted below. Inputs Outputs G G B A Y Y C C C C C C C C C C C C C C C C of 6

Implementation follows. of 6

Q. Show how to realize an 8-to- multiplexer using -to- multiplexers and -to- multiplexers. Recall the block diagrams of -to- MUX, and 8-to- MUX. I I -to- MUX f = S I + SI S J J J 7 g = S S J + S S J + S S J + S S J J 5 6 S S K 8-to- MUX K K K K K 5 K 6 5 6 7 h = T T T K + T T T K + T T T K + T T T K + T T T K + T T T K 5 + T T T K 6 + T T T K 7 K 7 8 9 T T T Note: Pin numbers have been assigned for ease of implementation. of 6

It is clear that h = T (T T K + T T K + T T K + T T K ) + T (T T K + T T K 5 + T T K 6 + T T K 7 ). A desired implementation is now immediate. K K 5 6 7 T T K + T T K + T T K + T T K K K K -to- MUX h K 5 K 6 K 7 7 T T K + T T K 5 + T T K 6 + T T K 7 5 6 T T T Remark: The following tree structure is an abstraction of the preceding implementation. -to- MUX of 6

There exists another way of realizing an 8-to- MUX. To that end, note that h = T T (T K + T K ) + T T (T K + T K ) + T T (T K + T K 5) + T T (T K 6 + T K 7 ). -to- MUX T K + T K K K K K K K 5 K 6 K 7 -to- MUX -to- MUX T K + T K T K + T K 5 5 6 7 h -to- MUX T K 6 + T K 7 T T T The tree structure follows. -to- MUX -to- MUX -to- MUX -to- MUX 5 of 6

An 8-to- MUX may as well be implemented by employing -to- MUXs uniformly. Here is he underlying tree structure. -to- MUX -to- MUX -to- MUX -to- MUX -to- MUX -to- MUX -to- MUX The foregoing discussion on tree structures underlying the construction of a large multiplexer using smaller ones admits an elegant generalization. Let n, i and j be positive integers such that n = i + j, so n i j =. A n -to- MUX is realizable by means of i -to- MUX ( j nos.) and j -to- MUX ( no.). The schematic follows. i -to- MUX j - i -to- MUX i -to- MUX j -to- MUX Note that if i, then a i -to- MUX itself is obtainable by means of smaller multiplexers using the same scheme. The tree corresponding to the implementation of a n -to- multiplexer using -to- multiplexers is a complete binary tree having n nodes. o 6 of 6