Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Logic Gates.
CT455: Computer Organization Logic gate
Chapter 2 Logic Circuits.
CS 151 Digital Systems Design Lecture 7 More Logic Functions: NAND, NOR, XOR.
Chapter 2 – Combinational Logic Circuits Part 1 – Gate Circuits and Boolean Equations Logic and Computer Design Fundamentals.
CHAPTER 3 Digital Logic Structures
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Multiplexer as a Universal Function Generator
SYEN 3330 Digital SystemsJung H. Kim Chapter SYEN 3330 Digital Systems Chapter 2 – Part 1.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Number Systems & Logic Gates Day 2. Octal Number System Base (Radix)8 Digits0, 1, 2, 3, 4, 5, 6, 7 e.g = =648 1 =88 0 =1 The digit.
Boolean Algebra. Binary Logic and Gates Binary variables take on one of two values. Logical operators operate on binary values and binary variables. Basic.
22C:19 Discrete Math Boolean Algebra & Digital Logic Fall 2010 Sukumar Ghosh.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
Boolean Algebra and Logic Gates 1 Computer Engineering (Logic Circuits) Lec. # 3 Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering Faculty.
NOCTI Review Lesson 4 Objectives:
Binary Logic and Gates Binary variables take on one of two values.
Digital Systems: Boolean Algebra and Logic Gates
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
CS 151: Introduction to Digital Design Chapter 2-9 Exclusive-OR Gates.
Combinational Logic 1.
Logic Gates. Outline  Logic Gates  The Inverter  The AND Gate  The OR Gate  The NAND Gate  The NOR Gate  The XOR Gate  The XNOR Gate  Drawing.
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.
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.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Boolean Algebra and Logic Gates CSE-1108 Ahsanullah University of Science and Technology (AUST)
Boolean Algebra & Logic Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits Lecture 5: Binary Logic and Gates.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
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,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits 2-9 Exclusive-OR Operator and Gates 1Created by: Ms.Amany AlSaleh.
Logic Gates Ghader Kurdi Adapted from the slides prepared by DEPARTMENT OF PREPARATORY YEAR.
CHAPTER 5 Combinational Logic Analysis
Basic Logic Gates By : Ashima Wadhwa Assistant Professor (giBS)
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.
Circuit Synthesis A logic function can be represented in several different forms:  Truth table representation  Boolean equation  Circuit schematic 
Mu.com.lec 9. Overview Gates, latches, memories and other logic components are used to design computer systems and their subsystems Good understanding.
CHAPTER 2 Boolean algebra and Logic gates
Eng. Mai Z. Alyazji October, 2016
Computer Code.
Logic Gates and Boolean Algebra
Chapter 3 Notes – Part II Review Questions
CHAPTER 2 Boolean Algebra
Logic Gates.
EI205 Lecture 5 Dianguang Ma Fall 2008.
Overview Part 1 – Gate Circuits and Boolean Equations
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Practice #Digital Logic Mr. Burleson
Digital Systems: Logic Gates and Boolean Algebra
Boolean Algebra & Logic Circuits
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Logic Gates.
Chapter 4 Gates and Circuits.
Chapter 2 Gates.
Digital Logic Chapter-2
Digital Logic Chapter-2
Introductory Concepts
Digital Logic Design Basics Combinational Circuits Sequential Circuits.
Boolean Algebra and Gate Networks
Eng. Ahmed M Bader El-Din October, 2018
What are Logic Gates?.
SYEN 3330 Digital Systems Chapter 2 – Part 1 SYEN 3330 Digital Systems.
Presentation transcript:

Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design

Digital Systems© Umm Al-Qura – slide 2 Binary Logic and Gates : Digital circuits contain hardware elements called “logic gates” that perform logic operations on binary numbers. Boolean algebra is the mathematical system that provides the basis for these logic operations. Boolean variable is a logic variable that has two-valued binary digits “1” or “0”. The analysis and design of logic circuits are guided by Boolean algebra. Introduction:

Digital Systems© Umm Al-Qura – slide 3 Binary Logic and Gates : C- Logic gates: They are the hardware elements that implement the logic operation over the binary variables.

Digital Systems© Umm Al-Qura – slide 4 Binary Logic and Gates : NOTORAND 0 · 0 = 0 0 · 1 = 0 1 · 0 = 0 1 · 1 = = = = = 1 10  01 

Digital Systems© Umm Al-Qura – slide 5 Binary Logic and Gates : 2)- OR operation: The OR operation for two variables X and Y generates a result of 0 if both variable X and Y are 0, otherwise it generates 1. The plus “ + ” or “ ˅ ” symbol are used to represent the OR operation. The OR operation between two binary variables is: 1)- AND operation: The AND operation for two variables X and Y generates a result of 1 if both variable X and Y are 1, otherwise it generates 0. The dot “. “Or “^” symbol are used to represent the AND operation. The AND operation between two binary variables is: OutputInput Z= X.YYX AND gate OR gate

