Hoda Roodaki hroodaki@kntu.ac.ir Boolean Algebra Hoda Roodaki hroodaki@kntu.ac.ir.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

CT455: Computer Organization Logic gate
Programmable Logic Controllers.
CS 151 Digital Systems Design Lecture 5 Boolean Algebra.
Introduction to Logic Circuits
CSE 20 Lecture 9 Boolean Algebra: Theorems and Proofs CK Cheng April 26, 2011 Lecture notes 1.
Chapter 2 Logic Circuits.
Boolean Algebra and Logic Gate
Chapter 3 Boolean Algebra and Logic Gate (Part 2).
Relationship Between Basic Operation of Boolean and Basic Logic Gate The basic construction of a logical circuit is gates Gate is an electronic circuit.
Boolean Algebra Module M4.1 Section 5.1. Boolean Algebra and Logic Equations Switching Algebra Theorems Venn Diagrams.
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.
ENGIN112 L5: Boolean Algebra September 12, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 5 Boolean Algebra.
1 CSE 20: Lecture 7 Boolean Algebra CK Cheng 4/21/2011.
Boolean Algebra and Logic Simplification. Boolean Addition & Multiplication Boolean Addition performed by OR gate Sum Term describes Boolean Addition.
Boolean Algebra. Binary Logic and Gates Binary variables take on one of two values. Logical operators operate on binary values and binary variables. Basic.
Boolean Algebra Dr. Bernard Chen Ph.D. University of Central Arkansas Spring 2009.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
1 Section 10.2 Boolean Algebra Motivation: Notice the list of corresponding properties for the algebra of sets and the algebra of propositional wffs. These.
Module 4.  Boolean Algebra is used to simplify the design of digital logic circuits.  The design simplification are based on: Postulates of Boolean.
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.
Boolean Algebra & Logic Prepared by Dr P Marais (Modified by D Burford)
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.
Laws (Theorems) of Boolean algebra Laws of Complementation oThe term complement means, to invert or to change 1's to 0's and 0's to 1's, for which purpose.
CSE 20: Lecture 7 Boolean Algebra CK Cheng
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
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.
5 - Digital Logic with Boolean Algebra
Laws of Boolean Algebra Commutative Law Associative Law Distributive Law Identity Law De Morgan's Theorem.
Laws (Theorems) of Boolean algebra Laws of Complementation oThe term complement means, to invert or to change 1's to 0's and 0's to 1's, for which purpose.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  Boolean postulate  Simplifying boolean equations  Truth tables You will learn: 2.
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.
Logic Design EE-2121 Manesh T. Digital Systems  Introduction  Binary Quantities and Variables  Logic Gates  Boolean Algebra  Combinational Logic.
ECE DIGITAL LOGIC LECTURE 6: BOOLEAN ALGEBRA Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 02/01/2016.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
Digital Logic. Boolean Algebra to Logic Gates Logic circuits are built from components called logic gates. The logic gates correspond to Boolean operations.
Boolean Algebra How gates get picked. Boolean Arithmetic Boolean ≠ Binary – Boolean – 1/0 only, no places Boolean addition:
Boolean Algebra & Logic Gates
Logic Gates and Boolean Algebra
Boolean Algebra.
Logic Gates and Boolean Algebra
Gate Circuits and Boolean Equations
CHAPTER 2 Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
EI205 Lecture 5 Dianguang Ma Fall 2008.
CHAPTER 1 : INTRODUCTION
Overview Part 1 – Gate Circuits and Boolean Equations
Princess Sumaya University
Jeremy R. Johnson Wed. Sept. 29, 1999
DIGITAL LOGIC CIRCUITS
Jeremy R. Johnson Anatole D. Ruslanov William M. Mongan
Boolean Algebra & Logic Circuits
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Basic Logic Gates 1.
CSE 370 – Winter Combinational Logic - 1
Logic Gates.
CSE 20 Lecture 9 Boolean Algebra: Theorems and Transformations
Boolean Algebra Introduction CSCI 240
Chapter 2 Introduction to Logic Circuits
Chapter 4 Gates and Circuits.
Boolean Algebra How gates get picked.
Boolean Algebra: Theorems and Proofs
Boolean Algebra: Theorems and Proofs
Presentation transcript:

Hoda Roodaki hroodaki@kntu.ac.ir Boolean Algebra Hoda Roodaki hroodaki@kntu.ac.ir

