Truth Tables & Logic Expressions

Slides:



Advertisements
Similar presentations
Truth Tables & Logic Expressions
Advertisements

Using Digital Logic and Technology in the 21st Century Classroom Presenters Tony White – Technology & Engineering Teacher at.
AOI Logic Implementation © 2014 Project Lead The Way, Inc.Digital Electronics.
Combinational Digital Circuits. Measurement Our world is an analog world. Measurements that we make of the physical objects around us are never in discrete.
AOI Logic Implementation
Constructing A Truth Table XYZF1F InputsOutput Input Combinations 3 – Inputs 8 – Combinations (8 = 2 3 ) Note the binary counting order.
Combinational Design ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Digital Systems I EEC 180A Lecture 4 Bevan M. Baas.
AOI Logic Implementation
LOGIC GATES.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
©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.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Binary Number System And Conversion
Universal Gate – NOR Universal Gate - NOR Digital Electronics
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Truth Tables & Logic Expressions
Computer Science 210 Computer Organization
The Binary Number System and Conversions
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Chapter 2.3 Binary Logic.
Binary Number System And Conversion
Binary Number System And Conversion
Computer Architecture CST 250
XOR, XNOR, and Binary Adders
Instructor: Alexander Stoytchev
Digital Logic and Design
Binary Number System And Conversion
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Universal Gate – NOR Universal Gate - NOR Digital Electronics
The Binary Number System and Conversions
Date of Birth Design Problem
Instructor: Alexander Stoytchev
Combinational Logic Design Process
Instructor: Alexander Stoytchev
Boolean Algebra Digital Electronics
Karnaugh Mapping Karnaugh Mapping Digital Electronics
Circuit Simplification: Boolean Algebra
XOR, XNOR, & Binary Adders
Karnaugh Mapping Digital Electronics
AOI Design: Logic Analysis
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Binary Number System And Conversion
Karnaugh Mapping Karnaugh Mapping Digital Electronics
Computer Science 210 Computer Organization
Date of Birth Design Problem
Karnaugh Mapping Digital Electronics
Circuit Simplification: DeMorgan’s Theorems
AOI Logic Implementation
State Machine Design State Machine Design Digital Electronics
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
Universal Gate – NOR Universal Gate - NOR Digital Electronics
Combinational Logic - An Overview
AOI Design: Logic Analysis
Binary Logic.
3-Variable K-map AB/C AB/C A’B’ A’B AB AB’
XOR, XNOR, and Binary Adders
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Instructor: Alexander Stoytchev
Objectives Construct truth tables for the following logic gates:
AOI Design: Logic Analysis
Circuit to Truth Table to Logic Expression
Circuit Simplification: DeMorgan’s Theorems
XOR, XNOR, and Binary Adders
Circuit Simplification: DeMorgan’s Theorems
Binary Number System And Conversion
Combinational Logic - An Overview
Binary Number System And Conversion
Presentation transcript:

Truth Tables & Logic Expressions Digital Electronics  2.1 Introduction to AOI Logic AOI Design: Truth Tables to Logic Expressions Digital Electronics © 2014 Project Lead The Way, Inc. Project Lead The Way, Inc. Copyright 2009

Truth Table & Logic Expressions Truth Tables & Logic Expressions Digital Electronics  2.1 Introduction to AOI Logic Truth Table & Logic Expressions This presentation will demonstrate how to… Properly construct a truth table. Write a Sum-Of-Products (SOP) logic expression from a truth table. Create a truth table given a SOP logic expression. Create a truth table from a set of design specifications (i.e., word problem). Introductory Slide / Overview of Presentation X Y OUT 1 EQUALS EQUALS Logic Expression Design Specifications Truth Table Project Lead The Way, Inc. Copyright 2009

Constructing A Truth Table Truth Tables & Logic Expressions Digital Electronics  2.1 Introduction to AOI Logic A truth table shows how a logic design’s output respond to ALL combinations of possible inputs. A logic design with N inputs will have 2N input combinations. The input are listed in binary order (i.e., counting order) in the columns to the left. The output(s) are listed in the column(s) to the right. (Note some logic circuits can have more than one output.) Project Lead The Way, Inc. Copyright 2009

Constructing A Truth Table Truth Tables & Logic Expressions Constructing A Truth Table Digital Electronics  2.1 Introduction to AOI Logic Inputs Output X Y Z F1 1 Input Combinations 3 – Inputs 8 – Combinations (8 = 23) Note the binary counting order of the inputs : Outputs for Each Input Combination Example of a three input / one output truth table 0002 = 010 0012 = 110 0102 = 210 0112 = 310 1002 = 410 1012 = 510 1102 = 610 1112 = 710 Project Lead The Way, Inc. Copyright 2009

