Chapter 2 Combinational Logic Circuits

Similar documents
Chapter 2 Combinational Logic Circuits

CHAPTER 2 BOOLEAN ALGEBRA

Chapter 2 Boolean Algebra and Logic Gates

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 1 Gate Circuits and Boolean Equations

CHAPTER III BOOLEAN ALGEBRA

Unit 2 Boolean Algebra

Unit 2 Boolean Algebra

CHAPTER III BOOLEAN ALGEBRA

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

Chapter 2 Combinational

Chap 2. Combinational Logic Circuits

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

Boolean Algebra & Logic Gates. By : Ali Mustafa

CHAPTER 3 BOOLEAN ALGEBRA

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

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

Combinational Logic. Review of Combinational Logic 1

Logic Design. Chapter 2: Introduction to Logic Circuits

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

Number System conversions

MC9211 Computer Organization

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

Digital Circuit And Logic Design I. Lecture 3

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

Chapter 2: Switching Algebra and Logic Circuits

ENG2410 Digital Design Combinational Logic Circuits

Chapter-2 BOOLEAN ALGEBRA

Logic Gate Level. Part 2

CS 226: Digital Logic Design

Gate-Level Minimization

Digital Logic Design. Combinational Logic

Chapter 2 Combinational Logic Circuits

Lecture 2 Review on Digital Logic (Part 1)

Chapter 2 Boolean Algebra and Logic Gates

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

EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits)

Combinational Logic Design Principles

Standard Expression Forms

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Chapter 2: Boolean Algebra and Logic Gates

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

Outline. EECS150 - Digital Design Lecture 4 - Boolean Algebra I (Representations of Combinational Logic Circuits) Combinational Logic (CL) Defined

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

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

Chapter 2 Boolean Algebra and Logic Gates

BOOLEAN ALGEBRA TRUTH TABLE

Chapter 2 : Boolean Algebra and Logic Gates

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

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

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

Chapter 2. Boolean Algebra and Logic Gates

UNIT 3 BOOLEAN ALGEBRA (CONT D)

Boolean Algebra, Gates and Circuits

CprE 281: Digital Logic

Administrative Notes. Chapter 2 <9>

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

Boolean Algebra and Logic Gates Chapter 2. Topics. Boolean Algebra 9/21/10. EECE 256 Dr. Sidney Fels Steven Oldridge

Boolean Algebra and Logic Gates

Goals for Lecture. Binary Logic and Gates (MK 2.1) Binary Variables. Notation Examples. Logical Operations

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Binary Logic and Gates

Introduction to Digital Logic Missouri S&T University CPE 2210 Boolean Representations

Signals and Systems Digital Logic System

1. Expand each of the following functions into a canonical sum-of-products expression.

Boolean Algebra and Logic Design (Class 2.2 1/24/2013) CSE 2441 Introduction to Digital Logic Spring 2013 Instructor Bill Carroll, Professor of CSE

Week-I. Combinational Logic & Circuits

ECE 238L Boolean Algebra - Part I

CHAPTER1: Digital Logic Circuits Combination Circuits

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Chapter 3. Boolean Algebra. (continued)

INTRODUCTION TO INFORMATION & COMMUNICATION TECHNOLOGY LECTURE 8 : WEEK 8 CSC-110-T

Unit 2 Session - 6 Combinational Logic Circuits

NAND, NOR and XOR functions properties

Midterm1 Review. Jan 24 Armita

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

Computer Organization I

Chapter 2 Boolean Algebra and Logic Gates

Circuits & Boolean algebra.

EEE130 Digital Electronics I Lecture #4

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

UNIVERSITI TENAGA NASIONAL. College of Information Technology

EECS Variable Logic Functions

Combinational Logic Fundamentals

Review for Test 1 : Ch1 5

BOOLEAN LOGIC. By- Neha Tyagi PGT CS KV 5 Jaipur II Shift, Jaipur Region. Based on CBSE curriculum Class 11. Neha Tyagi, KV 5 Jaipur II Shift

UNIT 5 KARNAUGH MAPS Spring 2011

ELCT201: DIGITAL LOGIC DESIGN

Switches: basic element of physical implementations

Boolean Algebra CHAPTER 15