Introduction Digital systems are concerned with digital signals. Here we will concentrate on binary signals since these are the most common form of digital signals.

Binary Quantities and Variables A binary quantity is one that can take only 2 states.

Logic Gates The building blocks used to create digital circuits are logic gates. There are three elementary logic gates and a range of other simple gates. AND OR NOT Each gate has its own logic symbol which allows complex functions to be represented by a logic diagram. The function of each gate can be represented by a truth table or using Boolean notation.

The AND gate A binary arrangement with two switches in series

The AND gate

The AND gate

The OR gate A binary arrangement with two switches in parallel

The OR gate

The OR gate

The NOT gate (or inverter)

The NAND gate

The NOR gate

The Exclusive OR gate

The Exclusive NOR gate

Boolean Algebra Boolean Constants Boolean Variables Boolean Functions these are ‘0’ (false) and ‘1’ (true) Boolean Variables variables that can only take the vales ‘0’ or ‘1’ Boolean Functions each of the logic functions (such as AND, OR and NOT) are represented by symbols as described above Boolean Theorems a set of identities and laws

Boolean Algebra Boolean identities (Basic Operation) AND Function OR Function NOT function 00=0 0+0=0 01=0 0+1=1 10=0 1+0=1 11=1 1+1=1 A0=0 A+0=A 0A=0 0+A=A A1=A A+1=1 1A=A 1+A=1 AA=A A+A=A AND Function OR Function NOT function 00=0 0+0=0 01=0 0+1=1 10=0 1+0=1 11=1 1+1=1 A0=0 A+0=A 0A=0 0+A=A A1=A A+1=1 1A=A 1+A=1 AA=A A+A=A

Boolean Algebra laws Commutative law Absorption law Distributive law De Morgan’s law Associative law

Boolean Algebra laws proof (Distributive law) A + BC = A.1 + BC [ Since, A.1 = A] = A(1 + B) + BC [Since, B+1 = 1] = A.1 + AB + BC = A.(1 + C) + AB + BC = A (A + C) + B (A+C) [Since, A.A = A.1 = A] A + BC = (A+B)(A+C)

Boolean Algebra laws proof (Absorption Law): A . (A+B) = A Proof. A.(A+B) = A.A + A.B = A+AB [Since, A.A = A] = A(1+B) = A.1 A + (A·B) = A A+(A.B) = A.1 + AB [Since A.1 = A] = A(1+B) [Since, 1 + B = 1] = A.1 = A

Boolean Algebra laws proof (De Morgan’s Law) For every pair a, b in set B: (A+B)’ = A’B’, and (AB)’ = A’+B’. Proof: We should show that a+b and a’b’ are complementary. In other words, we show that both of the following are true (A+B) + (A’B’) = 1 (A+B)(A’B’) = 0

Boolean Algebra laws proof (De Morgan’s Law) Proof: (A + B) + (A‘B') = [(A + B) + A'] [(A + B) + B'] OR distributes over AND = [(B + A) + A'] [(A + B) + B'] OR is commutative = [B + (A + A')] [A + (B + B')] OR is associative = (B + 1)(A + 1) Complement, x + x' = 1 = 1 (A + B)(A‘B') = (A‘B')(A + B) AND is commutative = [(A‘B')A] + [(A‘B')B] AND distributes over OR = [(B‘A')A] + [(A‘B')B] AND is commutative = [B'(A‘A)] + [A'(B‘B)] AND is associative = [B'(AA')] + [A(BB')] AND is commutative = [B‘. 0] + [A‘. 0] Complement, x •x' = 0 = 0 + 0 = 0

Identity element An identity element (or neutral element) is a special type of element of a set with respect to a binary operation on that set. It leaves other elements unchanged when combined with them. An identity element with respect to + and . is 0 and 1, respectively.

Complement element b is a complement of a if a+b=1, a.b=0. So a unique complement must be a unique solution to both  equations (involving both  operations), not just a single operation.

Combinational Logic

Combinational Logic Gates

Combinational Logic Gates Implementing a function from a Boolean expression

Combinational Logic Gates Implementing a function from a Boolean expression

Combinational Logic Gates Implementing a function from a Boolean expression

Logic Gates Implementing a function from a Boolean expression

Combinational Logic Gates Implementing a logic function from a truth table A B C X 1

Combinational Logic Gates Implementing a logic function from a truth table