COMBINATIONAL LOGIC CIRCUITS C.L. x1 x2 xn Z Z = F (x1, x2, ……., Xn) F is a Binary Logic (BOOLEAN ) Function Knowing F Allows Straight Forward Direct Implementation.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Combinational Logic Circuits Chapter 2 Mano and Kime.
Logical Systems Synthesis.
Chapter 2 Logic Circuits.
Boolean Algebra and Logic Gates 1 Computer Engineering (Logic Circuits) Lec. # 4 Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering Faculty.
Boolean Algebra and Combinational Logic
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
Boolean Algebra and Logic Gates
CSCE 211: Digital Logic Design
Chapter Two Boolean Algebra and Logic Gate
Chapter 2: Boolean Algebra and Logic Functions
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Logic Design CS221 1 st Term Boolean Algebra Cairo University Faculty of Computers and Information.
1 Why study Boolean Algebra? 4 It is highly desirable to find the simplest circuit implementation (logic) with the smallest number of gates or wires. We.
1 Logic Gates Digital Computer Logic Kashif Bashir WWW:
Chapter 3.5 Logic Circuits. How does Boolean algebra relate to computer circuits? Data is stored and manipulated in a computer as a binary number. Individual.
Switching functions The postulates and sets of Boolean logic are presented in generic terms without the elements of K being specified In EE we need to.
ECE 331 – Digital System Design
1 Representation of Logic Circuits EE 208 – Logic Design Chapter 2 Sohaib Majzoub.
Combinational Logic 1.
Ahmad Almulhem, KFUPM 2009 COE 202: Digital Logic Design Combinational Logic Part 2 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Overview Part 1 – Gate Circuits and Boolean Equations
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
Venn Diagram – the visual aid in verifying theorems and properties 1 E.
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
ENG241 Digital Design Week #2 Combinational Logic Circuits.
Chap 2. Combinational Logic Circuits
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
ece Parity Used to check for errors Can be either ODD or EVEN Left most bit used as the indicator For EVEN, insert a 0 or a 1 so as to make the.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
A. Abhari CPS2131 Chapter 2: Boolean Algebra and Logic Gates Topics in this Chapter: Boolean Algebra Boolean Functions Boolean Function Simplification.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Logic Circuits Lecture 3 By Amr Al-Awamry. Basic Definitions Binary Operators  AND z = x y = x yz=1 if x=1 AND y=1  OR z = x + y z=1 if x=1 OR y=1 
Binary Logic and Gates Boolean Algebra Canonical and Standard Forms Chapter 2: Boolean Algebra and Logic Gates.
Module 5.  In Module 3, you have learned the concept of Boolean Algebra which consists of binary variables and binary operator.  A binary variable x,
Logic Gates M. AL-Towaileb1. Introduction Boolean algebra is used to model the circuitry of electronic devices. Each input and each output of such a device.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
Boolean Algebra ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
Dr. ClincyLecture Slide 1 CS Chapter 3 (3A and ) Part 2 of 8 Dr. Clincy Professor of CS.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
CHAPTER 2 Boolean algebra and Logic gates
Digital Logic Circuits, Digital Component and Data Representation Course: BCA-2 nd Sem Subject: Computer Organization And Architecture Unit-1 1.
Boolean Algebra and Logic Gates COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals.
Table 2.1 Postulates and Theorems of Boolean Algebra
14:332:231 DIGITAL LOGIC DESIGN Boolean Algebra
Unit 2 Boolean Algebra.
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra
Overview Part 1 – Gate Circuits and Boolean Equations
Princess Sumaya University
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
September 7 Notes Boolean Algebra.
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Boolean Algebra Why study Boolean Algebra?
Boolean Algebra.
Example Question: Consider the expressions: (a) F = XY + XY'
EE121 John Wakerly Lecture #3
Table 2.1 Postulates and Theorems of Boolean Algebra
Digital Logic Chapter-2
Digital Logic Chapter-2
Analysis of Logic Circuits Example 1
Binary Logic and Gates COE 202 Digital Logic Design Dr. Aiman El-Maleh
Presentation transcript:

COMBINATIONAL LOGIC CIRCUITS C.L. x1 x2 xn Z Z = F (x1, x2, ……., Xn) F is a Binary Logic (BOOLEAN ) Function Knowing F Allows Straight Forward Direct Implementation of the C.L. Circuit. OBJECTIVES Learn Binary Logic and BOOLEAN Algebra Learn How To Manipulate Boolean Expressions and Simplify Them Learn How to Map a Boolean Expression into Logic Circuit Implementation

