Logic Gates and Boolean Algebra ENT263

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

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

Experiment 4 Boolean Functions Implementation

that system. weighted value associated with it. numbers. a number. the absence of a signal. MECH 1500 Quiz 2 Review Name: Class: Date:

QUESTION BANK FOR TEST

ENGIN 112 Intro to Electrical and Computer Engineering

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

Combinational Circuits Digital Logic (Materials taken primarily from:

Combinational Circuits

Introduction to Computer Architecture

Ch. 5 : Boolean Algebra &

EEE130 Digital Electronics I Lecture #4_1

Chapter 2 Boolean algebra and Logic Gates

Gate Level Minimization Map Method

Introduction to Boolean logic and Logical Gates

EE292: Fundamentals of ECE

DeMorgan's Theorem. George Self. 1 Introduction

Chapter 3. Gate-Level Minimization. Outlines

GC03 Boolean Algebra

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

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

Chapter 2. Boolean Expressions:

Boolean Analysis of Logic Circuits

the absence of a signal. produce a result at one or more of their outputs. parallel. Y= AB. interconnected. connected. changed.

Summary. Boolean Addition

1. Mark the correct statement(s)

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

CS/COE 0447 Example Problems for Exam 2 Spring 2011

Code No: R Set No. 1

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

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

Gate-Level Minimization

Objectives: 1. Design procedure. 2. Fundamental circuits. 1. Design procedure

Code No: R Set No. 1

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

ELCT201: DIGITAL LOGIC DESIGN

LAB #1 BASIC DIGITAL CIRCUIT

(Refer Slide Time 3:31)

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:

Simplification of Boolean Functions

A B A+B

Experiment 3: Logic Simplification

Read this before starting!

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

Austin Herring Recitation 002 ECE 200 Project December 4, 2013

Propositional Calculus. Math Foundations of Computer Science

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

Read this before starting!

Simplification of Boolean Functions

ELCT201: DIGITAL LOGIC DESIGN


Combinational Logic Circuits

1 Discussion. 2 Pre-Lab

(Refer Slide Time 6:48)

COMP combinational logic 1 Jan. 18, 2016

R10. II B. Tech I Semester, Supplementary Examinations, May

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

LECTURE 4. Logic Design

UNIT-4 BOOLEAN LOGIC. NOT Operator Operates on single variable. It gives the complement value of variable.

R07

Recitation Session 6

MODULE 5 - COMBINATIONAL LOGIC

1. Boolean algebra. [6] 2. Constructing a circuit. [4] 3. Number representation [4] 4. Adders [4] 5. ALU [2] 6. Software [4]

2. BOOLEAN ALGEBRA 2.1 INTRODUCTION

Circuit analysis summary

NAND. Grade (10) Instructor. Logic Design 1 / 13

EECS 140/141 Introduction to Digital Logic Design Fall Semester 2016 Exam #1 Date: 3 October 2016

Code No: R Set No. 1

Injntu.com Injntu.com Injntu.com R16

Programmable Logic Devices (PLDs)

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

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

CENG 241 Digital Design 1

Digital Techniques. Lecture 1. 1 st Class

60-265: Winter ANSWERS Exercise 4 Combinational Circuit Design

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

Chapter 3. Boolean Algebra and Digital Logic

EECS 140 Laboratory Exercise 5 Prime Number Recognition

Read this before starting!

This podcast will demonstrate a logical approach as to how a computer adds through logical gates.

2.6 BOOLEAN FUNCTIONS

Lecture (05) Boolean Algebra and Logic Gates

Combinational Devices and Boolean Algebra

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

Hours / 100 Marks Seat No.

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April

Gate Level Minimization

Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

Logic Design: Part 2

Binary. Hexadecimal BINARY CODED DECIMAL

Objectives: 1- Bolean Algebra. Eng. Ayman Metwali

SECTION-A

Read this before starting!

Computer Science. Unit-4: Introduction to Boolean Algebra

Chap-2 Boolean Algebra

4. Write a sum-of-products representation of the following circuit. Y = (A + B + C) (A + B + C)

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

Section 001. Read this before starting!

Transcription:

Logic Gates and Boolean Algebra ENT263

Logic Gates and Boolean Algebra Now that we understand the concept of binary numbers, we will study ways of describing how systems using binary logic levels make decisions. Boolean algebra is an important tool in describing, analyzing, designing, and implementing digital circuits.

Boolean Constants and Variables Boolean algebra allows only two values; 0 and 1. Logic 0 can be: false, off, low, no, open switch. Logic 1 can be: true, on, high, yes, closed switch. Three basic logic operations: OR, AND, and NOT.

Truth Tables A truth table describes the relationship between the input and output of a logic circuit. The number of entries corresponds to the number of inputs. For example a 2 input table would have 2 2 = 4 entries. A 3 input table would have 2 3 = 8 entries.

Truth Tables Examples of truth tables with 2, 3, and 4 inputs.

OR Operation With OR Gates The Boolean expression for the OR operation is X = A + B This is read as x equals A or B. X = 1 when A = 1 or B = 1. Truth table and circuit symbol for a two input OR gate:

OR Operation With OR Gates The OR operation is similar to addition but when A = 1 and B = 1, the OR operation produces 1 + 1 = 1. In the Boolean expression x=1+1+1=1 We could say in English that x is true (1) when A is true (1) OR B is true (1) OR C is true (1).

OR Operation With OR Gates There are many examples of applications where an output function is desired when one of multiple inputs is activated.

AND Operations with AND gates The Boolean expression for the AND operation is X = A B This is read as x equals A and B. x = 1 when A = 1 and B = 1. Truth table and circuit symbol for a two input AND gate are shown. Notice the difference between OR and AND gates.

Operation With AND Gates The AND operation is similar to multiplication. In the Boolean expression X = A B C X = 1 only when A = 1, B = 1, and C = 1.

NOT Operation The Boolean expression for the NOT operation is X = A This is read as: x equals NOT A, or x equals the inverse of A, or x equals the complement of A

NOT Operation Truth table, symbol, and sample waveform for the NOT circuit.

Describing Logic Circuits Algebraically The three basic Boolean operations (OR, AND, NOT) can describe any logic circuit. If an expression contains both AND and OR gates the AND operation will be performed first, unless there is a parenthesis in the expression.

Describing Logic Circuits Algebraically Examples of Boolean expressions for logic circuits:

Describing Logic Circuits Algebraically The output of an inverter is equivalent to the input with a bar over it. Input A through an inverter equals A. Examples using inverters.

Evaluating Logic Circuit Outputs Rules for evaluating a Boolean expression: Perform all inversions of single terms. Perform all operations within parenthesis. Perform AND operation before an OR operation unless parenthesis indicate otherwise. If an expression has a bar over it, perform the operations inside the expression and then invert the result.

Evaluating Logic Circuit Outputs Evaluate Boolean expressions by substituting values and performing the indicated operations: A = 0, B = 1, C = 1, and x = ABC(A + D) = 0 1 1 (0 + 1) = 1 1 1 (0 + 1) = 1 1 1 (1) = 1 1 1 0 = 0 D = 1

Evaluating Logic Circuit Outputs Output logic levels can be determined directly from a circuit diagram. The output of each gate is noted until a final output is found.

Implementing Circuits From Boolean Expressions It is important to be able to draw a logic circuit from a Boolean expression. The expression x = A B C could be drawn as a three input AND gate. A more complex example such as y = AC + BC + ABC could be drawn as two 2-input AND gates and one 3-input AND gate feeding into a 3-input OR gate. Two of the AND gates have inverted inputs.

NOR Gates and NAND Gates Combine basic AND, OR, and NOT operations. The NOR gate is an inverted OR gate. An inversion bubble is placed at the output of the OR gate. The Boolean expression is, x = A + B

NOR Gates and NAND Gates The NAND gate is an inverted AND gate. An inversion bubble is placed at the output of the AND gate. The Boolean expression is x = AB

NOR Gates and NAND Gates The output of NAND and NOR gates may be found by simply determining the output of an AND or OR gate and inverting it. The truth tables for NOR and NAND gates show the complement of truth tables for OR and AND gates.

Universality of NAND and NOR Gates NAND or NOR gates can be used to create the three basic logic expressions (OR, AND, and INVERT) This characteristic provides flexibility and is very useful in logic circuit design.

Combinations of NANDs are used to create the three logic functions.

combinations of NORs are used to create the three logic functions.

The Exclusive OR X = A B

The Exclusive NOR X = AB + AB

IEEE/ANSI Standard Logic Symbols Compare the IEEE/ANSI symbols to traditional symbols. These symbols are not widely accepted but may appear in some schematics.

Application

Application

Exercise Output Boolean expressions??? Truth Table???

Exercise V1 0V U5A L1 U4A U6A V2 0V U1A Boolean expressions??? V3 0V U4B Truth Table??? L2 V4 0V U2A U3A U6B

Summary of Methods to Describe Logic Circuits The three basic logic functions are AND, OR, and NOT. Logic functions allow us to represent a decision process. If it is raining OR it looks like rain I will take an umbrella. If I get paid AND I go to the bank I will have money to spend.

Thank You