Lecture 7 Topics –Boolean Algebra 1. Logic and Bits Operation Computers represent information by bit A bit has two possible values, namely zero and one.

Slides:



Advertisements
Similar presentations
Digital Circuits.
Advertisements

Cosc 2150: Computer Organization Chapter 3: Boolean Algebra and Digital Logic.
ECE 331 – Digital System Design Boolean Algebra (Lecture #3) The slides included herein were taken from the materials accompanying Fundamentals of Logic.
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
Lecture 14 Today we will Learn how to implement mathematical logical functions using logic gate circuitry, using Sum-of-products formulation NAND-NAND.
Propositional Calculus Math Foundations of Computer Science.
Digital Logic Design ESGD2201
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Boolean Algebra and Logic Simplification
Section Section Summary Introduction to Boolean Algebra Boolean Expressions and Boolean Functions Identities of Boolean Algebra Duality The Abstract.
CHAPTER 2 Boolean Algebra
Boolean Algebra and Digital Logic Chapter 3. Chapter 3 Objectives  Understand the relationship between Boolean logic and digital computer circuits. 
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
DeMorgan Theorem, Computer Simulation Exercises
1 Digital Logic Design Week 5 Simplifying logic expressions.
Fall 2012: FCM 708 Foundation I Lecture 2 Prof. Shamik Sengupta
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
Apr. 3, 2000Systems Architecture I1 Systems Architecture I (CS ) Lecture 3: Review of Digital Circuits and Logic Design Jeremy R. Johnson Mon. Apr.
Combinational Logic 1.
Discrete Mathematics and Its Applications.  The English mathematician George Boole ( ) sought to give symbolic form to Aristotle's system of.
1 Binary Codes Digital systems use 2-state devices that understand only 2 binary values (0 and 1). But we communicate using various symbols and methods.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
ACOE1611 Combinational Logic Circuits Reference: M. Mano, C. Kime, “Logic and Computer Design Fundamentals”, Chapter 2.
Propositional Calculus CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Based on slides by:Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. ECE/CS 352: Digital System Fundamentals Lecture 6 – Canonical Forms.
1 BOOLEAN ALGEBRA Basic mathematics for the study of logic design is Boolean Algebra Basic laws of Boolean Algebra will be implemented as switching devices.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
A. Abhari CPS2131 Chapter 2: Boolean Algebra and Logic Gates Topics in this Chapter: Boolean Algebra Boolean Functions Boolean Function Simplification.
Logic Circuits Lecture 3 By Amr Al-Awamry. Basic Definitions Binary Operators  AND z = x y = x yz=1 if x=1 AND y=1  OR z = x + y z=1 if x=1 OR y=1 
ECE 3110: Introduction to Digital Systems Chapter #4 Review.
Boolean Functions and Boolean Algebra Laxmikant Kale.
Dale Roberts Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 4 Dr. Shi Dept. of Electrical and Computer Engineering.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Logic Simplification-Using Boolean Laws Logic Design Laboratory EE 2121 Lectures By Manesh T EE2121-In Charge
Dr. ClincyLecture Slide 1 CS Chapter 3 (3A and ) Part 2 of 8 Dr. Clincy Professor of CS.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
Dr. ClincyLecture Slide 1 CS6020- Chapter 3 (3A and ) Dr. Clincy Professor of CS First Exam - Tuesday, September 6th Coverage: All subjects up to.
Chapter 12. Chapter Summary Boolean Functions Representing Boolean Functions Logic Gates Minimization of Circuits (not currently included in overheads)
Digital Logic.
Morgan Kaufmann Publishers
CS Chapter 3 (3A and ) Part 1 of 8
CHAPTER 2 Boolean Algebra
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Princess Sumaya University
CS Chapter 3 (3A and ) Part 1 of 8
Jeremy R. Johnson Wed. Sept. 29, 1999
CHAPTER 2 Boolean Algebra
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Dr. Clincy Professor of CS
Propositional Calculus: Boolean Algebra and Simplification
Boolean Algebra.
Dr. Clincy Professor of CS
Dr. Clincy Professor of CS
Functions Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways: We can represent.
Boolean Algebra Introduction CSCI 240
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
COMS 361 Computer Organization
ECB2212-Digital Electronics Boolean algebra
From now on: Combinatorial Circuits:
Lab Instructors will overview the MSP430
ECE 352 Digital System Fundamentals
Boolean Algebra By: Asst Lec. Besma Nazar Nadhem
Boolean Algebra S.SADHISH PRABHU.
Presentation transcript:

Lecture 7 Topics –Boolean Algebra 1

Logic and Bits Operation Computers represent information by bit A bit has two possible values, namely zero and one. A bit can be used to represent a truth value, since there are two truth values, true and false. Bits operations correspond to the logical operations in Boolean Algebra. 2

Boolean Variables & Boolean Operators Boolean variables are variables that can take only binary values: 0 or 1, false or true –A,B,C = {0, 1} Boolean Operators –AND (A AND B, AB, A ∧ B) –OR (A OR B, A+B, A ∨ B) –NOT (NOT A, A') 3

Boolean Algebra Boolean algebra is a mathematical system for the manipulation of variables that can have one of two values. –In formal logic, these values are “true” and “false.” –In digital systems, these values are “on” and “off,” 1 and 0, or “high” and “low.” Boolean expressions are created by performing Boolean operations on Boolean variables. –Common Boolean operators include AND, OR, and NOT. 4

5 A Boolean operator can be completely described using a truth table. The AND operator is also known as a Boolean product. The OR operator is the Boolean sum. Truth Table of Boolean Operators

Boolean Function 6 To make evaluation of the Boolean function easier, the truth table contains extra (shaded) columns to hold evaluations of subparts of the function.

7 Order of Boolean Operations There might be many Boolean operators in one Boolean function. Which operator to apply first? Order of Boolean Operations: NOT > AND > OR

In Class Exercise 8

9 Boolean Identities: Simplify a Boolean Function Digital computers contain circuits that implement Boolean functions. The simpler that we can make a Boolean function, the smaller the circuit that will result. –Simpler circuits are cheaper to build, consume less power, and run faster than complex circuits. With this in mind, we always want to reduce our Boolean functions to their simplest form. There are a number of Boolean identities that help us to simplify a Boolean function.

10 Boolean Identities

How to prove these identities All of the above identities can be proved using truth tables. To do this, you use truth tables to show all of the possible values of both sides of the equation. If they are identical, then the identity is true. 11

Proving the AND Form of DeMorgan’s Law 12

Simplification of Boolean Expressions 13

Simplification of Boolean Expressions 14

Simplification of Boolean Expressions 15

16 Example 3.6 Simplify the function: Simplification of Boolean Expressions

Boolean Algebra Properties

In Class Exercise 18

19 Complements Sometimes it is more economical to build a circuit using the complement of a function than it is to implement the function directly. DeMorgan’s law provides an easy way of finding the complement of a Boolean function. Recall DeMorgan’s law states:

20 Complements

In Class Exercise 21

Representing Boolean Functions 22

23 Sum-of-Products Form

In Class Exercise The true table for a Boolean expression is shown below. Write the Boolean expression in sum-of-products form. 24

Summary Given a boolean function, construct it’s truth table. Using truth table to prove a boolean equation is valid or not. Applying boolean algebra for boolean function simplification. Using DeMorgan’s Law, write an expression for the complement. Determine the boolean expression in sum-of- products form. 25