1 CSE 20 – Discrete Math Lecture 10 CK Cheng 4/28/2010.

Slides:



Advertisements
Similar presentations
CS 151 Digital Systems Design Lecture 5 Boolean Algebra.
Advertisements

CSE 20 Lecture 9 Boolean Algebra: Theorems and Proofs CK Cheng April 26, 2011 Lecture notes 1.
Logical Systems Synthesis.
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
Boolean Algebra and Logic Gate
Boolean Algebra Supplementary material. A Boolean algebra B is a boolean algebra means B is a set with elements in it a,b,…,0,1Є B and operators * (and),
Chapter 3 Boolean Algebra and Logic Gate (Part 2).
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 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
Lecture 1: Introduction to Digital Logic Design CK Cheng Thursday 9/26/02.
Chapter 9: Boolean Algebra
1 CSE20 Lecture 16 Boolean Algebra: Applications Professor CK Cheng CSE Dept. UC San Diego 1.
1 CSE 20: Lecture 8 Boolean Postulates and Theorems CK Cheng 4/26/2011.
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.
Boolean Algebra. Binary Logic and Gates Binary variables take on one of two values. Logical operators operate on binary values and binary variables. Basic.
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Boolean Algebra and Digital Circuits
Laws (Theorems) of Boolean algebra Laws of Complementation oThe term complement means, to invert or to change 1's to 0's and 0's to 1's, for which purpose.
CSE 140, Lecture 2 Combinational Logic
ECE 301 – Digital Electronics Basic Logic Operations, Boolean Expressions, and Boolean Algebra (Lecture #3)
CSE 20: Lecture 7 Boolean Algebra CK Cheng
+ CS 325: CS Hardware and Software Organization and Architecture Gates and Boolean Algebra Part 3.
1 CSE370, Lecture 3 Lecture 3: Boolean Algebra u Logistics u Last lecture --- Numbers n Binary numbers n Base conversion n Number systems for negative.
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS.
CEC 220 Digital Circuit Design Boolean Algebra I Wed, Sept 2 CEC 220 Digital Circuit Design Slide 1 of 13.
Chapter 2 Boolean Algebra and Minimization Techniques.
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Laws (Theorems) of Boolean algebra Laws of Complementation oThe term complement means, to invert or to change 1's to 0's and 0's to 1's, for which purpose.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  Boolean postulate  Simplifying boolean equations  Truth tables You will learn: 2.
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
ELEC Digital Logic Circuits Fall 2015 Boolean Algebra (Chapter 2) Vishwani D. Agrawal James J. Danaher Professor Department of Electrical and.
Designing Combinational Logic Circuits
1 CK Cheng CSE Dept. UC San Diego CSE 140, Lecture 2 Combinational Logic.
Review. Boolean Algebra.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Basic Laws, theorems, and postulates of Boolean Algebra
Boolean Algebra How gates get picked. Boolean Arithmetic Boolean ≠ Binary – Boolean – 1/0 only, no places Boolean addition:
Hoda Roodaki Boolean Algebra Hoda Roodaki
ECE 301 – Digital Electronics
Boolean Algebra.
CHAPTER 2 Boolean Algebra
CHAPTER 1 : INTRODUCTION
Boolean Expressions Lecture No. 10.
ECE 331 – Digital System Design
Circuits & Boolean Expressions
Lecture 3: Boolean Algebra
CSE 140, Lecture 2 Combinational Logic
CSE 311 Foundations of Computing I
Boolean Algebra.
Boolean Algebra.
CSE 370 – Winter Combinational Logic - 1
CSE 20 Lecture 9 Boolean Algebra: Theorems and Transformations
Boolean Algebra Introduction CSCI 240
Chapter 2 Introduction to Logic Circuits
COMS 361 Computer Organization
CSE 20: Lecture 8 Boolean Postulates and Theorems CK Cheng
Boolean Algebra: Theorems and Proofs
Boolean Algebra Rayat Shikshan Sanstha’s
BOOLEAN ALGEBRA.
CSC102 - Discrete Structures (Discrete Mathematics) Set Operations
ECE Digital Electronics
Boolean Algebra: Theorems and Proofs
Circuits & Boolean Expressions
Boolean Algebra.
Presentation transcript:

1 CSE 20 – Discrete Math Lecture 10 CK Cheng 4/28/2010

2 Boolean Algebra Theorem: (Associative Laws) For elements a, b, c in B, we have a+(b+c)=(a+b)+c; a*(b*c)=(a*b)*c. Proof: Denote x = a+(b+c), y = (a+b)+c. We want to show that (1) ax = ay, (2) a’x = a’y. Then, we have x= 1*x=(a+a’)x= ax+a’x = ay+a’y= (a+a’)y= 1*y=y Shannon’s Expansion: (divide and conquer) We use a variable a to divide the term x into two parts ax and a’x.

3 Proof of (1) ax = ay ax = a (a+(b+c)) = a a + a (b+c) (Distributive) = a + a (b+c) (Idempotence) = a (Absorption) ay = a ((a+b)+c)) = a (a+b) + a c (Distributive) = (aa + ab) + ac (Distributive) = (a + ab) + ac (Idempotence) = a + ac (Absorption) = a (Absorption) Therefore: ax = a = ay

4 Proof of (2) a’x = a’y a’x = a’ (a+(b+c)) = a’ a + a’ (b+c) (Distributive) = 0+ a’(b+c) (Complementary) = a’(b+c) (Identity) a’y = a’ ((a+b)+c) = a’ (a+b) + a’ c (Distributive) = a’b+a’c (Theorem 8) = a’(b+c) (Distributive) Therefore: a’x = a’(b +c) = a’y

Boolean Transformation Minimize the expression: (abc+ab’)’(a’b+c’) (abc+ab’)’(a’b+c’) =(a(bc+b’))’(a’b+c’) (distributive) =(a(b’+c))’(a’b+c’) (absorption) =(a’+bc’)(a’b+c’) (De Morgan’s) =a’b+a’c’+a’bc’+bc’ (distributive) =a’b+a’c’+bc’ (absorption) 5

Boolean Transformation (switching function) ab’+b’c’+a’c’= ab’+a’c’ Proof: ab’+b’c’+a’c’ = ab’+ab’c’+a’b’c’+a’c’ =ab’+a’c’ y=ab’+a’c’ We can use truth table when B={0,1}, which is the case of digital logic designs. 6 idabcab’b’c’a’c’f

Boolean Transformation (switching function) ab’+b’c’+a’c’= ab’+ab’c’+a’b’c’+a’c’= ab’+a’c’ 7 idabcab’b’c’a’c’f b,c0,00,11,11,0 a=01001 a=11100 K Map (CSE140)

Boolean Transformation (switching function) (a+b)(a+c’)(b’+c’)=(a+b)(b’+c’) 8 idabca+ba+c’b’+c’f b,c0,00,11,11,0 a=00001 a=11101 K Map (CSE140)

Summary of Boolean Algebra Definition: a set B, two operations and four postulates. Applicability: set operations, logic reasoning, digital hardware synthesis and beyond. Theorems: all proofs are derived from the four postulates. Transformations: Boolean algebra for the hardware designs (cost and performance). Switching function: truth table, K map (CSE140) 9