EC-121 Digital Logic Design

Ch 2. Combinational Logic. II - Combinational Logic Contemporary Logic Design 1

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:

UC Berkeley College of Engineering, EECS Department CS61C: Representations of Combinational Logic Circuits

Chapter 2. Digital Logic Basics

CHAPTER 12 Boolean Algebra

Boolean Algebra. Sungho Kang. Yonsei University

Introduction to Digital Logic Missouri S&T University CPE 2210 Boolean Algebra

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

Combinational Logic. Fan-in/ Fan-out Timing. Copyright (c) 2012 Sean Key

Transcription:

Logic and Computer Design Fundamentals Chapter 2 Combinational Logic Circuits Part 1 Gate Circuits and Boolean Equations

Chapter 2 - Part 1 2

Chapter 2 - Part 1 3

Chapter 2 - Part 1 4

Chapter 2 - Part 1 5

Y = A B z = x + y X = A Note: The statement: 1 + 1 = 2 ( one plus one equals two ) is not the same as 1 + 1 = 1 ( 1 or 1 equals 1 ). Chapter 2 - Part 1 6

Operations are defined on the values "0" and "1" for each operator: AND 0 0 = 0 0 1 = 0 1 0 = 0 1 1 = 1 OR 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 1 NOT 0 = 1 1 = 0 Chapter 2 - Part 1 7

Chapter 2 - Part 1 8

Switches in parallel => OR Switches in series => AND Normally-closed switch => NOT C Chapter 2 - Part 1 9

B C A D Chapter 2 - Part 1 10

+V +V +V F G = X + Y X X. Y X X X Y Y (a) NOR (b) NAND (c) NOT Transistor of logic functions are called logic gates or just gates Transistor gate circuits can be modeled by switch circuits Chapter 2 - Part 1 11

X Y X Z5 X Y Z 5 X 1 Y Y AND gate OR gate (a) Graphic symbols X 0 0 1 1 X Z 5 X NOT gate or inverter Y 0 1 0 1 (AND) X Y 0 0 0 1 (OR) X1 Y 0 1 1 1 (NOT) X 1 1 0 0 (b) Timing diagram Chapter 2 - Part 1 12

Truth Table = X + X Y Z Equation F = X + Y Z Logic Diagram F Chapter 2 - Part 1 13

An algebraic structure defined on a set of at least two elements, B, together with three binary operators (denoted +, and ) that satisfies the following basic identities: 1. X + 0 = X 2. X. 1 = X 3. X + 1 = 1 4. X. 0 0 = 5. X + X = X 6. X. X = X 7. X + X = 1 8. X. X = 0 9. X = X 10. 12. 14. 16. X + Y = Y + X (X + Y) + Z = X + (Y + Z) X(Y + Z) = XY+ XZ X + Y = X. Y 11. 13. 15. 17. XY = YX (XY) Z = X(YZ) X+ YZ = (X + Y)(X + Z) X. Y = X + Y Commutative Associative Distributive DeMorgan s Chapter 2 - Part 1 14

The identities above are organized into pairs. These pairs have names as follows: 1-4 Existence of 0 and 1 5-6 Idempotence 7-8 Existence of complement 9 Involution 10-11 Commutative Laws 12-13 Associative Laws 14-15 Distributive Laws 16-17 DeMorgan s Laws The dual of an algebraic expression is obtained by interchanging + and and interchanging 0 s and 1 s. The identities appear in dual pairs. When there is only one identity on a line the identity is self-dual, i. e., the dual expression = the original expression. Chapter 2 - Part 1 15

Chapter 2 - Part 1 16

Chapter 2 - Part 1 17

Chapter 2 - Part 1 18

Chapter 2 - Part 1 19

( X + Y)Z + XY = Y(X + ( X + Y )Z + X Y Z) Chapter 2 - Part 1 20

Chapter 2 - Part 1 21 x y y ( )( ) n Minimizatio y y y x y y y x = + + = ( ) tion Simplifica y x y x y x y x = + + = + ( ) Absorption x y x x x y x x = + = + Consensus z y x z y z y x + = + + ( ) ( )( ) ( ) ( ) z y x z y z y x + + = + + + DeMorgan's Laws x x = + + x x x x x x x x y x = +y

