Chapter 3 Notes – Part II Review Questions

Slides:



Advertisements
Similar presentations
Digital Systems: Logic Gates and Boolean Algebra Wen-Hung Liao, Ph.D.
Advertisements

Logic Gates.
Chap. 3 Logic Gates and Boolean Algebra
Lecture 6 More Logic Functions: NAND, NOR, XOR and XNOR
ECE 238L Computer Logic Design Spring 2010
Chapter 2 Logic Circuits.
Boolean Algebra and Reduction Techniques
Boolean Algebra and Combinational Logic
Digital Systems Logic Gates and Boolean Algebra
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
Digital Systems Presented by Prof Tim Johnson
Digital Systems: Boolean Algebra and Logic Gates
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Why? What’s Boolean algebra used for? –“The purpose of Boolean algebra is to facilitate the analysis and design of digital circuits.” Express a truth table.
Introduction to Chapter 3  Now that we understand the concept of binary numbers, we will study ways of describing how systems using binary logic levels.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Logic Gates and Boolean Algebra Wen-Hung Liao, Ph.D. 11/2/2001.
Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009.
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.
Basic Digital Logic: NAND and NOR Gates Technician Series ©Paul Godin Last Update Dec 2014.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
Boolean Algebra and Reduction Techniques
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
© BYU 03 BA1 Page 1 ECEn 224 Boolean Algebra – Part 1.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Boolean Algebra. BOOLEAN ALGEBRA Formal logic: In formal logic, a statement (proposition) is a declarative sentence that is either true(1) or false (0).
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.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
1 Ch.3 Logic Gates and Boolean Algebra – Part 1
CHAPTER 2 Boolean algebra and Logic gates
Boolean Constants and Variables Boolean 0 and 1 do not represent actual numbers but instead represent the state, or logic level. Closed switchOpen switch.
Boolean Algebra & Logic Gates
Combinational Circuits Part 1
Logic Gates and Boolean Algebra
De Morgan’s Theorem,.
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Boolean Algebra.
Unit 2 Boolean Algebra.
Logic Gates and Boolean Algebra
CS 105 Digital Logic Design
CHAPTER 2 Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
CHAPTER 2 Boolean Algebra This chapter in the book includes:
Overview Part 1 – Gate Circuits and Boolean Equations
Boolean Algebra and Combinational Logic
Princess Sumaya University
Boolean Algebra – Part 1 ECEn 224.
FIGURES FOR CHAPTER 2 BOOLEAN ALGEBRA
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Systems: Logic Gates and Boolean Algebra
Boolean Algebra & Logic Circuits
BASIC & COMBINATIONAL LOGIC CIRCUIT
Logic Gates.
Boolean Algebra.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Chapter 5 Combinational Logic Analysis
Chap. 3 Describing Logic Circuits
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Combinational Logic Circuit
Chapter 3 – Describing Logic Circuits
Presentation transcript:

Chapter 3 Notes – Part II Review Questions What is the only input combination that will produce a HIGH at the output of a five-input AND gate? What logic level should be applied to the second input of a two-input AND gate if the logic signal at the first input is to be inhibited(prevented) from reaching the output? True or false: An AND gate output will always differ from an OR gate output for the same input conditions.

NOT operation Truth table, Symbol, Sample waveform

Summary of Boolean Operations OR 0+0=0 0+1=1 1+0=1 1+1=1 AND 0•0=0 0•1=0 1•0=0 1•1=1 NOT 1’=0 0’=1 (NOTE THE SYMBOL USED FOR NOT!)

3-6 Describing logic circuits algebraically Any logic circuit, no matter how complex, can be completely described using the three basic Boolean operations: OR, AND, NOT. Example: logic circuit with its Boolean expression

