Chapter 2 (Lect 2) Canonical and Standard Forms. Standard Form. Other Logic Operators Logic Gates. Sum of Minterms Product of Maxterms

Similar documents
EEA051 - Digital Logic 數位邏輯 吳俊興高雄大學資訊工程學系. September 2004

Chapter 2 Boolean Algebra and Logic Gates

CS 121 Digital Logic Design. Chapter 2. Teacher Assistant. Hanin Abdulrahman

EC-121 Digital Logic Design

Chapter 2 Boolean Algebra and Logic Gates

MC9211 Computer Organization

Chapter 2: Switching Algebra and Logic Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits

Chapter 2. Boolean Algebra and Logic Gates

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

CHAPTER1: Digital Logic Circuits Combination Circuits

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

Digital Design. Digital Design

Chapter 2 Boolean Algebra and Logic Gates

ELCT201: DIGITAL LOGIC DESIGN

Boolean Algebra and Logic Gates

Chapter 2: Boolean Algebra and Logic Gates

Week-I. Combinational Logic & Circuits

Digital Circuit And Logic Design I. Lecture 3

In Module 3, we have learned about Exclusive OR (XOR) gate. Boolean Expression AB + A B = Y also A B = Y. Logic Gate. Truth table

Chap 2. Combinational Logic Circuits

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Chapter 2 Combinational Logic Circuits

Standard & Canonical Forms

Chapter 2 : Boolean Algebra and Logic Gates

UNIVERSITI TENAGA NASIONAL. College of Information Technology

CSE20: Discrete Mathematics for Computer Science. Lecture Unit 2: Boolan Functions, Logic Circuits, and Implication

Boolean Algebra. The Building Blocks of Digital Logic Design. Section. Section Overview. Binary Operations and Their Representation.

Combinational Logic. Review of Combinational Logic 1

COE 202: Digital Logic Design Combinational Logic Part 2. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Boolean Algebra, Gates and Circuits

ELCT201: DIGITAL LOGIC DESIGN

CS 226: Digital Logic Design

Functions. Computers take inputs and produce outputs, just like functions in math! Mathematical functions can be expressed in two ways:

CHAPTER III BOOLEAN ALGEBRA

Lecture 2 Review on Digital Logic (Part 1)

Chapter 2 Combinational Logic Circuits

control in out in out Figure 1. Binary switch: (a) opened or off; (b) closed or on.

CHAPTER III BOOLEAN ALGEBRA

WEEK 2.1 BOOLEAN ALGEBRA

Circuits & Boolean algebra.

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

DIGITAL LOGIC CIRCUITS

Review: Additional Boolean operations

Fundamentals of Computer Systems

Boolean Algebra and Logic Gates Chapter 2. Topics. Boolean Algebra 9/21/10. EECE 256 Dr. Sidney Fels Steven Oldridge

Chapter 2 Boolean Algebra and Logic Gates

Logic Gate Level. Part 2

Learning Objectives. Boolean Algebra. In this chapter you will learn about:

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

Contents. Chapter 2 Digital Circuits Page 1 of 30

Section 3: Combinational Logic Design. Department of Electrical Engineering, University of Waterloo. Combinational Logic

Digital Logic Design. Combinational Logic

Number System conversions

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

Boolean Algebra and Logic Gates

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Combinatorial Logic Design Principles

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

DIGITAL LOGIC CIRCUITS

ENGIN 112 Intro to Electrical and Computer Engineering

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

WEEK 3.1 MORE ON KARNAUGH MAPS

Gate-Level Minimization

Chapter 3 Combinational Logic Design

. T SHREE MAHAPRABHU PUBLIC SCHOOL & COLLEGE NOTES FOR BOARD EXAMINATION SUBJECT COMPUTER SCIENCE (Code: 083) Boolean Algebra

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

Unit 2 Session - 6 Combinational Logic Circuits

L4: Karnaugh diagrams, two-, and multi-level minimization. Elena Dubrova KTH / ICT / ES

Gray Code. ASCII Character Code. To convert the number from binary to Gray code the relations must be known. 1 1 = = = = 0

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

EEE130 Digital Electronics I Lecture #4

Digital Logic Design ABC. Representing Logic Operations. Dr. Kenneth Wong. Determining output level from a diagram. Laws of Boolean Algebra

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

Chapter 2 Combinational Logic Circuits

Review for Test 1 : Ch1 5

BOOLEAN ALGEBRA TRUTH TABLE

COMBINATIONAL LOGIC FUNCTIONS

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

Chapter 2 Combinational Logic Circuits

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

CHAPTER 2 BOOLEAN ALGEBRA

Chapter-2 BOOLEAN ALGEBRA

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Logic Design Combinational Circuits. Digital Computer Design

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

ELCT201: DIGITAL LOGIC DESIGN

ECE 545 Digital System Design with VHDL Lecture 1. Digital Logic Refresher Part A Combinational Logic Building Blocks

Experiment 7: Magnitude comparators

DIGITAL CIRCUIT LOGIC BOOLEAN ALGEBRA

211: Computer Architecture Summer 2016

CHAPTER 12 Boolean Algebra

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

CSC9R6 Computer Design. Practical Digital Logic

