4.1 Conversion of English Sentences to Boolean Equations

Slides:



Advertisements
Similar presentations
Modular Combinational Logic
Advertisements

Combinational Circuits
Combinational Circuits
Functions and Functional Blocks
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
Combinational Circuits. Analysis Diagram Designing Combinational Circuits In general we have to do following steps: 1. Problem description 2. Input/output.
Morgan Kaufmann Publishers
ECE 301 – Digital Electronics Minterm and Maxterm Expansions and Incompletely Specified Functions (Lecture #6) The slides included herein were taken from.
ECE 331 – Digital System Design
1 CK Cheng CSE Dept. UC San Diego CS 140, Lecture 2 Combinational Logic.
CK Cheng Tuesday 10/2/02 CS 140 Lecture 2. Part I. Combinational Logic I) Specification –a. Language –b. Truth Table –c. Boolean Algebra –d. Incompletely.
Section 10.3 Logic Gates.
Contemporary Logic Design Two-Level Logic © R.H. Katz Transparency No. 3-1 Chapter #2: Two-Level Combinational Logic Section 2.1, Logic Functions.
Lecture 1: Introduction to Digital Logic Design CK Cheng Tuesday 4/1/02.
Canonical Forms and Logic Miniminization
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
CS 105 Digital Logic Design
Chapter 2: Boolean Algebra and Logic Functions
Chapter 2 Combinational Systems And / Or / Not. TRIAD PRINCIPLE: Combinational is about And / Or / Not combinations As well as equivalent functions. It.
Combinational Logic Design
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
1 COMBINATIONAL LOGIC One or more digital signal inputs One or more digital signal outputs Outputs are only functions of current input values (ideal) plus.
Dr. Ahmed El-Bialy, Dr. Sahar Fawzy Combinational Circuits Dr. Ahmed El-Bialy Dr. Sahar Fawzy.
طراحی مدارهای منطقی نیمسال دوم دانشگاه آزاد اسلامی واحد پرند.
Combinational Design ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
©2004 Brooks/Cole FIGURES FOR CHAPTER 4 APPLICATIONS OF BOOLEAN ALGEBRA MINTERM AND MAXTERM EXPANSIONS Click the mouse to move to the next page. Use the.
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.
Unit IV Fundamentals of Logic Design by Roth and Kinney.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
Chapter 2 Two- Level Combinational Logic. Chapter Overview Logic Functions and Switches Not, AND, OR, NAND, NOR, XOR, XNOR Gate Logic Laws and Theorems.
CHAPTER 3: PRINCIPLES OF COMBINATIONAL LOGIC
1 Minterm and Maxterm Expressions Definition: a minterm of n variables is a product of the variables in which each appears exactly once in true or complemented.
05 BA2 Page 1 ECEn/CS 224 Boolean Algebra – Part 2.
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.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
CHAPTER 1 SETS, FUNCTIONs, ELEMENTARY LOGIC & BOOLEAN ALGEBRAs
Module –I Switching Function
Logic Design CS221 1 st Term combinational circuits Cairo University Faculty of Computers and Information.
CEC 220 Digital Circuit Design
Chapter 2 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Combinational Systems.
Digital Design Module 2 Decoder Amit Kumar AP SCSE, GU Greater Noida.
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.
CEC 220 Digital Circuit Design Minterms and Maxterms Monday, January 26 CEC 220 Digital Circuit Design Slide 1 of 11.
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 12. Chapter Summary Boolean Functions Representing Boolean Functions Logic Gates Minimization of Circuits (not currently included in overheads)
Lecture 3: Incompletely Specified Functions and K Maps
Lecture 4 Logistics Last lecture --- Boolean algebra Today’s lecture
De Morgan’s Theorem,.
Chapter 2: Boolean Algebra and Logic Functions
ECE 2110: Introduction to Digital Systems
CHAPTER 3 SETS AND BOOLEAN ALGEBRA
Boolean Expressions Lecture No. 10.
Computer Architecture CST 250
Karnaugh Maps (K-Maps)
CSE 311 Foundations of Computing I
Lecture 3: Incompletely Specified Functions and K Maps
CSE 370 – Winter Combinational Logic - 1
ELL100: INTRODUCTION TO ELECTRICAL ENGG.
Chapter 2 Introduction to Logic Circuits
Lecture 4 Minterm and Maxterm
XOR Function Logic Symbol  Description  Truth Table 
Half & Full Subtractor Half Subtractor Full Subtractor.
Half & Full Subtractor Half Subtractor Full Subtractor.
More Example.
Presentation transcript:

