ENGIN 112 Intro to Electrical and Computer Engineering

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

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Introduction to Computer Architecture

SWITCHING THEORY AND LOGIC CIRCUITS

Lecture (04) Boolean Algebra and Logic Gates

Lecture (04) Boolean Algebra and Logic Gates By: Dr. Ahmed ElShafee

Chapter 2. Boolean Expressions:

Circuit analysis summary

Introduction to Boolean Algebra

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

Introduction to Boolean Algebra

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

Unit-IV Boolean Algebra

Menu. Algebraic Simplification - Boolean Algebra EEL3701 EEL3701. MSOP, MPOS, Simplification

Logic Gates and Boolean Algebra ENT263

Summary. Boolean Addition

Computer Science. Unit-4: Introduction to Boolean Algebra

Binary logic. Dr.Abu-Arqoub

2. BOOLEAN ALGEBRA 2.1 INTRODUCTION

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

Objectives: 1- Bolean Algebra. Eng. Ayman Metwali

IT 201 Digital System Design Module II Notes

Chapter 2 Boolean algebra and Logic Gates

DeMorgan's Theorem. George Self. 1 Introduction

QUESTION BANK FOR TEST

Boolean Algebra. P1. The OR operation is closed for all x, y B x + y B

Boolean Analysis of Logic Circuits

Points Addressed in this Lecture. Standard form of Boolean Expressions. Lecture 4: Logic Simplication & Karnaugh Map

EEE130 Digital Electronics I Lecture #4_1

Experiment 4 Boolean Functions Implementation

X Y Z F=X+Y+Z

UNIT 2 BOOLEAN ALGEBRA

Software Engineering 2DA4. Slides 2: Introduction to Logic Circuits

ELCT201: DIGITAL LOGIC DESIGN

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Combinational Logic & Circuits

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

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

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

Combinational Devices and Boolean Algebra

ELCT201: DIGITAL LOGIC DESIGN

1. Prove that if you have tri-state buffers and inverters, you can build any combinational logic circuit. [4]

BOOLEAN ALGEBRA. 1. State & Verify Laws by using :

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


Ch. 5 : Boolean Algebra &

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

Experiment 3: Logic Simplification

Chapter 2. Boolean Algebra and Logic Gates

Lecture (05) Boolean Algebra and Logic Gates

Spring 2010 CPE231 Digital Logic Section 1 Quiz 1-A. Convert the following numbers from the given base to the other three bases listed in the table:

Boolean Algebra and Logic Gates

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:

Chapter 3. Boolean Algebra and Digital Logic

Gate Level Minimization Map Method

9/10/2016. The Dual Form Swaps 0/1 and AND/OR. ECE 120: Introduction to Computing. Every Boolean Expression Has a Dual Form

Designing Computer Systems Boolean Algebra

Digital Logic Design (CEN-120) (3+1)

Review. EECS Components and Design Techniques for Digital Systems. Lec 05 Boolean Logic 9/4-04. Seq. Circuit Behavior. Outline.

