Physics 343 Advanced Electronics Engineering 343 Digital Systems Electronics Courses.

Slides:



Advertisements
Similar presentations
Boolean Algebra and Logic Gates
Advertisements

Prof. Sin-Min Lee Department of Computer Science
Combinational Logic Circuits Chapter 2 Mano and Kime.
Logical Systems Synthesis.
Chapter 2 Logic Circuits.
Prof. YingLi Tian Sept. 10, 2012 Department of Electrical Engineering The City College of New York The City University of New York (CUNY) Lecture 4: Implementation.
CS 151 Digital Systems Design Lecture 6 More Boolean Algebra A B.
1 COMP541 Combinational Logic Montek Singh Jan 16, 2007.
COMBINATIONAL LOGIC CIRCUITS C.L. x1 x2 xn Z Z = F (x1, x2, ……., Xn) F is a Binary Logic (BOOLEAN ) Function Knowing F Allows Straight Forward Direct Implementation.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
CSCE 211: Digital Logic Design
Combinational Digital Circuits. Measurement Our world is an analog world. Measurements that we make of the physical objects around us are never in discrete.
Digital Logic Design Adil Waheed. BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION AND gate F = A.B OR gate F = A + B NOT gate F = A NAND gate F = A.B NOR gate.
Chapter 2: Boolean Algebra and Logic Functions
Logic Design CS221 1 st Term Boolean Algebra Cairo University Faculty of Computers and Information.
Chapter 2 Combinational Systems And / Or / Not. TRIAD PRINCIPLE: Combinational is about And / Or / Not combinations As well as equivalent functions. It.
Switching functions The postulates and sets of Boolean logic are presented in generic terms without the elements of K being specified In EE we need to.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
ECE 331 – Digital System Design
2 - 1 Chapter 2 Combinational Systems Chapter 2 Combinational Systems 2.1 The Design Process for Combinational Systems  Continuing Example(CE)
 Seattle Pacific University EE Logic System DesignSOP-POS-1 The Connection: Truth Tables to Functions abcF abcF
F = ∑m(1,4,5,6,7) F = A’B’C+ (AB’C’+AB’C) + (ABC’+ABC) Use X’ + X = 1.
Combinational Logic 1.
Ahmad Almulhem, KFUPM 2009 COE 202: Digital Logic Design Combinational Logic Part 2 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
Venn Diagram – the visual aid in verifying theorems and properties 1 E.
1 EG 32 Digital Electronics Thought for the day You learn from your mistakes..... So make as many as you can and you will eventually know everything.
Digital Logic Design Week 4 Boolean algebra. Laws and rules De Morgan’s theorem Analysis of logic circuits Standard forms Project 1 preparation.
Chap 2. Combinational Logic Circuits
ES 244: Digital Logic Design Chapter 2 Chapter 2: Combinational Systems Adapted from Alan Marcovitz’s Introduction to Logic and Computer Design Uchechukwu.
ENGIN112 L6: More Boolean Algebra September 15, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 6 More Boolean Algebra A B.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
1 Lect # 2 Boolean Algebra and Logic Gates Boolean algebra defines rules for manipulating symbolic binary logic expressions. –a symbolic binary logic expression.
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC
Chapter 2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Combinational Systems.
Review. Boolean Algebra.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Standard & Canonical Forms COE 202 Digital Logic Design Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
DE MORGAN’S THEOREM. De Morgan’s Theorem De Morgan’s Theorem.
1 CS 352 Introduction to Logic Design Lecture 2 Ahmed Ezzat Boolean Algebra and Its Applications Ch-3 + Ch-4.
©2010 Cengage Learning SLIDES FOR CHAPTER 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use.
UNIT 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use the ESC key to exit this chapter. This.
CHAPTER 2 Boolean algebra and Logic gates
Speaker: Fuw-Yi Yang 楊伏夷 伏夷非征番, 道德經 察政章(Chapter 58) 伏者潛藏也
Combinational Circuits Part 1
CHAPTER 3 Simplification of Boolean Functions
Table 2.1 Postulates and Theorems of Boolean Algebra
Logic Gates and Logic Circuits
Logic Gates and Boolean Algebra
De Morgan’s Theorem,.
Chapter 2 Combinational Systems
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra
Princess Sumaya University
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
ECE 331 – Digital System Design
Lecture 4 Sums of Product Circuits Simplification
Boolean Algebra.
Instructor: Alexander Stoytchev
Combinatorial Logic Circuit
Table 2.1 Postulates and Theorems of Boolean Algebra
Digital Logic Chapter-2
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Logic Chapter-2
Chapter 5 Combinational Logic Analysis
Combinational Logic Circuit
Presentation transcript:

Physics 343 Advanced Electronics Engineering 343 Digital Systems Electronics Courses

Chapter 2 Switching Algebra and Logic Circuits

7400 Datasheet

Logic Gates Circuit Symbols Truth Table Boolean Expression Daisy Chain Multiple Inputs

Figure 2.1 Symbols for OR and AND gates. Figure 2.3 A NOT gate.

Figure 2.2 AND gate implementation of Property 2b.

