ECE- 1551 DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

L14: Boolean Logic and Basic Gates
Presented by: Ms. Maria Estrellita D. Hechanova, ECE
Logical Systems Synthesis.
Chapter 2 Logic Circuits.
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
1 CK Cheng CSE Dept. UC San Diego CSE 140, Lecture 2 Combinational Logic.
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Chapter 2: Boolean Algebra and Logic Functions
Lecture 3: Incompletely Specified Functions and K Maps CSE 140: Components and Design Techniques for Digital Systems Fall 2014 CK Cheng Dept. of Computer.
Computer Organization
Boolean Algebra Boolean algebra Boolean algebra, like any other deductive mathematical system, may be defined with –a set of elements, –a set of operators,
Boolean Algebra – I. Outline  Introduction  Digital circuits  Boolean Algebra  Two-Valued Boolean Algebra  Boolean Algebra Postulates  Precedence.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
Combinational Logic 1.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
CSE 140, Lecture 2 Combinational Logic
1 Boolean Algebra  Digital circuits Digital circuits  Boolean Algebra Boolean Algebra  Two-Valued Boolean Algebra Two-Valued Boolean Algebra  Boolean.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
Chapter 2 Boolean Algebra and Minimization Techniques.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
1 CK Cheng CSE Dept. UC San Diego CSE 140, Lecture 2 Combinational Logic.
ECE 171 Digital Circuits Chapter 4 Boolean Algebra Herbert G. Mayer, PSU Status 2/1/2016 Copied with Permission from prof. Mark PSU ECE.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
CHAPTER 2 Boolean algebra and Logic gates
Hoda Roodaki Boolean Algebra Hoda Roodaki
Boolean Algebra & Logic Gates
CS2100 Computer Organisation
Logic Gates and Boolean Algebra
Chapter 2: Boolean Algebra and Logic Functions
Boolean Algebra.
ECE 2110: Introduction to Digital Systems
ECE 20B, Winter 2003 Introduction to Electrical Engineering, II LECTURE NOTES #2 Instructor: Andrew B. Kahng (lecture)
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra
CHAPTER 1 : INTRODUCTION
Princess Sumaya University
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
COMPUTING FUNDAMENTALS
CHAPTER 2 Boolean Algebra
CSE 140, Lecture 2 Combinational Logic
CSE 311 Foundations of Computing I
Boolean Algebra.
Boolean Algebra.
Basic Logic Gates 1.
Chapter 2 Boolean Algebra and Logic Gate
BASIC & COMBINATIONAL LOGIC CIRCUIT
CSE 370 – Winter Combinational Logic - 1
Boolean Algebra Introduction CSCI 240
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Chapter 2 Introduction to Logic Circuits
ECB2212-Digital Electronics Boolean algebra
Chapter 2 Digital Design and Computer Architecture, 2nd Edition
Presentation transcript:

ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016

Recap  Digital logic gates  Assignment is due before next class.

Agenda  Chapter 2: Boolean Algebra  Introduction  Motivation: Understand the relationship between Boolean logic and digital computer circuits.  Review of Boolean Algebra  Transformation of Logic Gates  Learn how to design simple logic circuits.

Motivation: Combinational Logic  Description  Language  Boolean algebra  Truth table  Schematic Diagram  Inputs, Gates, Nets, Outputs  Goal  Validity: correctness, turnaround time  Performance: power, timing, cost  Testability: yield, diagnosis, robustness

Motivation: Combinational Logic vs. Boolean Algebra Expression a·b + c·d abab cdcd e c·d a·b y=e·(a·b+c·d) Schematic Diagram: 5 primary inputs, 1 primary output 4 components (gates) 9 signal nets Boolean Algebra: 5 literals 4 operators Obj: min #terms min #literals

Schematic Diagram vs. Boolean Expression  Boolean Expression: #literals, #operators  Schematic Diagram: #gates, #nets, #pins

Some Definitions  Complement: variable with a bar over it A, B, C  Literal: variable or its complement A, A, B, B, C, C  Implicant: product of literals ABC, AC, BC  Minterm: product that includes all input variables ABC, ABC, ABC  Maxterm: sum that includes all input variables (A+B+C), (A+B+C), (A+B+C)

Digital Discipline: Binary Values  Typically consider only two discrete values:  1’s and 0’s  1, TRUE, HIGH  0, FALSE, LOW  1 and 0 can be represented by specific voltage levels, rotating gears, fluid levels, etc.  Digital circuits usually depend on specific voltage levels to represent 1 and 0  Bit: Binary digit

