Good Review book ( ) ( ) ( )

Similar documents
Control with binary code. William Sandqvist

Boolean Algebra. Boolean Algebras

Overview of Today s Lecture:

Here we study square linear systems and properties of their coefficient matrices as they relate to the solution set of the linear system.

MATH STUDENT BOOK. 10th Grade Unit 5

Lesson 1: Quadratic Equations

SUMMER KNOWHOW STUDY AND LEARNING CENTRE

Linearly Similar Polynomials

ARITHMETIC OPERATIONS. The real numbers have the following properties: a b c ab ac

HW3, Math 307. CSUF. Spring 2007.

The Fundamental Theorem of Calculus. The Total Change Theorem and the Area Under a Curve.

Mathcad Lecture #1 In-class Worksheet Mathcad Basics

4 7x =250; 5 3x =500; Read section 3.3, 3.4 Announcements: Bell Ringer: Use your calculator to solve

Read section 3.3, 3.4 Announcements:

5.2 Exponent Properties Involving Quotients

MATHEMATICS AND STATISTICS 1.2

Handout: Natural deduction for first order logic

MORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

7.2 The Definite Integral

Boolean Algebra. Boolean Algebra

Summary: Method of Separation of Variables

CH 9 INTRO TO EQUATIONS

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

Review Factoring Polynomials:

Logarithms. Logarithm is another word for an index or power. POWER. 2 is the power to which the base 10 must be raised to give 100.

Infinite Geometric Series

CHAPTER 2 BOOLEAN ALGEBRA

Operations with Polynomials

REVIEW Chapter 1 The Real Number System

Duality # Second iteration for HW problem. Recall our LP example problem we have been working on, in equality form, is given below.

Math 4310 Solutions to homework 1 Due 9/1/16

MATH FIELD DAY Contestants Insructions Team Essay. 1. Your team has forty minutes to answer this set of questions.

A-Level Mathematics Transition Task (compulsory for all maths students and all further maths student)

Chapter 2 Combinational Logic Circuits

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

Basic Derivative Properties

Boolean algebra.

How do you know you have SLE?

Fast Boolean Algebra

20 MATHEMATICS POLYNOMIALS

Math 3B Final Review

CHAPTER 3 BOOLEAN ALGEBRA

Identify graphs of linear inequalities on a number line.

Operations with Matrices

2008 Mathematical Methods (CAS) GA 3: Examination 2

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

UNIT-4. File downloaded from For the things of this world cannot be made known without a knowledge of mathematics.

Chapter 1: Fundamentals

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Linear Algebra 1A - solutions of ex.4

Exponentials - Grade 10 [CAPS] *

THE DISCRIMINANT & ITS APPLICATIONS

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

COMPUTER SCIENCE TRIPOS

UNIT 5 KARNAUGH MAPS Spring 2011

Introduction To Matrices MCV 4UI Assignment #1

What else can you do?

Math 130 Midterm Review

CS 330 Formal Methods and Models

SOLUTIONS FOR ADMISSIONS TEST IN MATHEMATICS, COMPUTER SCIENCE AND JOINT SCHOOLS WEDNESDAY 5 NOVEMBER 2014

Equations and Inequalities

IST 4 Information and Logic

Chapter 0. What is the Lebesgue integral about?

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

a a a a a a a a a a a a a a a a a a a a a a a a In this section, we introduce a general formula for computing determinants.

Section 3.1: Exponent Properties

Reversing the Chain Rule. As we have seen from the Second Fundamental Theorem ( 4.3), the easiest way to evaluate an integral b

Combinational Logic. Precedence. Quick Quiz 25/9/12. Schematics à Boolean Expression. 3 Representations of Logic Functions. Dr. Hayden So.

DIRECT CURRENT CIRCUITS

Boolean Algebra. Boolean Variables, Functions. NOT operation. AND operation. AND operation (cont). OR operation

Section 6.1 INTRO to LAPLACE TRANSFORMS

Dually quasi-de Morgan Stone semi-heyting algebras II. Regularity

CS12N: The Coming Revolution in Computer Architecture Laboratory 2 Preparation

Pre-Session Review. Part 1: Basic Algebra; Linear Functions and Graphs

We know that if f is a continuous nonnegative function on the interval [a, b], then b

HQPD - ALGEBRA I TEST Record your answers on the answer sheet.

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

Section 3.2: Negative Exponents

ECE 238L Boolean Algebra - Part I

Unit 1 Exponentials and Logarithms

ECON 331 Lecture Notes: Ch 4 and Ch 5

The graphs of Rational Functions

N 0 completions on partial matrices

An Introduction to Trigonometry

fractions Let s Learn to

In this skill we review equations that involve percents. review the meaning of proportion.

7.5 Integrals Involving Inverse Trig Functions

State space systems analysis (continued) Stability. A. Definitions A system is said to be Asymptotically Stable (AS) when it satisfies