OR (written as +) 1 a + b (read a OR b) is 1 if and only if a = 1 or b = 1 or both AND (written as  or simply two variables concatenated) a  b = ab (read a AND b) is 1 if and only if a = 1 and b = 1. NOT (written) a (read NOT a) is 1 if and only if a = 0

A water sprinkler should turn on between 4am and 5am in the morning only when a rain sensor indicates that it has not rained in the last 48 hours. T = 1 if the time is between 4am and 5am R = 1 if it has rained in the last 48 hours Create a truth table and design a circuit that would perform this task.

The Book Inside the cover…

Boolean Theorems aa = ? a1 = ? a0 = ? aa’ = ? a’’ = ? a(b + c) = ?

Boolean Theorems a + a = ? a + 1 = ? a + 0 = ? a + a’ = ?

Proof Proof of theorem P8b.

De Morgan’s Theorems (AB)’ = ? (A + B) = ? Exclusive Or A + B = ? (A + B)’ = ?

DEFINITIONS Example: f = a’b’c + acd + a’b’c’d A literal is the appearance of a variable or its complement. A product term is one or more literals connected by AND operators. A standard product term, also minterm is a product term that includes each variable of the problem, either uncomplemented or complemented. A sum of products expression (often abbreviated SOP) is one or more product terms connected by OR operators.

A minimum sum of products expression is one of those SOP expressions for a function that has the fewest number of product terms. If there is more than one expression with the fewest number of terms, then minimum is defined as one or more of those expressions with the fewest number of literals. (1)xyz + xyz + xyz + xyz + xyz5 terms, 15 literals (2)xy + xy + xyz3 terms, 7 literals (3) xy + xy + xz3 terms, 6 literals (4) xy + xy + yz3 terms, 6 literals

DEFINITIONS Example: f = (a’+b’+c)(a+c+d)(a’+b’+c’+d) A sum term is one or more literals connected by OR operators. A standard sum term, also called a maxterm, is a sum term that includes each variable of the problem, either uncomplemented or complemented. A product of sums expression (POS) is one or more sum terms connected by AND operators.

Announcements The 12:30pm lab should first go to the Linc Lab on the 1 st floor of the library on 2/3/2015. The 4:00pm lab should first go to the Info Lab 1 on the 2 nd floor of the library on 2/3/2015. After you pick up your tablet from the library at the times above, then you go to room 315 of the science building to begin lab.

Announcements Work in groups of 2 in lab. All 27 students in the first lab section can begin lab at 12:30pm. Bring your book and lab handout to lab on Tuesday. The due date for Homework 2 has been moved to Thursday, February, 5 th.

Chapter 2 Problems Homework 2 (Page 100) Problems 2(f), 3(a), etc.

Figure 2.5 Minimum sum of product implementation of f. Figure 2.6 Circuit with only uncomplemented inputs.

Digital Logic Design Construct a circuit that will add two 2- digit binary numbers together (A 1 A 0 and B 1 B 0 ) and display the result as a binary number (Z 3 Z 2 Z 1 Z 0 ). The input numbers A 1 A 0 and B 1 B 0 can be handled with four data switches and the output Z 3 Z 2 Z 1 Z 0 can be displayed using four LED’s.

f is 1ifa=0 ANDb=1OR ifa= 1 ANDb=0OR ifa=1 ANDb=1 f is 1ifa=1 ANDb=1OR ifa= 1 ANDb=1OR ifa=1 ANDb=1 f is 1if ab = 1 OR if ab = 1 OR if ab = 1 f = ab + ab + ab

P11a.(a + b) = ab P11b.(ab) = a + b

Figure 2.9 NAND gates. Figure 2.10 Alternate symbol for NAND. Figure 2.11 Symbols for NOR gate.

Figure 2.13 NAND gate implementation.

= ab + ab Figure 2.17 An Exclusive OR gate.

For any two product terms where exactly one variable appears uncomplemented in one and complemented in the other, the consensus is defined as the product of the remaining literals. If no such variable exists or if more than one such variable exists, then the consensus is undefined. If we write one term as at 1 and the second as at 2 (where t 1 and t 2 represent product terms), then, if the consensus is defined. at 1 ¢ at 2 = t 1 t 2 P13a. at 1 + at 2 + t 1 t 2 = at 1 + at 2 P13b. (a + t 1 )(a + t 2 )(t 1 + t 2 )= (a + t 1 )(a + t 2 )

G = DE + ABC + CDE + ABCE G = C (AB + ABE) + DE + CDE G = C (B + AE)(B + A) + DE + CDE G = (C + D E)[C + (B + AE)(B + A)] + DE

Counting Binary DecimalHexadecimal To the chalk board...

More Examples Convert to binary and hexadecimal and octal. Convert to decimal an octal. Convert to binary. Convert to binary.

Exercises Add these binary numbers: What 2 kinds of logic gates are needed for computer addition?

Desire2Learn Course Home Page

Chapter 2 Switching Algebra and Logic Circuits Remember to bring your book to class on Tuesday for Lab. Remember Homework 1 & 2.