 Analysis and Synthesis:  Analysis start with a logic diagram and proceed to a formal description of the function performed by that circuit, such as.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Sistemas Digitais I LESI - 2º ano Lesson 3 - Boolean Algebra U NIVERSIDADE DO M INHO E SCOLA DE E NGENHARIA Prof. João Miguel Fernandes
Types of Logic Circuits
Logical Systems Synthesis.
Chapter 2 Logic Circuits.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
Computer Logic and Digital Design Chapter 2 Henry Hexmoor AND logic
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
EECC341 - Shaaban #1 Lec # 5 Winter Switching Algebra: Principle of Duality Any theorem or identity in switching algebra remains true if.
1 Section 10.1 Boolean Functions. 2 Computers & Boolean Algebra Circuits in computers have inputs whose values are either 0 or 1 Mathematician George.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #2 Boolean Laws and Methods.
Example: Given a 4-bit input combination N=N 3 N 2 N 1 N 0, this function produces a 1 output for N=1,2,3,5,7,11,13, and 0 otherwise.  According to the.
Logic Functions and their Representation. Slide 2 Combinational Networks x1x1 x2x2 xnxn f.
CSCE 211: Digital Logic Design
Chapter 2: Boolean Algebra and Logic Functions
Boolean Algebra Boolean algebra Boolean algebra, like any other deductive mathematical system, may be defined with –a set of elements, –a set of operators,
Logic Design CS221 1 st Term Boolean Algebra Cairo University Faculty of Computers and Information.
Chapter 2 Combinational Systems And / Or / Not. TRIAD PRINCIPLE: Combinational is about And / Or / Not combinations As well as equivalent functions. It.
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.
©2004 Brooks/Cole FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA Click the mouse to move to the next page. Use the ESC key to exit this chapter. This chapter in.
Combinational Logic 1.
Boolean Algebra 1854, George Boole created a two valued algebraic system which is now called Boolean algebra. 1938, Claude Shannon adapted Boolean algebra.
Chapter 2: Boolean Algebra and Logic Gates. F 1 = XY’ + X’Z XYZX’Y’XY’X’ZF1F
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
ECE 2110: Introduction to Digital Systems PoS minimization Don’t care conditions.
1 ENGR 254 Lecture DeMorgan Symbol Equivalence.
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
CT455: Computer Organization Boolean Algebra
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
LOGIC GATES & BOOLEAN ALGEBRA
Venn Diagram – the visual aid in verifying theorems and properties 1 E.
1 Boolean Algebra  Digital circuits Digital circuits  Boolean Algebra Boolean Algebra  Two-Valued Boolean Algebra Two-Valued Boolean Algebra  Boolean.
--- outputs logical functions of inputs --- new outputs appear shortly after changed inputs (propagation delay) --- no feedback loops --- no clock Sequential.
Discrete Mathematics CS 2610 September Equal Boolean Functions Two Boolean functions F and G of degree n are equal iff for all (x 1,..x n )  B.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
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.
BOOLEAN ALGEBRA Kamrul Ahsan Teacher of
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
Binary Logic and Gates Boolean Algebra Canonical and Standard Forms Chapter 2: Boolean Algebra and Logic Gates.
Digital Design: Principles and Practices Chapter 4 Combinational Logic Design Principles.
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,
BOOLEAN ALGEBRA – Digital Circuit 1 Choopan Rattanapoka.
Boolean Algebra and Logic Gates
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
ECE DIGITAL LOGIC LECTURE 8: BOOLEAN FUNCTIONS Assistant Prof. Fareena Saqib Florida Institute of Technology Spring 2016, 02/11/2016.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
Lecture 5 More Boolean Algebra A B. Overview °Expressing Boolean functions °Relationships between algebraic equations, symbols, and truth tables °Simplification.
CHAPTER 2 Boolean algebra and Logic gates
Boolean Algebra and Logic Gates COE 202 Digital Logic Design Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals.
ECE 301 – Digital Electronics
Chapter 2: Boolean Algebra and Logic Functions
Boolean Algebra.
14:332:231 DIGITAL LOGIC DESIGN 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
ECE 3110: Introduction to Digital Systems
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Overview Part 1 – Gate Circuits and Boolean Equations
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Boolean Algebra.
Discrete Mathematics CS 2610
Boolean Algebra.
CSE 370 – Winter Combinational Logic - 1
Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: We can represent.
Chapter 2 Introduction to Logic Circuits
Chapter 4 Combinational Logic Design Principles. Overview Objectives -Define combinational logic circuit -Analysis of logic circuits (to describe what.
Presentation transcript:

 Analysis and Synthesis:  Analysis start with a logic diagram and proceed to a formal description of the function performed by that circuit, such as a truth table or a logic expression. 4.1 Switching Algebra ReturnNext 1. Introduction Logic circuits are classified into two types:  Combinational: whose outputs depend only on its current inputs.  Sequential: depend not only on the current inputs but also on the past sequence of inputs, possibly arbitrarily far back in time.

4.1 Switching Algebra NextBackReturn  Synthesis do the reverse, starting with a formal description and proceeding to a logic diagram. 2. Axioms 1+0=0+1=1A5’0 · 1=1 · 0=0A5 0+0=0A4’1 · 1=1A4 1+1=1A3’0 · 0=0A3 if x=1, then x=0A2’if x=0, then x=1A2 x=1 if x≠0A1’x=0 if x≠1A1

4.1 Switching Algebra NextBackReturn 3. Theorems with One Variable x · x=0T5’x+x=1T5 T4’x =xT4 x · x=xT3’x+x=xT3 x · 0=0T2’x+1=1T2 x · 1=xT1’x+0=xT1 Identities Null elements Idempotency Complements Involution

4.1 Switching Algebra NextBackReturn 4. Theorems with multi-variable I x · y+x · z=x · (y+z)T8 (x+y)+z=x+(y+z)T7 x+y=y+xT6 (x+y) · (x+z)=x+y · zT8’ (x · y) · z=x · (y · z)T7’ x · y=y · xT6’ Commutativity Associativity Distributivity

4.1 Switching Algebra NextBackReturn (x+y) · (x+z) · (y+z)= (x+y) · (x+z) (x+y) · (x+y)=xT10’ x · y+x · y=xT10 x · (x+y)=xT9’ x+x · y=x T9 Combining Covering T11’ T11 Consensus x · y+x · z+y · z=x · y+x · z 4. Theorems with multi-variable II

4.1 Switching Algebra NextBackReturn 4. Theorems with multi-variable III F(x 1, x 2, … x n )=x 1 · F(1, x 2, … x n )+ x 1 · F(0, x 2, … x n ) F(x 1, x 2, … x n,+, · )= F(x 1, x 2, … x n, ·,+) x 1 +x 2 + … +x n = x 1 · x 2 · … · x n T13’ x 1 · x 2 · … · x n = x 1 +x 2 + … +x n T13 x · x ·… · x=xT12’ x+x+ … +x=x T12 T15 T14 T15’ F(x 1, x 2, … x n )=[x 1 + F(0, x 2, … x n )] ·[x 1 + F(1, x 2, … x n )] Generalized idempotency DeMorgan ’ s theorems Generalized DeMorgan ’ s theorems Shannon ’ s expansion theorems

4.1 Switching Algebra Equivalent circuits according to DeMorgan’s theorem T13 NextBackReturn x y Z=x · y x y Z=x+y x y x y Z=x · y Examples If F(w,x,y,z)=(w · x)+(x · y)+(w · (x+z )) Then according to T14 F(w,x,y,z)= (w+x) · (x+y) · (w+(x · z))

4.1 Switching Algebra NextBackReturn 5. Duality  Principle of Duality: Any theorem or identity in switching algebra remains true if 0 and 1 are swapped and · and + are swapped throughout. Examples x+x · y=x x · (x+y)=x (Covering) x · y+x · z+y · z=x · y+x · z (x+y) · (x+z) · (y+z)= (x+y) · (x+z) (Consensus) x 1 · x 2 · … · x n = x 1 +x 2 + … +x n x 1 +x 2 + … +x n = x 1 · x 2 · … · x n (DeMorgan ’ s theorems)

4.1 Switching Algebra NextBackReturn Consider the following statement x+x · y=x (T9) x · x+y=x (According the principle of duality) x+y=x (According theorem T3 ’ ) How absurd it is! Where did we go wrong? The problem is in operator precedence. Actually x+x · y=x+(x · y) ∴ x · (x+y)=x Operator precedence: ( ), AND, OR

 Product-of-sums expression : is a logic product of sum terms. [ e.g. z · (w+x+y) · (x+y+z) ] 4.1 Switching Algebra NextBackReturn  Truth table: The brute-force representation simply lists the output of the circuit for every possible input combination. 6. Standard Representations of Logic Functions  Sum-of-products expression: is a logic sum of product terms. (e.g. z+w · x · y+x · y · z)

4.1 Switching Algebra NextBackReturn  Minterm: An n -variable minterm is a normal product term with n literals. There are 2 n such product terms..  Maxterm: An n -variable maxterm is a normal sum term with n literals. There are 2 n such sum terms. Normal term: is a product or sum term in which no variable appears more than once. e.g. z, w · x · y, x · y · z, w+x+y, x+y+z

4.1 Switching Algebra NextBackReturn x y z x+y+z x·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·zx·y·z maxtermmintermFRow Minterm or maxterm number Canonical SumCanonical Product

4.1 Switching Algebra NextBackReturn Examples  Write the canonical sum and product for each of the following logic function:  Solution:

A truth table 4.1 Switching Algebra We have now learned five possible representations for a combinational logic function: BackReturn An algebraic sum of minterms, the canonical sum. A minterm list using the ∑ notation. An algebraic product of maxterms, the canonical product. A maxterm list using the ∏ notation.