1 An algebraic structure consists of –a set of elements B –binary operators {+,.} –and a unary operator { ‘ } Such that following holds –Membership: B.

Slides:



Advertisements
Similar presentations
Logical Systems Synthesis.
Advertisements

II - Combinational Logic © Copyright 2004, Gaetano Borriello and Randy H. Katz 1 Combinational logic Basic logic  Boolean algebra, proofs by re-writing,
ECE C03 Lecture 21 Lecture 2 Two Level Minimization Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
ECE 331 – Digital System Design
EECS Components and Design Techniques for Digital Systems Lec 05 – Boolean Logic 9/4-04 David Culler Electrical Engineering and Computer Sciences.
EE365 Boolean algebra Combinational-circuit analysis.
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
Boolean Algebra and Logic Gates
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 3-1 Chapter #2: Two-Level Combinational Logic Section 2.1, Logic Functions.
Lattice and Boolean Algebra
Logic Functions and their Representation. Slide 2 Combinational Networks x1x1 x2x2 xnxn f.
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
Boolean Algebra Computer Organization 1 © McQuain Boolean Algebra A Boolean algebra is a set B of values together with: -two binary operations,
Lecture 4 Logic gates and truth tables Implementing logic functions
BOOLEAN ALGEBRA Saras M. Srivastava PGT (Computer Science)
Boolean Algebra and Digital Circuits
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.
CSE 311 Foundations of Computing I Lecture 5, Boolean Logic and Predicates Autumn 2012 CSE 3111.
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
1 Chapter 2 Combinational logic. 2 Combinational logic Basic logic  Boolean algebra, proofs by re-writing, proofs by perfect induction  logic functions,
CSE 311 Foundations of Computing I
1 Boolean Algebra  Digital circuits Digital circuits  Boolean Algebra Boolean Algebra  Two-Valued Boolean Algebra Two-Valued Boolean Algebra  Boolean.
Chap 2. Combinational Logic Circuits
Computer Systems 1 Fundamentals of Computing Simplifying Boolean Expressions.
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.
Boolean Algebra – II. Outline  Basic Theorems of Boolean Algebra  Boolean Functions  Complement of Functions  Standard Forms.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
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.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2002 Topic2: DeMorgan Laws José Nelson Amaral.
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,
Lecture 18: Boolean Algebra Boolean Functions. w = Chris is allowed to watch television x = Chris's homework is finished y = it is a school night z =
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
CSE 311 Foundations of Computing I Lecture 4, Boolean Logic Autumn 2011 CSE 3111.
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
1 CSE370, Lecture 4 Lecture 4 u Logistics n HW1 due now n HW2 posted now and is due one week from today n Lab1 going on this week n Feedback on lectures,
Combinational Circuits and Boolean
Lecture 4 Logistics Last lecture --- Boolean algebra Today’s lecture
© Copyright 2004, Gaetano Borriello and Randy H. Katz
De Morgan’s Theorem,.
Chapter 2: Boolean Algebra and Logic Functions
CS 105 Digital Logic Design
Princess Sumaya University
Lecture 3: Boolean Algebra
Chapter 10 Combinational Circuits.
Boolean Algebra.
CSE 311 Foundations of Computing I
Boolean Algebra.
Boolean Algebra.
Lecture 14: Boolean Algebra
Chapter 2 Boolean Algebra and Logic Gate
CSE 370 – Winter Combinational Logic - 1
2. Boolean Algebra and Logic Gates
Boolean Algebra Introduction CSCI 240
CSE 311 Foundations of Computing I
Chapter 2 Introduction to Logic Circuits
Spring Combinational Logic - 1
Lecture 3: Boolean Algebra
Lecture 4 Logistics Last lecture --- Boolean algebra Today’s lecture
Boolean Algebra Rayat Shikshan Sanstha’s
Design of Digital Circuits Lab 1 Supplement: Drawing Basic Circuits
Boolean Algebra Rayat Shikshan Sanstha’s
Lecture 3: Boolean Algebra
Boolean Algebra.
Presentation transcript:

1 An algebraic structure consists of –a set of elements B –binary operators {+,.} –and a unary operator { ‘ } Such that following holds –Membership: B contains at least two elements a and b –Closure:a+b is in Banda.b is in B –Commutativity:a+b = b+aanda.b = b.a –Associativity:a+(b+c)=(a+b)+c anda.(b.c) = (a.b).c –Identitya+0 = aanda.1=a –Distributivity:a+(b.c) = (a+b).(a+c) and a.(b+c)=(a.b)+(a.c) –Complementarity: a+a’=1anda.a’=0 An algebraic structure

2 Besides being an algebraic structure other useful axioms and theorems are –Null:x+1 = 1andx.0 = 0 –Idempotency:x+x = xandx.x = x –Involution:(x’)’ = x –Uniting:x.y+x.y’=xand(x+y).(x+y’)=x –Absorption:x+x.y=xandx.(x+y)=x –(another form):(x+y’).y=x.yand(x.y’)+y=x+y –de Morgan’s:(x+y+..)’=x’.y’... and (x.y…)’=x’+y’+…. –Generalized de Morgan’s: f’(x1,x2,…,xn,0,1,+,.) = f(x1’,x2’,…,xn’,1,0,.,+) Boolean algebra and its axioms and theorems

3 Duality –A dual of a Boolean expression is derived by replacing. by +, + by., 0 by 1, and 1 by 0 and leaving variables unchanged –Any theorem that can be proven is thus also proven for –a meta-theorem (a theorem about theorems) –duality:(x+y+…) D =x.y…… and (x.y….) D = x+y+… –general duality: f D (x1,x2,…,xn,0,1,+,.) = f(x1,x2,…,xn,1,0,.,+) –multiplication and factoring: (x+y).(x’+z) = x.z+x’.yandx.y+x’.z=(x+z).(x’+y) –Consensus: (x.y)+(y.z)+(x’.z)=x.y+x’z and(x+y).(y+z).(x’+z)=(x+y).(x’+z) Duality axioms and theorems

4 Prove x.y+x.y’=x distributivity:x.y+x.y’ = x.(y+y’) complementarity:x.(y+y’) = x.(1) identity:x.(1) = x Prove x+x.y = x identity:x+x.y = x.1+x.y distributivity:x.1+x.y = x.(1+y) identity:x.(1+y) = x.(1) identity:x.(1) = x NOR is equivalent of AND (x+y)’ = x’.y’ NAND is equivalent of OR (x.y)’ = x’+y’ Proving theorems

5 Simplify Boolean expression for carry function in a 3-bit adder Cout = a’.b.cin + a.b’.cin + a.b.cin’ + a.b.cin –Each of the first, second, and third term can be combined with the last term –Use identity to make copies of the last term 3 times (x+x=x) –Cout = a’.b.cin + a.b’.cin + a.b.cin’ + a.b.cin + a.b.cin + a.b.cin –Use associativity to bring terms together –Cout = a’.b.cin + a.b.cin + a.b’.cin + a.b.cin + a.b.cin’ + a.b.cin –Then use distributivity to combine terms –Cout = (a’+a).b.cin + (b’+b).a.cin + a.b.(cin’+cin) –Next use complementarity to reduce –Cout = (1).b.cin + (1).a.cin + a.b.(1) –Finally using identity gives Cout = b.cin + a.cin + a.b And now try some harder problem

6 Canonical Sum-of-Product form Canonical Product-of-sum form How to convert one from other? Minterm expansion of F to minterm expansion of F’ –Just take the terms that are missing Maxterm expansion of F to maxterm expansion of F’ –Just take the terms that are missing Multiple forms and equivalence