df dt f () b f () a dt

Boolean Algebra & Logic Gates. By : Ali Mustafa

f(x) dx, If one of these two conditions is not met, we call the integral improper. Our usual definition for the value for the definite integral

Anonymous Math 361: Homework 5. x i = 1 (1 u i )

1 ELEMENTARY ALGEBRA and GEOMETRY READINESS DIAGNOSTIC TEST PRACTICE

set is not closed under matrix [ multiplication, ] and does not form a group.

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

Chapter 2. Determinants

Chapter 2 Combinational Logic Circuits

Riemann Sums and Riemann Integrals

Introduction to Electrical & Electronic Engineering ENGG1203

Transcription:

7/31/2011 34 Boolen (Switching) Algebr Review Good Review book BeBop to the Boolen Boogie: An Unconventionl Guide to Electronics, 2 nd ed. by Clive Mxwell Hightext Publictions Inc. from Amzon.com for pprox. $27.14 ISBN 0750675438 Theorems nd Postultes + 0= 0 = 0 = ( ) ( ) + bc = + b + c + = 1 = 0 + = = + 1= 1 1 = ( ) + b = + b = + b = + b + b = ( ) b ( ) ( ) ( ) ( + ) = ( + ) ( + c) b + b = + b + b = b + bc = b + c + b + b c b + b= b b = + b b + c + bc = b + c + ( b) ( + c) ( b + c) = ( + b) ( + c) The bove tble is vilble for downlod in printble version from my homepge! While you re t it, print out the No. of 1's document which you will need for the Quine-McCluskey topics lter. In our review of Boolen Algebr, I ll be minly teching by exmple nd will be using the Theorems nd Postultes shown bove. A certin level of lgebr experience is ssumed, so the first six rows of rules re not going to be introduced.

7/31/2011 35 Boolen Exmple 1 (Truth tble): Problem Sttement: Use Truth tble to Prove : f (, ) b = + b = + b b b + b = + b 0 0 1 0 0 = 0 0 1 1 1 1 = 1 1 0 0 0 1 = 1 1 1 0 0 1 = 1 QE.. D.( Thus it is proven) Boolen Exmple 2 Problem Sttement Simplify the following switching function using: A + AB = A f (,b,c) b + = + b + c = + b + c = + c = = m - no gtes 1 level circuit - A WIR E! ( 4,5,6, 7 ) = M( 0,1,2, 3)

7/31/2011 36 This problem cn be solved nother wy. Boolen Exmple 3 Problem Sttement: Simplify the problem from the lst exmple by fctoring 1 st. f (,b,c ) = b+ + b+ c = + + + x+ 1= 1 b 1 b c = ns Note tht the result for both exmples is the sme. Boolen Exmple 4 Problem Sttement: Simplify the following switching expression. (, b, c) Simplify f = c + bc fctor out the c = c ( + b ) ( b) = c + = c + bc ns

7/31/2011 37 MultiSIM Exmple 2-1 Problem Sttement: Use MultiSIMs Logic Converter to verify the results from the circuit shown. Once the circuit hs been built, connect the inputs nd output to the Logic Converter. Be creful to insure tht the inputs re connected with the MSB on the frthest input to the left. The input t the fr right end is where the circuit output is connected. This device is only used with circuits which only hve single output. Once the circuit is connected, select the Circuit to Tble button (see bove right). As cn be seen, the resulting tble mtches the tble on the previous pge.

7/31/2011 38 Boolen Exmple 5 Problem Sttement: Prove tht the following Theorem is true: ( ) ( ) ( ) ( ) ( ) f X,Y,Z = X + Y X + Z = X + YZ X + Y X + Z = X + YZ XX + XZ + XY + YZ = X + YZ X X + XZ + XY + YZ = X + YZ X X + XY X + YZ = X + YZ X + YZ = X + YZ Boolen Exmple 6 Problem Sttement: Simplify f( x, y,z) = m( 0, 3, 4,5, 7) ( x, y, z) f = x y z + xyz + xy z + xyz + xyz = xyz + x y z + xy z + xyz + xyz = xyz + (x + x) y z + x (y + y) z (+ = 1) (+ = 1) = xyz + y z + xz = yz + xz + xyz b b c (b+ bc = b+ c) = yz+ xz + yz reorder ns

7/31/2011 39 Note the second to lst line of the lst exmple. = yz+ x z + xyz b b c theorem (b + bc = b + c) = y z + xz + yz An ttempt hs been mde to show how tht prt of the expression mtches one of the theorems. Note how the (x) hs been ssigned to (b) in the theorem nd the ( X ) hs been ssigned to the ( b ) in the theorem. Let s tke look t how this ssignment might chnge if the problem chnged slightly: All tht hppened ws the (x) nd the ( X ) trded plces. Note tht the ssignment of (b) in the theorem is now mde to the ( X ) vice the (x) nd note the chnge in the nswer. The student might be tempted to ssign the ( b ) from the theorem to the ( X ), but this would be wrong. = y z + x z+ x yz b b c theorem ( b + bc = b + c ) = y z + x z + yz

