Variable, Complement, and Literal are terms used in Boolean Algebra.

Similar documents
Following the advice of breaking the longest (uppermost) bar first, I'll begin by breaking the bar covering the entire expression as a first step:

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

UNIT 2 BOOLEAN ALGEBRA

Boolean Algebra. P1. The OR operation is closed for all x, y B x + y B

Binary logic. Dr.Abu-Arqoub

Chapter 2 Boolean algebra and Logic Gates

Unit-IV Boolean Algebra

IT 201 Digital System Design Module II Notes

Chapter 2. Boolean Expressions:

Combinational Logic & Circuits

Experiment 4 Boolean Functions Implementation

Boolean Algebra. BME208 Logic Circuits Yalçın İŞLER

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

DeMorgan's Theorem. George Self. 1 Introduction

Boolean Algebra and Logic Gates

UNIT-4 BOOLEAN LOGIC. NOT Operator Operates on single variable. It gives the complement value of variable.

CS February 17

DIGITAL CIRCUIT LOGIC UNIT 7: MULTI-LEVEL GATE CIRCUITS NAND AND NOR GATES

Experiment 3: Logic Simplification

Simplification of Boolean Functions

LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Chapter 3. Gate-Level Minimization. Outlines

Gate Level Minimization Map Method

X Y Z F=X+Y+Z

Menu. Algebraic Simplification - Boolean Algebra EEL3701 EEL3701. MSOP, MPOS, Simplification

2.6 BOOLEAN FUNCTIONS

Circuit analysis summary

CS8803: Advanced Digital Design for Embedded Hardware

BOOLEAN ALGEBRA. 1. State & Verify Laws by using :

2008 The McGraw-Hill Companies, Inc. All rights reserved.

ELCT201: DIGITAL LOGIC DESIGN

QUESTION BANK FOR TEST

SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY,DHENKANAL LECTURE NOTES ON DIGITAL ELECTRONICS CIRCUIT(SUBJECT CODE:PCEC4202)


Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

Lecture (05) Boolean Algebra and Logic Gates

Lecture 5. Chapter 2: Sections 4-7

2.1 Binary Logic and Gates

01 Introduction to Digital Logic. ENGR 3410 Computer Architecture Mark L. Chang Fall 2006

Gate Level Minimization

ELCT201: DIGITAL LOGIC DESIGN

Computer Science. Unit-4: Introduction to Boolean Algebra

Philadelphia University Faculty of Information Technology Department of Computer Science. Computer Logic Design. By Dareen Hamoudeh.

Standard Forms of Expression. Minterms and Maxterms

Summary. Boolean Addition

Lecture 4: Implementation AND, OR, NOT Gates and Complement

01 Introduction to Digital Logic. ENGR 3410 Computer Architecture Mark L. Chang Fall 2008

數位系統 Digital Systems 朝陽科技大學資工系. Speaker: Fuw-Yi Yang 楊伏夷. 伏夷非征番, 道德經察政章 (Chapter 58) 伏者潛藏也道紀章 (Chapter 14) 道無形象, 視之不可見者曰夷

Chapter 2: Combinational Systems

Objectives: 1- Bolean Algebra. Eng. Ayman Metwali

CS470: Computer Architecture. AMD Quad Core

Spring 2010 CPE231 Digital Logic Section 1 Quiz 1-A. Convert the following numbers from the given base to the other three bases listed in the table:


Gate-Level Minimization

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Lecture (04) Boolean Algebra and Logic Gates

Lecture (04) Boolean Algebra and Logic Gates By: Dr. Ahmed ElShafee

R.M.D. ENGINEERING COLLEGE R.S.M. Nagar, Kavaraipettai

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Permutation Matrices. Permutation Matrices. Permutation Matrices. Permutation Matrices. Isomorphisms of Graphs. 19 Nov 2015

9/10/2016. The Dual Form Swaps 0/1 and AND/OR. ECE 120: Introduction to Computing. Every Boolean Expression Has a Dual Form