George Boole,  In the latter part of the nineteenth century, George Boole incensed philosophers and mathematicians alike when he suggested that logical thought could be represented through mathematical equations. Taught himself mathematics and joined the faculty of Queen’s College in Ireland. Wrote An Investigation of the Laws of Thought (1854) Introduced binary variables Introduced the three fundamental logic operations: AND, OR, and NOT. Computers, as we know them today, are implementations of Boole’s Laws of Thought. John Atanasoff and Claude Shannon were among the first to see this connection.

Review of Boolean Algebra Let B be a nonempty set with two binary operations, a unary operation `, and two distinct elements 0 and 1. Then B is called a Boolean algebra if the following axioms hold. 1.Closure: A set S is closed with respect to a binary operator if, for every pair of elements of S, the binary operator specifies a rule for obtaining a unique element of S.  Set of natural numbers N = {1,2,3,4,….} is closed with respect to the binary operator + by the rules of arithmetic addition.  N is not closed with respect to binary operator -. 2.Associative law: A binary operator + on a set S is associative when a)(a+b)+c = a+(b+c) for all a,b,c ∈ S or b)(a * b) * c = a * (b * c) for all a,b,c ∈ S 3.Commutative laws: A binary operator on a set S is Commutative when a)a+b=b+a or b) a*b=b*a

Review of Boolean Algebra 1.Distributive laws: If * and. Are two binary operators on a set S, a)+ Is said to be distributive over. Whenever: a+(b·c)=(a+b)·(a+c), b)or. Is said to be distributive over + Whenever : a·(b+c)=a·b+a·c 2.Identity laws: A set is said to have an identity element with respect to an operator a)a+0=a, b)a·1=a 3.Inverse /Complement laws: a)a+a’=1, b)a·a’=0

Switching Algebra (A subset of Boolean Algebra)  Boolean Algebra: Each variable may have multiple values.  Switching Algebra: Each variable can be either 1 or 0. The constraint simplifies the derivations. BB Boolean Algebra Switching Algebra Two Level Logic

Switching Algebra  Two Level Logic: Sum of products, or product of sums  e.g. ab + a’c + a’b’, (a’+c )(a+b’)(a+b+c’)  Multiple Level Logic: Many layers of two level logic with some inverters,  e.g. (((a+bc)’+ab’)+b’c+c’d)’bc+c’e Features of Digital Logic Design  Multiple Outputs  Don’t care sets Handy Tools:  Simplification Theorm  DeMorgan’s Law: Complements  Truth Table  Minterm and Maxterm  Sum of Products (SOP) and Products of Sum (POS)  Karnaugh Map (single output, two level logic)

Review of Boolean algebra and switching functions AND, OR, NOT A B Y AND A1A1 A A B Y OR A1A1 1 A0A0 0 A0A0 A A Y NOT 0 dominates in AND 0 blocks the output 1 passes signal A 1 dominates in OR 1 blocks the output 0 passes signal A

Review of Boolean algebra and switching functions 2. Associativity (A+B) + C = A + (B+C) (AB)C = A(BC) C ABAB A BCBC C ABAB A BCBC

Review of Boolean algebra and switching functions 4. Identity A * 1 = A A + 1 = 1 A * 0 = 0 A + 0 = A 5. Complement A + A’ = 1 A * A’ = 0 6. Distributive Law A(B+C) = AB + AC A+BC = (A+B)(A+C) A BCBC ACAC ABAB A BCBC ACAC ABAB

Basic Theorems and Properties of Boolean Algebra

Proof of above mentioned theorems using Huntington Postulates: 1. (a) The structure is closed with respect to the operator +. (b) The structure is closed with respect to the operator *. 2. (a) The element 0 is an identity element with respect to +; that is, x + 0 =0 + x = x. (b) The element 1 is an identity element with respect to * ; that is, x * 1 = 1 * x = x. 3. (a) The structure is commutative with respect to +; that is, x + y = y + x. (b) The structure is commutative with respect to * ; that is, x * y = y * x. 4. (a) The operator # is distributive over +; that is, x * (y + z) = (x * y) + (x * z). (b) The operator + is distributive over * ; that is, x + (y * z) = (x + y) * (x + z). 5. For every element x ∈ B, there exists an element x’ ∈ B (called the complement of x) such that (a) x + x’ = 1 and (b) x * x’ = There exist at least two elements x, y ∈ B such that x ≠ y.

Next Class – Reading Assignment  Section 2.5: Boolean Functions  De-Morgans Law  Operator Precedence  Boolean functions simplification.  Section 2.6: Canonical and Standard Forms  Discuss Minterms and Maxterms