Standard Expression Forms

Transcription:

Chapter 2 (Lect 2) Canonical and Standard Forms Sum of Minterms Product of Maxterms Standard Form Sum of products Product of sums Other Logic Operators Logic Gates Basic and Multiple Inputs Positive and Negative Logic Integrated Circuits

Sum of minterms: from truth table 1. Indentify minterms that equate to 1 2. OR them together to form Boolean expression x y z F Minterm Designation 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 0 F = F(x.y,x) =

Sum of minterms: from function In canonical form each minterm contains all variables, primed or unprimed 1. Expand into a sum of AND terms 2. Treat each term separately and add in missing terms by ANDing with (x + x ) = 1 3. Recombine remove duplicates F = A + B C Or create a truth table

Product of maxterms: from truth table 1. Identify maxterms that evaluate to 0 2. AND them together to form Boolean expression x y z F Maxterm Designation 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 0 1 0 1 1 0 1 1 1 1 0 F = F(x.y,x) =

Product of maxterms: from function In canonical form each maxterm contains all variables, primed or unprimed 1. Expand into ANDed -ORed terms using x + yz = (x + y)(x + z) repeatedly 2. Treat each term separately, and add in missing terms by ORing (xx ) = 0 3. Recombine remove duplicates F = AB + B C Or create a truth table

Conversion Between Canonical Forms 1. Interchange the symbols and 2. List missing numbers in parenthesizes 3. This is the other canonical form F (x, y, z)= (m 0, m 2,m 4,m 7 ) F = x + yz

Does SOP and POS produce the same result? x y F Minterm Maxterm 0 0 0 0 1 1 1 0 1 1 1 0

Canonical form: Sum of minterms F = xyz + x yz + xyz Standard form: Sum-of-products SOP F = yz + xy Canonical form: Product of maxterms F = (x + y + z)(x + y + z ) Standard form: Products-of-sums POS F = x(x + y )(y + z) Non-Standard form F = x+x(y + z)

Creating circuit from expression F = x y + xy Make note AND-OR implementation F = (x + y ) (x + y) Make note OR-AND implementation

Most used Boolean functions and Operators Function F = x (From Table 2.8) Operator Symbol Name/Comments Transfer, buffer F = x x Complement, not x F = xy x y AND, x and y F = (xy) x y NAND, not AND F = x+y x+y OR, x or y F = (x+y) x y NOR, not OR F = xy + x y x y Exclusive OR, x or y not both F = xy + x y (x y) XNOR, x = y

Logic Gates Buffer F = x x F 0 0 1 1 Inverter F = x x F 0 1 1 0

Logic Gates AND F = xy x y F 0 0 0 0 1 0 1 0 0 1 1 1 OR F = x + y x y F 0 0 0 0 1 1 1 0 1 1 1 1

NAND F = (xy) = x y x y F 0 0 1 0 1 1 1 0 1 1 1 0 NOR F = (x + y) = x y x y F 0 0 1 0 1 0 1 0 0 1 1 0

XOR F = xy + x y = x y x y F 0 0 0 0 1 1 1 0 1 1 1 0 XNOR F = xy + x y = (x y)' x y F 0 0 1 0 1 0 1 0 0 1 1 1

Extension to Multiple inputs (more than two) Must satisfy Commutative and Associative laws AND and OR gates no problem NOR and NANDs ok if we use (OR).. (x + y + z) (AND). (xyz) Example1

Works for XOR, with modified definition, But uncommon in hardware implementation x T1 x y z T1 F1 T2 F2 y 0 0 0 z F1 0 0 1 0 1 0 0 1 1 x y T2 1 0 0 1 0 1 1 1 0 z F2 1 1 1

Positive and Negative Logic (The meaning of High and Low) 1 Signal High x y F 0 0 0 0 Signal Low 0 1 0 1 0 0 Positive Logic 1 1 1 0 Signal High x y F 1 1 1 1 0 1 1 Negative Logic Signal Low 0 1 1 0 0 0 Note signals are not defined as positive or negative but as high and low values Convert from positive to negative logic 0 becomes 1 and 1 becomes 0 = new gate behavior Book uses positive logic

Integrated Circuits Logic gates are available as integrated circuits IC or chips. Each IC gas a number printed on it Identifying its function. Vendors provide data sheets that identify the pin configurations and IC characteristics. Texas Instruments Levels of integration complexity and density of gates in single package Small-scale integration (SSI): Fewer than 10 gates, limited by number of pins on IC package Medium-scale integration (MSI): Typically 10 to 1000 gates, elementary digital operations, such as decoders, adders, counters. Large-scale integration (LSI): Contain thousands of gates, digital systems such as processors, memory chips, programmable logic.. Very large-scale integration (VLSI): Contain hundreds of thousands of gates, computer systems, large scale memory arrays, microcomputer chips.

What you should know 1. Be able to generate expressions for Sum of Products and Products of Sums, and draw circuit 2. Boolean operations 3. Convert between Canonical forms 4. The 8 listed gates, schematic symbols, and truth tables 5. The difference between positive and negative logic 6. Be familiar with levels of integration and common characteristics listed in manufactures data sheets.