Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Similar documents
Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

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

Summary. Boolean Addition

EEE130 Digital Electronics I Lecture #4_1

Boolean Analysis of Logic Circuits

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

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

IT 201 Digital System Design Module II Notes

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

QUESTION BANK FOR TEST

Experiment 4 Boolean Functions Implementation

MODULE 5 - COMBINATIONAL LOGIC

ENGIN 112 Intro to Electrical and Computer Engineering

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

Logic Gates and Boolean Algebra ENT263

Chapter 2. Boolean Expressions:

ELCT201: DIGITAL LOGIC DESIGN

Lecture (04) Boolean Algebra and Logic Gates

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

Lecture 5. Chapter 2: Sections 4-7

Circuit analysis summary

EE292: Fundamentals of ECE

ELCT201: DIGITAL LOGIC DESIGN

LECTURE 4. Logic Design

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

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

Combinational Circuits Digital Logic (Materials taken primarily from:

1. Mark the correct statement(s)

Ch. 5 : Boolean Algebra &

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

DKT 122/3 DIGITAL SYSTEM 1

Experiment 3: Logic Simplification

Binary logic. Dr.Abu-Arqoub

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

Gate Level Minimization Map Method

2.1 Binary Logic and Gates


Logic Design: Part 2

CS470: Computer Architecture. AMD Quad Core

Logic and Computer Design Fundamentals. Chapter 2 Combinational Logic Circuits. Part 3 Additional Gates and Circuits

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

Introduction to Computer Architecture

2.6 BOOLEAN FUNCTIONS

Chapter 2 Boolean algebra and Logic Gates

DeMorgan's Theorem. George Self. 1 Introduction

Combinational Devices and Boolean Algebra

Lecture (05) Boolean Algebra and Logic Gates

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:

GC03 Boolean Algebra

Austin Herring Recitation 002 ECE 200 Project December 4, 2013

Boolean Algebra A B A AND B = A*B A B A OR B = A+B

Chapter 2. Boolean Algebra and Logic Gates

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

Boolean Algebra and Logic Gates

Propositional Calculus. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Combinational Logic Circuits

To write Boolean functions in their standard Min and Max terms format. To simplify Boolean expressions using Karnaugh Map.

ENGIN 112. Intro to Electrical and Computer Engineering

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

Unit-IV Boolean Algebra

Simplification of Boolean Functions

Designing Computer Systems Boolean Algebra

DIGITAL SYSTEM DESIGN

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

Boolean Logic CS.352.F12

Simplification of Boolean Functions

Introduction to Boolean logic and Logical Gates

Combinational Circuits

Announcements. Chapter 2 - Part 1 1

EECS150 Homework 2 Solutions Fall ) CLD2 problem 2.2. Page 1 of 15

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

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

Gate Level Minimization

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

Chapter 3. Gate-Level Minimization. Outlines

Henry Lin, Department of Electrical and Computer Engineering, California State University, Bakersfield Lecture 7 (Digital Logic) July 24 th, 2012

Definitions. 03 Logic networks Boolean algebra. Boolean set: B 0,

UNIT 2 BOOLEAN ALGEBRA

Computer Science. Unit-4: Introduction to Boolean Algebra

Chapter 2 Combinational Logic Circuits

Digital Fundamentals

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

Hours / 100 Marks Seat No.

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

Chapter 3. Boolean Algebra and Digital Logic

Propositional Calculus. Math Foundations of Computer Science

1. Prove that if you have tri-state buffers and inverters, you can build any combinational logic circuit. [4]

COMP combinational logic 1 Jan. 18, 2016

(Refer Slide Time 3:31)

Midterm Exam Review. CS 2420 :: Fall 2016 Molly O'Neil

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

Combinational Logic Circuits

Introduction to Boolean Algebra

Read this before starting!

Combinational Logic & Circuits

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

Introduction to Boolean Algebra

Module -7. Karnaugh Maps

BOOLEAN ALGEBRA. Logic circuit: 1. From logic circuit to Boolean expression. Derive the Boolean expression for the following circuits.

Philadelphia University Student Name: Student Number:

Transcription:

Logic Design First Stage Lecture No.5 Boolean Algebra Bawar Abid Abdalla Assistant Lecturer Software Engineering Department Koya University