7/31/2011 40 The following is n exmple of how n SOP (Sum of Products) expression cn be converted into n expression which would only require NAND gtes to implement by using De Morgn s Theorem. Boolen Exmple 7 (NAND ONLY LOGIC) Problem Sttement: Implement f( x, y,z) = y z + xz + yz in NAND only logic. st 1, double negte both sides of the eqution. We know tht = so if we double negte both sides, the expression will remin UNCHANGED! f(x, y,z) = y z + xz + yz Once this hs been done, perform DeMorgn's on the bottom negtion, only pplying the theorem to the signs of the expresssion ( y z) ( xz) ( yz) = the resulting expression cn be inplemented by using ONLY NAND gtes. ANSWER

7/31/2011 41 The designer cn use the sme technique to implement POS (Product of Sums) expression s NOR only circuit. Boolen Exmple 8 (NOR ONLY LOGIC) Problem Sttement: Implement the following expression in NOR only logic. f( x, y,z) (x y + z)( y ( x, y, z) = + + = f (x + y + z)(y + z) As before, only pply De'Morgn's to the bottom negtion nd then only to the signs in the expression. z) = (x + y + z) + (y + z) As noted erlier, the min-term list cn esily be converted into n lgebric SOP expression. If POS expression is desired, express the min-term list s mx-term list. Then the simplifiction cn be crried out. Boolen Exmple 9 Problem Sttement: Implement nd simplify the following expression in POS formt. f ( x, y, z) = m(0,3, 4,5,7) = M(1, 2, 6) = ( x + y + z)( x + y + z)( x + y + z) b b ( + b)( + b) = = ( x + y + z)( y + z) Answer This exmple lso shows simplifiction technique which cn be very helpful. Note tht the exmple equtes + y z to the in the theorem ( ) ( ) + b + b =.

7/31/2011 42 MultiSIM Exmple 2-2 Problem Sttement: Use MultiSIMs Logic Converter to verify the proof: Prove : f (, b) = + b = + b Open the Logic Converter nd select the two bits to the left s shown bove. Then type the eqution in the entry re t the bottom of the device. Use ( ) when negtion is required (see bove right). Once the eqution is complete, select the A B Tble button. The resulting tble is shown below:

7/31/2011 43 Boolen Exmple 1 0 Problem Sttement: Find the miniml POS Boolen Expression f ( xyz,, ) = ( x + z) ( x + y) ( x + y + z) ( x + y + z) reorder nd pply two different theorems x y x y z b = + + + ( + b) = x + z x y z + + b b c ( + b) + b+ c = ( + b)( + c) = ( x + y) ( x + z) ( y + z )

7/31/2011 44 MultiSIM Exmple 2-3 Problem Sttement: Use MultiSIM s Logic Converter to verify the simplifiction from the previous exmple. In order to progrm this exmple into MultiSIM you first need to convert the (x, y, z) switching list into n (A, B, C) switching list.? ( xyz,, ) = ( + ) ( + ) ( + + ) ( + + ) = ( x + y) ( x + z) ( y + z) f x z x y x y z x y z? ( ABC,, ) ( ) ( ) + = ( ) f = A+ C A+ B A+ B + C A+ B C A+ B A+ C B + C Next, open the Logic Converter, select the A, B, nd C columns in the tble nd progrm the eqution into the entry box. Don t forget to use the ( ) s the negtion symbol. Once you progrm the eqution into the converter, select the A B Tble button. The result cn be seen in the figure bove. simple Finlly, select the " Tble A B " button. The simplified eqution will pper in the eqution entry re s shown below. Note tht the result is s predicted.

7/31/2011 45 Boolen Exmple 1 1 Problem Sttement: Simplify the following expression: (,,, ) = ( ) ( ) + ( ) ( ) f A B C D AC AD CD BD A C A D C D B D C A D B = + + + + + ( A C) ( A D) ( C D) ( B D) = + + + + + = AA + A D + AC + CD + BC + C D + BD + DD 0 0 = AD+ AC + CD + C D + BC + BD remember D ( C + C) 1 tht ny vrible AND'd with "1" is equl to tht vrible, so D = A D + AC + B C + B D + D b + b = + b B + D = A D + AC + BC + B + D = + + AC + + ( 1 ) reorder.... A D D B C B b b + b = = + b = = = D D B = D + B + AC nswer Implement s NAND only expression = D + B + AC = ( D) ( B) ( AC) ( D) ( B) ( AC) = nswer

7/31/2011 46 MultSIM Exmple 2-4 Problem Sttement: Verify the simplifiction in the previous exmple using Multisim.