Binary Logic & Logic Gates Elements of Binary Logic / Boolean Algebra 1- Constants, 2- Variables, and 3- Operators. Constant Values are either 0 or 1 Binary Variables  { 0, 1} 3 Possible Operators AND, OR, NOT Physically 1- Constants  Power Supply Voltage ( Logic 1)  Ground Voltage ( Logic 0) 2- Variables  Signals (High = 1, Low = 0) 2- Operators  Electronic Devices (Logic Gates) AND - Gate OR - Gate NOT - Gate (Inverter)

Logic Gates & Logic Operations

Multi-Input Gates Boolean Expression Combination of Boolean Variables, AND- operators, OR-operators, and NOT operators. Boolean Expressions (Functions) Can be Expressed as a Truth Table Boolean Algebra

ExampleF = X + Y. Z Boolean Algebra

Properties of Boolean Algebra 1- Parentheses 2- Not operator (Complement) 3- AND operator, 4- OR operator Operator Precedence

Example X + XY = X Proof: X + XY = X. (1 + Y) = X.1 = X Example X + X`Y = X + Y Proof: (1) X + X`Y = (X+ X`) (X + Y) = 1.(X + Y) = X + Y (2) X + X`Y = X.1 + X`Y = X.(1+Y) + X`Y = X +XY + X`Y (XY +X`Y) + X = X + Y Example ``Consensus Theory`` XY + X`Z + YZ = XY + X`Z Proof: XY + X`Z + YZ = XY + X`Z + YZ(X +X`)= XY(1 + Z) +X`Z(1 + Y) = XY + X`Z Algebraic Manipulation

Canonical & Standard Forms For 3- Variables X, Y, and Z Define the Following: (A) MinTerms m0 =X`Y`Z` = 1 IFF XYZ = 000 m1 =X`Y`Z = 1 IFF XYZ = 001 m2 =X`Y Z` = 1 IFF XYZ = 010 ………………………………………. m7 =X Y Z = 1 IFF XYZ = 111 (A) MaxTerms M0 = X + Y + Z = 0 IFF XYZ = 000 M1 = X + Y + Z` = 0 IFF XYZ = 001 M2 = X + Y` + Z = 0 IFF XYZ = 010 ………………………………………. M7 =X`+ Y`+ Z` = 0 IFF XYZ = 111 M i = m i (DeMorgan / Truth Table) 2 n minterms 2 n MaxTerms

Expressing Functions as a Sum of Minterms or a Product of MaxTerms Example: Consider the Function F Given By its Truth Table F = m 2 + m 4 + m 5 +m 7 =  (2, 4, 5, 7) = Sum of minterms F = m 0 + m 1 + m 3 +m 6 =  (0, 1, 3, 6) ORing Complementary MinTerms

Expressing Functions as a Sum of Minterms or a Product of MaxTerms F = m 2 + m 4 + m 5 +m 7 =  (2, 4, 5, 7) = Sum of minterms F = m 0 + m 1 + m 3 +m 6 =  (0, 1, 3, 6) F = (F) = m 0.m 1.m 3.m 6 = M 0.M 1.M 3.M 6 =  (0, 1, 3, 6) = Product of Maxterm F = M 2.M 4.M 5.M 7 =  (2, 4, 5, 7) ANDing

Expressing Functions as a Sum of Minterms or a Product of MaxTerms F =  (2, 4, 5, 7) =  (0, 1, 3, 6) F =  (0, 1, 3, 6) =  (2, 4, 5, 7) Example Implement SOP F = XZ + Y`Z + X`YZ` Two-Level Implementation Level-1: AND-Gates ; Level-2: One OR-Gate Standard Forms: Sum of Products (SOP) and Product of Sums (POS)

Expressing Functions as a Sum of Minterms or a Product of MaxTerms Example Implement POS F = (X+Z )(Y`+Z)(X`+Y+Z`) Two-Level Implementation Level-1: OR-Gates ; Level-2: One AND-Gate

Example Implement POS F = (X+Z). (Y`+Z). (X`+Y+Z`) Two-Level Implementation Level-1: OR-Gates ; Level-2: One AND-Gate