Boolean Operations Laws of Boolean Algebra Rules of Boolean Algebra DeMorgan s Theorem Boolean Analysis of Logic Circuites Outlines

Boolean Algebra Variable and complement are terms used in Boolean algebra. A variable is a symbol (uppercase letter) 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 (over bar) For example, the complement of the variable A is A. If A = 1, then A = 0. If A = 0, then A = 1.

Boolean Addition Boolean Addition Boolean addition is equivalent to the OR operation and the basic rules are illustrated with their relation to the OR gate as follows: Example:

Boolean Multiplication Boolean Multiplication Boolean multiplication is equivalent to the AND operation and the basic rules are illustrated with their relation to the AND gate as follows: Example

Laws of Boolean Algebra Commutative X + Y = Y + X X Y = Y X

Associative A+(B+C)=(A+B)+C Laws of Boolean Algebra A(BC) = (AB)C

Laws of Boolean Algebra Distributive A(B+C) =AB+AC

Rules of Boolean Algebra Rules of Boolean Algebra Table below lists 12 basic rules that are useful in manipulating and simplifying Boolean expressions.

Rules of Boolean Algebra

Rules of Boolean Algebra

Rules of Boolean Algebra

DEMORGAN'S THEOREMS DeMorgan proposed two theorems that are important part of Boolean algebra. In practical terms. DeMorgan's theorems provide mathematical verification of the equivalency of the NAND and negative-or gates and the equivalency of the NOR and negative-and gates, One of DeMorgan's theorems is stated as follows: The complement of a product of variables is equal to the sum of the complements of the variables, Stated another way, The complement of two or more ANDed variables is equivalent to the OR of the complements of the individual variables.

Demorgan s Theorem

DEMORGAN'S THEOREMS

DEMORGAN'S THEOREMS As stated, DeMorgan's theorems also apply to expressions in which there are more than two variables. The following examples illustrate the application of DeMorgan's theorems to 3-variable and 4-variable expressions. Example:

Example: DEMORGAN'S THEOREMS

DEMORGAN'S THEOREMS Each variable in DeMorgan's theorems as stated before can also represent a combination of other variables. For example, X can be equal to the term AB + C, and Y can be equal to the term A + BC So if you c an apply DeMorgan's theorem for two variables as stated by to the expression you get the following result: Each term of the result can be simplified using DeMorgan's theorem.

DEMORGAN'S THEOREMS Again, applying DeMorgan's theorem Note that, DeMorgan's theorem can not be applied any more.

DEMORGAN'S THEOREMS Example: Apply DeMorgan's theorem to the following expression Solution:

Example: DEMORGAN'S THEOREMS

DEMORGAN'S THEOREMS

Example: DEMORGAN'S THEOREMS

BOOLEAN ANALYSIS OF LOGIC 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. Boolean Expression for a Logic Circuit A logic circuit can be described by a Boolean equation. To derive the Boolean expression for a given logic circuit, begin at the left-most inputs and work toward the final output, writing the expression for each gate. For the example circuit in Figure below (next slide), the Boolean expression is determined as follows:

BOOLEAN ANALYSIS OF LOGIC Gates 1. The expression for the left-most AND gate with inputs C and D is CD. 2. The output of the left-most AND gate is one of the inputs to the OR gate and B is the other input. Therefore, the expression for the OR gate is B + CD. 3. The output of the OR gate is one of the inputs to the right-most AND gate and A is the other input. Therefore, the expression for this AND gate is A(B + CD), which is the final output expression for the entire circuit.

Constructing a Truth Table for a Logic Circuit Once the Boolean expression for a given logic circuit has been determined, a truth table that shows the output for all possible values of the input variables can be developed. The procedure requires that you evaluate the Boolean expression for all possible combinations of values for the input variables. In the case of the circuit in Figure above (previous slide), there are four input variables (A, B, C, and D) and therefore sixteen (2^4 = 16) combinations of values are possible.

Evaluating the Expression

Putting the Results in Truth Table format The first step is to list the sixteen input variable combinations of 1s and 0s in a binary sequence as shown in Table below (Next Slide). Next, place a 1 in the output column for each combination of input variables that was determined in the evaluation. Finally, place a 0 in the output column for all other combinations of input variables. These results are shown in the truth table in next slide.

Truth Table

Boolean Algebra Thank You!