Digital Systems© Umm Al-Qura – slide 6 Binary Logic and Gates : 3)- NOT operation: The NOT operation is provided for one variable X. It generates 1 if X is 0 and generates 0 if X is 1 The NOT operation of a binary digit provides the results: OutputInput Z= X‾X NOT gate

Digital Systems© Umm Al-Qura – slide 7 Truth Tables – Cont’d:  Used to evaluate any logic function  Consider F(X, Y, Z) = X Y + Y Z XYZX YYY ZF = X Y + Y Z

Digital Systems© Umm Al-Qura – slide 8 Logic Function Implementation:

Digital Systems© Umm Al-Qura – slide 9 Logic Function Implementation: And waveform behavior in time as follows :

Digital Systems© Umm Al-Qura – slide 10 Binary Logic and Gates : Derived Logic Gates and Operations: The other derived logic operations are: a) NAND operation. b) NOR operation. c) Exclusive-OR (XOR) operation. d) Exclusive-NOR (XNOR) operation. 1)- NAND operation: The NAND output is generated by inverting the output of AND operation. NAND gate

Digital Systems© Umm Al-Qura – slide 11 Binary Logic and Gates : 2)- NOR operation: The NOR output is generated by inverting the output of OR operation. OutputInput YX NOR gate 3)- XOR operation: The XOR operation for two variables X and Y generates a result of 1 if the inputs are different and generates 0 if the inputs are the same. The + symbol is used to represent the XOR operation. The XOR operation between two binary variables is: XOR gate

Digital Systems© Umm Al-Qura – slide 12 Binary Logic and Gates : 4)- XNOR operation: The XNOR operation for two variables X and Y generates a result of 0 if the inputs are different and generates 1 if the input are the same. The ʘ symbol are used to represent the XOR operation. The XOR operation between two binary variables is: XNOR gate Note (1) In XOR: Be output = 1 if the number of (1) at the input (odd number). Note (2) In XNOR: Be output = 1 if the number (0) in the input (even number).

Digital Systems© Umm Al-Qura – slide 13 Logic Diagrams and Expressions:

Digital Systems© Umm Al-Qura – slide 14 Boolean Algebra: Boolean algebra is a symbolic notation deals with logic statements that takes a value of “true” or “false”. Boolean algebra provides basis for logic operations using binary variables that are represented by alphabetic characters. The binary variable can have either “true” or “false”. The Boolean function can contain the variable and its complement (A and A ).

Digital Systems© Umm Al-Qura – slide 15 Boolean Algebra: Boolean Algebra laws:

Digital Systems© Umm Al-Qura – slide 16 Boolean Algebra:

Digital Systems© Umm Al-Qura – slide 17 Boolean Algebra: Prove 1: OutputInput B‾A‾A+BBA Prove 2: OutputInput B‾A‾ABBA

Digital Systems© Umm Al-Qura – slide 18 Boolean Algebra:

Digital Systems© Umm Al-Qura – slide 19 Boolean Algebra: Example: Shorten the next logical functions to its simplest form.

Digital Systems© Umm Al-Qura – slide 20 Boolean Algebra: Find the complement each of the following functions: 1)F = xyz + xyz F = xyz+ x yz = xyz. x yz =(x = +y ‾ +z = ). (x = +y = +z ‾ ) =(x+y ‾ +z). (x+y+z ‾ ) 2) F = x. (y ‾ z ‾ +yz) F = x. (y ‾ z ‾ +yz) = x‾ + (y ‾ z ‾ +yz) = x‾ + y ‾ z ‾. Yz = x‾ +( y + z ). (Y‾+z‾) Example:

Digital Systems© Umm Al-Qura – slide 21 Binary Logic and Gates : The Boolean function can be represented in two forms: Truth Table: It represent function in a tabular form. Logic gates: It represent function in a logical form. Representation of Functions:

Digital Systems© Umm Al-Qura – slide 22 Binary Logic and Gates :

Digital Systems© Umm Al-Qura – slide 23 Binary Logic and Gates :

Digital Systems© Umm Al-Qura – slide 24 Binary Logic and Gates :

Digital Systems© Umm Al-Qura – slide 25 Binary Logic and Gates :

Digital Systems© Umm Al-Qura – slide 26 Binary Logic and Gates :

Digital Systems© Umm Al-Qura – slide 27 Binary Logic and Gates : 5- NAND, NOT Gates. F= (X ʘ Y) ʘ (X ʘ Y)

Digital Systems© Umm Al-Qura – slide 28 Binary Logic and Gates : Example: Extract the logical functions (F) of the following logic gates :