F1 = xyz F2 = x + yz F3 = xyz + x y z F4 = xy + x z + xy x y z F1 F2 F3 F4 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 1 1 0 0 1 0 0 0 1 1 0 1 0 1 1 1 0 1 1 1 1 1 0 1 Chapter 2 - Part 1 22

A B + ACD + A BD + AC D + A BCD Chapter 2 - Part 1 23

xyz + xyz Chapter 2 - Part 1 24

Chapter 2 - Part 1 25

Chapter 2 - Part 1 26

XY X Y X Y X Y Chapter 2 - Part 1 27

X + Y X + Y X + Y X + Y Chapter 2 - Part 1 28

Chapter 2 - Part 1 29

Chapter 2 - Part 1 30

abcd abcd abcd abcd abcd abcd a + b + c + a + b + c + a + b + c + a + b + c + a + b + c + a + b + c + d d d d d d Chapter 2 - Part 1 31

x y m 0 m 1 m 2 m 3 0 0 1 0 0 0 x y M 0 M 1 M 2 M 3 0 0 0 1 1 1 0 1 0 1 0 0 0 1 1 0 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 0 0 0 1 1 1 1 1 1 0 Chapter 2 - Part 1 32

Chapter 2 - Part 1 33

x y z index m 1 + m 4 + m 7 = F 1 0 0 0 0 0 + 0 + 0 = 0 0 0 1 1 1 + 0 + 0 = 1 0 1 0 2 0 + 0 + 0 = 0 0 1 1 3 0 + 0 + 0 = 0 1 0 0 4 0 + 1 + 0 = 1 1 0 1 5 0 + 0 + 0 = 0 1 1 0 6 0 + 0 + 0 = 0 1 1 1 7 0 + 0 + 1 = 1 Chapter 2 - Part 1 34

Chapter 2 - Part 1 35

F1 = (x + y + z) (x + y + z) (x + y + z) ( x + y + z) (x + y + z) x y z i M 0 M 2 M 3 M 5 M 6 = F1 0 0 0 0 0 1 1 1 1 = 0 0 0 1 1 1 1 1 1 1 = 1 0 1 0 2 1 0 1 1 1 = 0 0 1 1 3 1 1 0 1 1 = 0 1 0 0 4 1 1 1 1 1 = 1 1 0 1 5 1 1 1 0 1 = 0 1 1 0 6 1 1 1 1 0 = 0 1 1 1 7 1 1 1 1 1 = 1 Chapter 2 - Part 1 36

F(A,B,C,D) = M 3 M8 M11 M14 Chapter 2 - Part 1 37

v + v f = x + x y f = x( y+ y ) + x y f = xy + xy + x y Chapter 2 - Part 1 38

F = A + B C Chapter 2 - Part 1 39

F = A + B C F(A, B,C) = Σ m (1,4,5,6,7) Chapter 2 - Part 1 40

v v f ( x, y, z ) = x + x y x + x y = (x + x)(x + y) = 1(x + y) = x + y x + y + z z = (x + y + z) x+ y + z ( ) Chapter 2 - Part 1 41

Convert to Product of Maxterms: f(a, B,C) = A C + BC + A B Use x + y z = (x+y) (x+z) with x = (A C + BC), y = A, and z = B to get: f = (A C + BC + A)(A C + BC + B) Then use x + x y = x + y to get: f = (C + BC + A)(AC + C + B) and a second time to get: f = (C + B + A)(A + C + B) Rearrange to standard order, f = (A + B + C)(A + B + C) to give f = M 5 M 2 Chapter 2 - Part 1 42

F(x, y, z) = Σ m (1,3,5,7) F(x, y, z) F(x, y, z) = Σm(0,2,4,6) = ΠM(1,3,5,7) Chapter 2 - Part 1 43

Chapter 2 - Part 1 44

F(A, B,C) = Σm(1,4,5,6,7) Chapter 2 - Part 1 45

Chapter 2 - Part 1 46

Chapter 2 - Part 1 47

Chapter 2 - Part 1 48

A B C A B C A B C A B C A B C F A B C F Chapter 2 - Part 1 49

Chapter 2 - Part 1 50