Parentheses (Often needed to establish precedence; sometimes used optionally for clarity) How to interpret AB+C? Is it AB ORed with C ? Is it A ANDed with B+C ? Order of precedence for Boolean algebra: AND before OR. Parentheses make the expression clearer, but they are not needed for the case on the preceding slide. Note that parentheses are needed here :

Circuits Contains INVERTERs Whenever an INVERTER is present in a logic-circuit diagram, its output expression is simply equal to the input expression with a bar over it.

More Examples

Precedence First, perform all inversions of single terms Perform all operations with paretheses Perform an AND operation before an OR operation unless parentheses indicate otherwise If an expression has a bar over it, perform the operations inside the expression first and then invert the result

Determining output level from a diagram Determine the output for the condition where all inputs are LOW.

3-8 Implementing Circuits From Boolean Expressions When the operation of a circuit is defined by a Boolean expression, we can draw a logic-circuit diagram directly from that expression.

Example Draw the circuit diagram to implement the expression

Review Question Draw the circuit diagram that implements the expression Using gates having no more than three inputs.

3-9 NOR GATES AND NAND GATES NOR Symbol, Equivalent Circuit, Truth Table

Example

Example Determine the Boolean expression for a three-input NOR gate followed by an INVERTER

NAND Gate Symbol, Equivalent circuit, truth table

Example

Example Implement the logic circuit that has the expression using only NOR and NAND gates

Example Determine the output level in last example for A=B=C=1 and D=0

Review Questions What is the only set of input conditions that will produce a HIGH output from a three-input NOR gate? Determine the output level in last example for A=B=1, C=D=0 Change the NOR gate at last example to a NAND gate, and change the NAND to a NOR. What is the new expression for x?

3-10 Boolean Theorems (single-variable)

Multivariable Theorems x+y = y+x xy = yx commutativity (x+y) + z = x + (y + z) (xy)z = x(yz) associativity x(y+z) = xy + xz x + yz = (x+y) (x+z) distributivity x + xy = x pf: x+xy = x1 + xy = x(1+y) = x1 = x

Examples Simplify the expression Simplify

Review Questions Simplify

3-11 Demorgan’s Theorems

Example Simplify the expression to one having only single variables inverted.

Implications of DeMorgan’s Theorems(I)

Implications of DeMorgan’s Theorems(II)

Example Determine the output expression for the below circuit and simplify it using DeMorgan’s Theorem

Review Questions Using DeMorgan’s Theorems to convert the expressions to one that has only single-variable inversions. Use only a NOR gate and an INVERTER to implement a circuit having output expression: Use DeMorgan’s theorems to convert below expression to an expression containg only single-variable inversions.

3-12 Universality of NAND and NOR gates

Universality of NOR gate

Example

Example

3-13 Alternate Logic-Gate Representations Standard and alternate symbols for various logic gates and inverter.

How to obtain the alternative symbol from standard ones Invert each input and output of the standard symbol, This is done by adding bubbles(small circles) on input and output lines that do not have bubbles and by removing bubbles that are already there. Change the operation symbol from AND to OR, or from OR to AND.(In the special case of the INVERTER, the operation symbol is not changed)

Several points The equivalences can be extended to gates with any number of inputs. None of the standard symbols have bubbles on their inputs, and all the alternate symbols do. The standard and alternate symbols for each gate represent the same physical circuit; there is no difference in the circuits represented by the two symbols. NAND and NOR gates are inverting gates, and so both the standard and the alternate symbols for each will have a bubble on either the input or the output, AND and OR gates are noninverting gates, and so the alternate symbols for each will have bubbles on both inputs and output.

Logic-symbol interpretation Active high/low When an input or output line on a logic circuit symbol has no bubble on it, that line is said to be active-high, otherwise it is active-low.

Interpretation of the two NAND gate symbols

Interpretation of the two OR gate symbols

Review Questions Write the interpretation of the operation performed by the below gate symbols Standard NOR gate symbol Alternate NOR gate symbol Alternate AND gate symbol Standard AND gate symbol