Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

CT455: Computer Organization Logic gate
Chapter 11_1 (chap 10 ed 8) Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean.
Boolean Algebra and Logic Gate
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
1 Boolean Algebra & Logic Design. 2 Developed by George Boole in the 1850s Mathematical theory of logic. Shannon was the first to use Boolean Algebra.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
Boolean Algebra. Introduction 1854: Logical algebra was published by George Boole  known today as “Boolean Algebra” 1854: Logical algebra was published.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
22C:19 Discrete Math Boolean Algebra & Digital Logic Fall 2010 Sukumar Ghosh.
Computer Organization
Chapter 10_1 Digital Logic. Irvine, Kip R. Assembly Language for Intel-Based Computers, NOT AND OR XOR NAND NOR Truth Tables Boolean Operators.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Number Systems and Logic UCT Dept of Computer Science CSC
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.
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /05/2013 Lecture 4: Basics of Logic Design Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Why? What’s Boolean algebra used for? –“The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits.” Express a truth table.
Lecture 22: 11/19/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
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.
+ CS 325: CS Hardware and Software Organization and Architecture Gates and Boolean Algebra Part 2.
Number Systems and Logic UCT Dept of Computer Science CS115 ~ 2003.
Boolean Algebra AND gate A B | AB 0 0 | | | | 1 OR gate A B | A + B 0 0 | | | | 1 NOT gate _ A | A or A’ 0 | 1 1 |
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Lecture 4 Introduction to Boolean Algebra. Binary Operators In the following descriptions, we will let A and B be Boolean variables and define a set of.
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
Boolean Algebra Computer Architecture. Digital Representation Digital is an abstraction of analog voltage –Voltage is a continuous, physical unit Typically.
C.S. Choy21 BOOLEAN ALGEGRA The Mathematics of logic Boolean variables have only two possible values (binary) Operators:. Product+ SumComplement A.B A+B.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
DIGITAL ELECTRONICS. Everything in digital world is based on binary system. Numerically it involves only two symbols 0 or 1. –0 = False = No –1 = True.
Logic Gates and Boolean Algebra Introduction to Logic II.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Logic gates.
Computer Architecture & Operations I
Computer Architecture & Operations I
Digital Logic.
Morgan Kaufmann Publishers
Logic Gates and Boolean Algebra
Logic Gates.
Boolean Algebra.
Digital Technology.
Logic Gates and Boolean Algebra
CHAPTER 2 Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
CHAPTER 1 : INTRODUCTION
Boolean Algebra.
Boolean Algebra.
Basic Logical Operations (Fascinating)
Boolean Algebra & Logic Circuits
Basic Logic Gates 1.
Boolean Algebra.
Logic Gates.
February 7, 2002 John Wawrzynek
Boolean Algebra Introduction CSCI 240
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Chapter 4 Gates and Circuits.
Truth tables Mrs. Palmer.
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Presentation transcript:

Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)

Boolean Algebra & Logic Modern computing devices are digital –Use two states to represent all entities: 1 and 0 –Call these two logical states TRUE and FALSE All operations are on such values, and can only result in these values

Boolean Algebra & Logic George Boole formalised such a logic algebra: “Boolean Algebra” Modern digital circuits are designed and optimised using this theory We implement “functions” (such as add, compare etc) in hardware, using corresponding Boolean expressions

Boolean Operators There are 3 basic logic operators A, B are variables that can be TRUE or FALSE TRUE represented by 1; FALSE by 0 OperatorUsageNotation ANDA AND BA.B ORA OR BA+B NOTNOT A A

Truth Table: AND, OR, NOT To show the value of each operator we use a Truth Table –AND: only if both are TRUE –OR: if either is TRUE –NOT:inverts value ABF=A.BF=A+BF = AF=B

NAND, NOR and XOR –NAND: if either are FALSE [NOT (A AND B)] –NOR:if both are FALSE [NOT (A OR B)] –XOR:if either is TRUE, but not both ABF=A.BF=A+B F=A  B

Logic Gates These operators have symbolic representations: “logic gates” Building blocks for computer circuit desgin

Logic Gates

Finding a Boolean Representation F = F(A,B,C); F called “output variable” Find F values which are TRUE: –If A=0, B=1, C=0, then F = 1. –F 1 =A.B.C –F 2 = –F 3 = –F = ABCF

Finding a Boolean Representation F = F(A,B,C); F called “output variable” Find F values which are TRUE: –If A=0, B=1, C=0, then F = 1. –F 1 =A.B.C –F 2 = A.B.C –F 3 = A.B.C –F = F 1 + F 2 + F 3 ABCF

Algebraic Identities Commutative: A.B = B.A and A+B = B+A Distributive: A.(B+C) = (A.B) + (A.C) A+(B.C) = (A+B).(A+C) Associative: A.(B.C) = (A.B).C and A+(B+C) = (A+B)+C

Algebraic Identities Identitiy Elements: 1.A = A and 0 + A = A Inverse: A.A = 0 and A + A = 1 DeMorgan's Laws: A.B = A + B and A+B = A.B