Combinational Circuits Digital Logic (Materials taken primarily from:

Lecture 10: Floating Point, Digital Design

Boolean Algebra. BME208 Logic Circuits Yalçın İŞLER

Logic Design: Part 2

Austin Herring Recitation 002 ECE 200 Project December 4, 2013

[Ch 6] Set Theory. 1. Basic Concepts and Definitions. 400 lecture note #4. 1) Basics

CS470: Computer Architecture. AMD Quad Core

MODULE 5 - COMBINATIONAL LOGIC

2.6 BOOLEAN FUNCTIONS

Combinational Logic Circuits

ENGIN 112. Intro to Electrical and Computer Engineering

CS8803: Advanced Digital Design for Embedded Hardware

DIGITAL SYSTEM DESIGN

At this point in our study of digital circuits, we have two methods for representing combinational logic: schematics and truth tables.

Read this before starting!

2.1 Binary Logic and Gates

Read this before starting!

Propositional Calculus: Boolean Algebra and Simplification. CS 270: Mathematical Foundations of Computer Science Jeremy Johnson

Circuit simplification examples

Chapter 2: Universal Building Blocks. CS105: Great Insights in Computer Science

Read this before starting!

Boolean Logic CS.352.F12

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

Starting Boolean Algebra

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

Combinational Circuits

Gate-Level Minimization. section instructor: Ufuk Çelikcan

Announcements. Chapter 2 - Part 1 1

Lecture #21 March 31, 2004 Introduction to Gates and Circuits

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

Philadelphia University Faculty of Information Technology Department of Computer Science. Computer Logic Design. By Dareen Hamoudeh.

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

Chapter 3. Gate-Level Minimization. Outlines

CHAPTER-2 STRUCTURE OF BOOLEAN FUNCTION USING GATES, K-Map and Quine-McCluskey

Propositional Calculus. Math Foundations of Computer Science

GC03 Boolean Algebra

1. Mark the correct statement(s)

Combinational Logic Circuits

Read this before starting!

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

Dr. Chuck Cartledge. 10 June 2015

Transcription:

ENGIN 2 Intro to Electrical and Computer Engineering Lecture 5 Boolean Algebra

Overview Logic functions with s and s Building digital circuitry Truth tables Logic symbols and waveforms Boolean algebra Properties of Boolean Algebra Reducing functions Transforming functions

Digital Systems Analysis problem: Inputs.. Logic Circuit.. Outputs Determine binary outputs for each combination of inputs Design problem: given a task, develop a circuit that accomplishes the task Many possible implementation Try to develop best circuit based on some criterion (size, power, performance, etc.)

Toll Booth Controller Consider the design of a toll booth controller Inputs: quarter, car sensor Outputs: gate lift signal, gate close signal $.25 Car? Logic Circuit Raise gate Close gate If driver pitches in quarter, raise gate. When car has cleared gate, close gate.

Describing Circuit Functionality: Inverter Truth Table A Y A Y Symbol Basic logic functions have symbols. Input Output The same functionality can be represented with truth tables. Truth table completely specifies outputs for all input combinations. The above circuit is an inverter. An input of is inverted to a. An input of is inverted to a.

The AND Gate A B Y This is an AND gate. So, if the two inputs signals Truth Table are asserted (high) the A B Y output will also be asserted. Otherwise, the output will be deasserted (low).

The OR Gate A B Y This is an OR gate. A B Y So, if either of the two input signals are asserted, or both of them are, the output will be asserted.

Describing Circuit Functionality: Waveforms A AND Gate B Y Waveforms provide another approach for representing functionality. Values are either high (logic ) or low (logic ). Can you create a truth table from the waveforms?

Consider three-input gates 3 Input OR Gate

Ordering Boolean Functions How to interpret A B+C? Is it A B ORed with C? Is it A ANDed with B+C? Order of precedence for Boolean algebra: AND before OR. Note that parentheses are needed here :

Boolean Algebra A Boolean algebra is defined as a closed algebraic system containing a set K or two or more elements and the two operators,. and +. Useful for identifying and minimizing circuit functionality Identity elements a + = a a. = a is the identity element for the + operation. is the identity element for the. operation.

Commutativity and Associativity of the Operators The Commutative Property: For every a and b in K, a + b = b + a a. b = b. a The Associative Property: For every a, b, and c in K, a + (b + c) = (a + b) + c a. (b. c) = (a. b). c

Distributivity of the Operators and Complements The Distributive Property: For every a, b, and c in K, a + ( b. c ) = ( a + b ). ( a + c ) a. ( b + c ) = ( a. b ) + ( a. c ) The Existence of the Complement: For every a in K there exists a unique element called a (complement of a) such that, a + a = a. a = To simplify notation, the. operator is frequently omitted. When two elements are written next to each other, the AND (.) operator is implied a + b. c = ( a + b ). ( a + c ) a + bc = ( a + b )( a + c )

Duality The principle of duality is an important concept. This says that if an expression is valid in Boolean algebra, the dual of that expression is also valid. To form the dual of an expression, replace all + operators with. operators, all. operators with + operators, all ones with zeros, and all zeros with ones. Form the dual of the expression a + (bc) = (a + b)(a + c) Following the replacement rules a(b + c) = ab + ac Take care not to alter the location of the parentheses if they are present.

Involution This theorem states: a = a Remember that aa = and a+a =. Therefore, a is the complement of a and a is also the complement of a. As the complement of a is unique, it follows that a =a. Taking the double inverse of a value will give the initial value.

Absorption This theorem states: a + ab = a a(a+b) = a To prove the first half of this theorem: a + ab = a. + ab = a ( + b) = a (b + ) = a () a + ab= a

DeMorgan s Theorem A key theorem in simplifying Boolean algebra expression is DeMorgan s Theorem. It states: (a + b) = a b (ab) = a + b Complement the expression a(b + z(x + a )) and simplify. (a(b+z(x + a ))) = a + (b + z(x + a )) = a + b (z(x + a )) = a + b (z + (x + a ) ) = a + b (z + x a ) = a + b (z + x a)

Summary Basic logic functions can be made from AND, OR, and NOT (invert) functions The behavior of digital circuits can be represented with waveforms, truth tables, or symbols Primitive gates can be combined to form larger circuits Boolean algebra defines how binary variables can be combined Rules for associativity, commutativity, and distribution are similar to algebra DeMorgan s rules are important. Will allow us to reduce circuit sizes.