Boolean Analysis of Logic Circuits

ENGIN 112 Intro to Electrical and Computer Engineering

DSAS Laboratory no 4. Laboratory 4. Logic forms

Gate-Level Minimization

Gate-Level Minimization

SWITCHING THEORY AND LOGIC CIRCUITS

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Chapter 3. Boolean Algebra and Digital Logic

Boolean algebra. June 17, Howard Huang 1

Software Engineering 2DA4. Slides 2: Introduction to Logic Circuits

Combinational Logic Circuits

Introduction to Boolean logic and Logical Gates

ENGINEERS ACADEMY. 7. Given Boolean theorem. (a) A B A C B C A B A C. (b) AB AC BC AB BC. (c) AB AC BC A B A C B C.

COMP combinational logic 1 Jan. 18, 2016

Introduction to Boolean Algebra

Dr. Chuck Cartledge. 10 June 2015

Announcements. Chapter 2 - Part 1 1

Logic Gates and Boolean Algebra ENT263

Introduction to Boolean Algebra

1. Mark the correct statement(s)

(Refer Slide Time 6:48)

Computer Engineering Chapter 3 Boolean Algebra

Boolean Logic CS.352.F12

Introduction to Computer Architecture

24 Nov Boolean Operations. Boolean Algebra. Boolean Functions and Expressions. Boolean Functions and Expressions

Chapter 2. Boolean Algebra and Logic Gates

Lecture 3: Binary Subtraction, Switching Algebra, Gates, and Algebraic Expressions

Embedded Systems. Copyright 2000 Ken Arnold 1. Outline. Embedded Hardware. Fluid Flow Analogies. Schematic Conventions. Voltage = Pressure

Incompletely Specified Functions with Don t Cares 2-Level Transformation Review Boolean Cube Karnaugh-Map Representation and Methods Examples

UNIT II. Circuit minimization

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District DEPARTMENT OF INFORMATION TECHNOLOGY CS 2202 DIGITAL PRINCIPLES AND SYSTEM DESIGN

Chapter 2 Combinational Logic Circuits

BOOLEAN ALGEBRA AND CIRCUITS

Identity. p ^ T p p _ F p. Idempotency. p _ p p p ^ p p. Associativity. (p _ q) _ r p _ (q _ r) (p ^ q) ^ r p ^ (q ^ r) Absorption

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Logic Design: Part 2

Points Addressed in this Lecture. Standard form of Boolean Expressions. Lecture 4: Logic Simplication & Karnaugh Map

Digital Logic Lecture 7 Gate Level Minimization

Digital Logic Design (CEN-120) (3+1)

Transcription:

We have met gate logic and combination of gates. Another way of representing gate logic is through Boolean algebra, a way of algebraically representing logic gates. You should have already covered the symbols, below is a quick reminder: UBoolean Operations and Expressions Variable, Complement, and Literal are terms used in Boolean Algebra. A variable is a symbol used to represent a logical quantity. Any single variable can have a 1 or a 0 value The complement is the inverse of a variable and is indicated by a bar over the variable. The complement of a variable is not considered as a different variable. Every occurrence of a variable or its complement is called a Literal. It could be its true form or its complement, both of them are called Literals A SUM TERM is the SUM of literals (A+B+C+D) A sum term is equal to 1 if one or all of its inputs are 1. And is equal to 0 only if all of its inputs are zero. A PRODUCT TERM is the PRODUCT of literals (A.B.C.D) A product term is equal to 1 if all of its inputs are 1. And is equal to 0 if any one (or all) of its inputs are zero. Page 1 of 10