CHAPTER 4 Applications of Boolean Algebra/ Minterm and Maxterm Expansions 4.1 Conversion of English Sentences to Boolean Equations 4.2 Combinational Logic Design Using a Truth Table 4.3 Minterm and Maxterm Expansions 4.4 General Minterm and Maxterm Expansions 4.5 Incompletely Specified Functions 4.6 Examples of Truth Table Construction 4.7 Design of Binary Adders and Subtracters

Objective Conversion of English Sentences to Boolean Equations Combinational Logic Design Using a Truth Table Minterm and Maxterm Expansions General Minterm and Maxterm Expansions Incompletely Specified Functions (Don’t care term) Examples of Truth Table Construction Design of Binary Adders(Full adder) and Subtracters

4.1 Conversion of English Sentences to Boolean Equations - Steps in designing a single-output combinational switching circuit Find switching function which specifies the desired behavior of the circuit Find a simplified algebraic expression for the function Realize the simplified function using available logic elements 1. F is ‘true’ if A and B are both ‘true’  F=AB

4.1 Conversion of English Sentences to Boolean Equations 1. The alarm will ring(Z) iff the alarm switch is turned on(A) and the door is not closed(B’), or it is after 6PM(C) and window is not closed(D’) 2. Boolean Equation 3. Circuit realization

4.2 Combinational Logic Design Using a Truth Table - Combinational Circuit with Truth Table When expression for f=1 

4.2 Combinational Logic Design Using a Truth Table Original equation  Simplified equation  Circuit realization 

4.2 Combinational Logic Design Using a Truth Table - Combinational Circuit with Truth Table When expression for f=0  When expression for f ’=1  and take the complement of f ‘

4.3 Minterm and Maxterm Expansions - literal is a variable or its complement (e.g. A, A’) - Minterm, Maxterm for three variables

4.3 Minterm and Maxterm Expansions - Minterm of n variables is a product of n literals in which each variable appears exactly once in either true (A) or complemented form(A’), but not both. ( m0) -Minterm expansion, -Standard Sum of Product 

4.3 Minterm and Maxterm Expansions - Maxterm of n variables is a sum of n literals in which each variable appears exactly once in either true (A) or complemented form(A’) , but not both.( M0) - Maxterm expansion, - Standard Product of Sum 

4.3 Minterm and Maxterm Expansions - Minterm and Maxterm expansions are complement each other

4.4 General Minterm and Maxterm Expansions Minterm expansion for general function ai =1, minterm mi is present ai =0, minterm mi is not present Maxterm expansion for general function General truth table for 3 variables ai is either ‘0’ or ‘1’ ai =1, ai + Mi =1 , Maxterm Mi is not present ai =0, Maxterm is present

4.4 General Minterm and Maxterm Expansions  All minterm which are not present in F are present in F ‘  All maxterm which are not present in F are present in F ‘

4.4 General Minterm and Maxterm Expansions If i and j are different, mi mj = 0 Example

Conversion between minterm and maxterm expansions of F and F’ Example

4.5 Incompletely Specified Functions Truth Table with Don’t Cares If N1 output does not generate all possible combination of A,B,C, the output of N2(F) has ‘don’t care’ values.

4.5 Incompletely Specified Functions Finding Function: Case 1: assign ‘0’ on X’s Case 2: assign ‘1’ to the first X and ‘0’ to the second ‘X’ Case 3: assign ‘1’ on X’s  The case 2 leads to the simplest function

4.5 Incompletely Specified Functions Minterm expansion for incompletely specified function Don’t Cares Maxterm expansion for incompletely specified function

4.6 Examples of Truth Table Construction Example 1 : Binary Adder A B X Y a b Sum 0 0 0 0 0+0=0 0 1 0 1 0+1=1 1 0 1+0=1 1 1 1 0 1+1=2 0 0 0 0 0 1 0 1 0 0 1 1 1 1 0

4.7 Design of Binary Adders and Subtracters Parallel Adder for 4 bit Binary Numbers Parallel adder composed of four full adders  Carry Ripple Adder (slow!)

4.7 Design of Binary Adders and Subtracters Truth Table for a Full Adder

4.7 Design of Binary Adders and Subtracters

When 1’s complement is used, the end-around carry is accomplished by connecting C4 to C0 input. Overflow(V) when adding two signed binary number

Subtracters Binary Subtracter using full adder - Subtraction is done by adding the 2’s complemented number to be subtracted 2’s compleneted number

Subtracters- using Full Subtracter b n+1 d n d i d 2 d 1 x n y n x 3 y 3 x 2 y 2 x 1 y 1 b n b i+1 b i b 2 b 1=0 b 3 xi yi bi bi+1 di 0 0 0 0 0 0 0 1 1 1 0 1 0 1 1 0 1 1 1 0 0 0 0 1 1 0 1 0 0 1 0 0 0 1 1 1 1 1 Truth Table for a Full Subtracter