Truth Tables & Logic Expressions Example Truth Tables Truth Tables & Logic Expressions Digital Electronics  2.1 Introduction to AOI Logic 2 Inputs 22 = 4 Combinations 3 Inputs 23 = 8 Combinations 4 Inputs 24 = 16 Combinations A B F2 1 X Y Z F3 1 R S T U F4 1 Format for a 2, 3, & 4 variable true table Project Lead The Way, Inc. Copyright 2009

Truth Table to Logic Expression Truth Tables & Logic Expressions Truth Table to Logic Expression Digital Electronics  2.1 Introduction to AOI Logic Write the Minterm adjacent to every row in the truth table that contains a one in the output column. Write the Sum-Of-Products (SOP) logic expression by summing together all of the Minterms. Example Write the SOP logic expression for the output F5 in the truth table below. X Y Z F5 1 Minterms SOP Logic Expression Project Lead The Way, Inc. Copyright 2009

Example #1: Truth Table to Logic Expression Truth Tables & Logic Expressions Digital Electronics  2.1 Introduction to AOI Logic Example Write the SOP logic expression for the output F6 in the truth table below. A B C D F6 1 Pause the presentation and allow students to complete the example. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Example #1: Truth Table to Logic Expression Truth Tables & Logic Expressions Example #1: Truth Table to Logic Expression Digital Electronics  2.1 Introduction to AOI Logic Example Write the SOP logic expression for the output F6 in the truth table below. Solution A B C D F6 1 The solution for example #1 is included on this slide. If you print handouts, do not print this page. Project Lead The Way, Inc. Copyright 2009

Logic Expression to Truth Table Truth Tables & Logic Expressions Digital Electronics  2.1 Introduction to AOI Logic For each term in the logic expression, place a one in the output column for the input condition that matches the term. Some terms may match more than one input condition. Example Create the truth table for the following logic expression. X Y Z F7 1 Project Lead The Way, Inc. Copyright 2009

Example #2: Logic Expression to Truth Table Truth Tables & Logic Expressions Example #2: Logic Expression to Truth Table Digital Electronics  2.1 Introduction to AOI Logic Example Create a truth table for the following SOP logic expression. Pause the presentation and allow students to complete the example. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Example #2: Logic Expression to Truth Table Truth Tables & Logic Expressions Example #2: Logic Expression to Truth Table Digital Electronics  2.1 Introduction to AOI Logic Example Create a truth table for the following SOP logic expression. Solution A B C D F8 1 The solution for example #2 is included on this slide. If you print handouts, do not print this page. Project Lead The Way, Inc. Copyright 2009

Design Specifications to Truth Table Truth Tables & Logic Expressions Digital Electronics  2.1 Introduction to AOI Logic Identify the number of input variables. Assign variable names and establish the assignment condition for each variable (i.e., What does a 0 or 1 mean for that input?). Create a truth table. Example A large fuel tank has sensors that monitor temperature and pressure. Both sensors output a logic LOW if they are within safety range. An alarm will sound if either sensor indicates an unsafe condition is present. Create a truth table for this logic design. Assignments : P: Pressure Sensor → 0=Safe / 1=Unsafe T: Temperature Sensor → 0=Safe / 1=Unsafe A: Alarm → 0=Alarm Off / 1=Alarm On P T A 1 Project Lead The Way, Inc. Copyright 2009

Example #3: Design Specifications to Truth Table Truth Tables & Logic Expressions Example #3: Design Specifications to Truth Table Digital Electronics  2.1 Introduction to AOI Logic Example Your teacher keeps her final exams in her office. For security reasons, she would like you to design an alarm system for her office. The office has a window and door that are equipped with sensors that output a one when they are secured (i.e., closed). When the alarm system is turned on with a key, the siren should sound if either the window or door is unsecured (i.e., opened). Pause the presentation and allow the student to work on the example. The solution is on the next slide. Project Lead The Way, Inc. Copyright 2009

Example #3: Design Specifications to Truth Table Truth Tables & Logic Expressions Example #3: Design Specifications to Truth Table Digital Electronics  2.1 Introduction to AOI Logic Example Your teacher keeps her final exams in her office. For security reasons, she would like you to design an alarm system for her office. The office has a window and door that are equipped with sensors that output a one when they are secured (i.e., closed). When the alarm system is turned on with a key, a siren should sound if either the window or door is unsecured (i.e., opened). Solution K D W S 1 Assignments : K : Key → 0=System Off / 1=System On D : Door Sensor → 0=Open / 1=Closed W : Window Sensor → 0=Open / 1=Closed S : Siren → 1=On / 0=Off The solution for example #3 is included on this slide. If you print handouts, do not print this page. Project Lead The Way, Inc. Copyright 2009