UDescribing Logic Circuits Algebraically: Any logic circuit, no matter how complex, may be completely described using the Boolean operations previously defined. Because the OR gate, AND gate, and NOT gate are the basic building blocks of digital circuits. Boolean algebra provides a concise way to express the operation of a logic circuit formed by a combination of logic gates so that the output can be determined for various combinations of input values. To derive the Boolean expression for a given logic circuit, begin at the left most inputs and work towards the final output, writing the expression for each gate. ULaws and Rules of Boolean Algebra: Equivalent and Complement of Boolean Expressions Two given Boolean expressions are said to be equivalent if one of them equals 1 only when the other also equals 1 and same case with 0 They are said to be complement of each other if one expression equals 1 only when the other equals 0 and vice versa. Postulates of Boolean Algebra The following are the important postulates of Boolean algebra: 1. 1.1 = 1 & 0+0 = 0 2. 1.0 = 0.1 = 0 & 0+1 = 1+0 = 1 3. 0.0 = 0 & 1+1 = 1 4. 1 = 0 & 0 = 1 Page 2 of 10

Theorems of Boolean Algebra Boolean theorems can be useful in simplifying a logic expression. That is, in reducing the number of terms in the expression. It is useful in the sense that the number of gates are reduced which in turn also reduces heat dissipation from the circuit (saves energy) When this is done, the reduced expression will produce a circuit that is less complex than the one which the original expression would have produced. Commutative Laws For Addition: X + Y = Y + X For Multiplication: X.Y = Y.X Associative Laws o For Addition: X+(Y+Z) = Y+(Z+X) = Z+(X+Y) o For Multiplication X.(Y.Z) = Y.(Z.X) = Z.(X.Y) Distributive Laws o X.(Y+Z) = X.Y + X.Z o (X.Y) + (X.Z) = X(Y+Z) Operations with 0 and 1 RULE 1: o 0+X = X RULE 2: o 1+x = 1 RULE 3: o 0.X = 0 RULE 4: o 1.X = X Page 3 of 10

Idempotent or Identity Laws: RULE 5: o X.X.X.X X = X RULE 7: o X+X+X+X +..+X = X Complementation Law: RULE 6: o X.X = 0 RULE 8: o X+X = 1 Involution Law: RULE 9: o X = X Absorption Law or Redundancy Law: RULE 10: o X+X.Y = X RULE 11: o X.Y + Y = X+Y RULE 12: o (X+Y).(X+Z) = X+Z.Y Page 4 of 10

DeMorgan s Theorem DeMorgan s theorems provide mathematical verification of the equivalency of the NAND and negative-or gates & the equivalency of the NOR and negative-and gates. Theorem 1: The complement of a product of variables is equal to the sum of the complements of the variables Theorem 2: The complement of a sum of variables is equal to the product of the complements of the variables. Page 5 of 10

When multiple layers of bars exist in an expression, you may only break one bar at a time, it is generally easier to begin simplification by breaking the longest (uppermost) bar first. To illustrate, let s take the expression (A + (BC)) Following the advice of breaking the longest (uppermost) bar first, we begin by breaking the bar covering the entire expression as a first step: YOU SHOULD NEVER BREAK MORE THAN ONE BAR IN A SINGLE STEP. Page 6 of 10

Let us apply DeMorgan s theorems to the simplification of a gate circuit: As always, our first step in simplifying this circuit must be to generate an equivalent Boolean expression. We can do this by placing a sub-expression label at the output of each gate, as the inputs become known. Here is the first step in this process: Next we can label the outputs of the first NOR gate and the NAND gate. When dealing with inverted-output gates, you may find it easier to write an expression for the gate s output without the final inversion, with an arrow pointing to just before the inversion bubble. Then, at the wire leading out of the gate (after the bubble), write the full complemented expression. This helps ensure you don t forget a complementing bar in the sub expression. Page 7 of 10

Finally, we write an expression (or pair of expressions) for the last NOR gate: Now we reduce this expression using identities, properties, rules and theorems (DeMorgan s) of Boolean algebra: Hence, the equivalent gate circuit for this much-simplified expression is as follows: Page 8 of 10

Here are some examples of Boolean algebra simplifications. Generally, there are several ways to reach the result. Page 9 of 10

Page 10 of 10