Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009.

Slides:



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

Logic Gates.
Lecture 6 More Logic Functions: NAND, NOR, XOR and XNOR
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.
ENGG 1203 Tutorial Combinational Logic (I) 1 Feb Learning Objectives
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
LOGIC GATES.
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 CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
Circuit Simplification Truth Table  Minimized Logic Gates.
NAND-NAND and NOR-NOR Circuits and Even and Odd Logic Functions
Logic Gates and Boolean Algebra Wen-Hung Liao, Ph.D. 11/2/2001.
Using De’Morgan’s On of the most useful principles in boolean algebra is De’Morgan’s Theorem, which allows one to switch between ANDs and NORs and ORs.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Basic Digital Logic: NAND and NOR Gates Technician Series ©Paul Godin Last Update Dec 2014.
Boolean Logic 1 Technician Series Boolean 1.1 ©Paul Godin Created Jan 2015 gmail.com.
Steering Gates, Timing Diagrams & Combinational Logic Technician Series Steering 1.1 ©Paul Godin Created Jan 2014.
Basic Gates 2.1 Basic Digital Logic: Application of Digital Gates using AND / OR / NOT ©Paul Godin Created August 2007 Last Update Sept 2013 Basic Gates.
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Pp244 In Sum-of-Products (SOP) form, basic.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
Basic Gates 1.1 Basic Digital Logic: AND, OR and NOT gates ©Paul Godin Created August 2007 Last Update Sept 2013.
Boolean 1.1 Boolean Logic 1 ©Paul Godin Created September 2007 Last Edit September 2009 gmail.com.
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,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CHAPTER 1 INTRODUCTION TO DIGITAL LOGIC. De Morgan’s Theorem De Morgan’s Theorem.
CEC 220 Digital Circuit Design SOP and POS forms Friday, Sept 11 CEC 220 Digital Circuit Design Slide 1 of 17.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Digital logic representation In digital logic system,events are described as either 0 or 1 Two logic states 1= logic High 0 = logic Low.
1 Ch.3 Logic Gates and Boolean Algebra – Part 1
Digital Logic Design. Truth Table  Logic Circuit 1. Start with truth table 2. When your output is a 1, figure out the combination of inputs, ANDs, and.
Combinational Circuits Part 1
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Logic Gates and Boolean Algebra
Chapter 3 Notes – Part II Review Questions
Logic Gates.
De Morgan’s Theorem,.
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Boolean Algebra & De Morgan's Theorems
Logic Gates and Boolean Algebra
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
ECE 331 – Digital System Design
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Digital Systems: Logic Gates and Boolean Algebra
Circuits, Truth Tables & Boolean Algebra
Universal gates.
Universal Gate – NAND Universal Gate - NAND Digital Electronics
Logic Gates.
BOOLEAN ALGEBRA AND LOGIC SIMPLIFICATION Part (a)
Boolean Logic 2 ©Paul Godin Created September 2007 Last edit Sept 2009
KS4 Electricity – Electronic systems
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Basic Digital Logic: AND, OR and NOT gates Technician Series
Circuits, Truth Tables & Boolean Algebra
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
Digital Fundamentals Floyd Chapter 5 Tenth Edition
Combinational Logic Circuit
ECE 352 Digital System Fundamentals
Chapter 3 – Describing Logic Circuits
Presentation transcript:

Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009

Basic Gates 3.2 The Universal Gates: NAND and NOR

Basic Gates 3.3 Combinational logic ◊How would your describe the output of this combinational logic circuit? A B Z

Basic Gates 3.4 NAND Gate ◊The NAND gate is the combination of an NOT gate with an AND gate. The Bubble in front of the gate is an inverter. A B Z

Basic Gates 3.5 NAND Gate ◊IEEE Symbol ◊Boolean equations for the NAND gate: & A●B = x AB = x The triangle is the same as the bubble.

Basic Gates 3.6 Combinational logic ◊How would your describe the output of this combinational logic circuit? B A Z

Basic Gates 3.7 NOR gate ◊The NOR gate is the combination of the NOT gate with the OR gate. The Bubble in front of the gate is an inverter. B A Z

Basic Gates 3.8 NOR Gate ◊IEEE Symbol for a NOR gate: ◊Boolean equation for a NOR gate: ≥1 A+B = x

Basic Gates 3.9 Exercise 1 Complete the Truth Table for the NAND and NOR Gates InputOutput InputOutput NAND NOR Hint: Think of the AND and OR truth tables. The outputs for the NAND and NOR are inverted.

Basic Gates 3.10 Exercise 2 ◊Turn the NAND and NOR gates into inverter (NOT) gates. Hint: Look at the Truth Table.

Basic Gates 3.11 Exercise 3 Complete the following timing diagram A B Z A B Z

Basic Gates 3.12 Exercise 4 Complete the following timing diagram A B Z A B Z

Basic Gates 3.13 Exercise 5 ◊Draw the following circuit: AB + BC

Basic Gates 3.14 Exercise 6 ◊Describe the function of a NAND gate, starting with the term “If any input...” ◊Describe the function of a NOR gate, starting with the term “If any input...”

Basic Gates 3.15 DeMorgan

Basic Gates 3.16 DeMorgan Theorem ◊The DeMorgan Theorem describes a method for converting between AND/NAND and OR/NOR operations. ◊The theorem states: A ● B = A + B A + B = A ● B “Break the bar and change the sign”

Basic Gates 3.17 DeMorgan An example of DeMorgan: AB + BC ABC Original Equation DeMorgan applied to NOR expression Double inversions cancel Simplified expression AB ● BC

Basic Gates 3.18 DeMorgan Exercise 1 Use DeMorgan to simplify the following expressions A+B+C AB AB + C+D “Break the bar and change the sign”

Basic Gates 3.19 Universal Gates ◊The NAND and NOR gates are considered Universal Gates. They can be used to create any other gate. ◊Using universal gates is an important aspect of digital logic design. Examples provided in class.

Basic Gates 3.20 NAND and NOR as NOT Z A Vcc A Z Method 1 AZ A Z Method 2 A Z

Basic Gates 3.21 NAND and NOR as AND Z B A Z B A AB = AB = A+B (DeMorgan) A Z B

Basic Gates 3.22 NAND and NOR as OR A+B = A+B = AB (DeMorgan) Z B A A Z B Z B A

Basic Gates 3.23 Universal Gates Exercise 1 ◊Convert NAND as NOR ◊Convert NOR as NAND

Basic Gates 3.24 Example: Universal Gates Convert the following circuit to NAND only: Convert each of the gates in the circuit to its NAND equivalent and progressively re-draw the circuit. Additional Examples given in class

Basic Gates 3.25 Active Input States

Basic Gates 3.26 Digital 1’s and 0’s ◊In a binary system, the logic 1’s are as important as the logic 0’s. A “0” is a signal also. ◊When the “0” forces a change it is called Active Low (the low causes the action). ◊When the “1” forces a change it is called Active High (the high causes the action).

Basic Gates 3.27 Comparison of Active States A logic 0 causes the LED to light up A logic 1 causes the LED to light up Vcc

Basic Gates 3.28 Comparison of Active Inputs A Z B Active Low Inputs Active High Output Active High Inputs Active Low Output Z B A

Alternate Gate Representations Basic Gates 3.29

Comparison of Active Inputs A Z B Active Low Inputs Active High Output Active High Inputs Active Low Output Z B A Basic Gates 3.30

Bubble to Bubble ◊Alternate gate representations can make circuit analysis faster. ◊A bubble attached to a bubble means the bubbles cancel. = Bubbles Cancel Basic Gates 3.31

Bubble to Bubble Cancellation Example 2 Z 1 A B C In this example with bubble-to-bubble representation, the output bubble from gate 1 cancels with the input bubble from gate 2. This makes it easy to quickly determine that if either A or B inputs are low, outcome Z is low. 2 Z 1 A B C Basic Gates 3.32

Alternate Representations ◊The “bubble” on a gate represents inversion. ◊In many cases it is easier to follow the circuit logic if “bubble” outputs are linked to “bubble” inputs ◊Cancelled bubbles helps make the active input state more easily visible for troubleshooting Basic Gates 3.33

Example use of Alternate Representation ◊The output is active when the input state is a 101 ◊Note how much easier it is to see the active input at a glance using a bubble instead of a NOT gate. Z C B A Basic Gates 3.34

Basic Gates 3.35 Example of Alternate Representation A Z B Z B A A Z B Equals A+B = AB (DeMorgan)

Basic Gates 3.36 Alternate Representation Z B A Z A Z A Z A Z B A B Z B A Z B A Z A Z B A B Z B A

Basic Gates 3.37 Alternate Representation Exercise Z A Z B A B Z A Z B A B Identify the gate that is alternately represented

Basic Gates 3.38 END ©Paul R. Godin prgodin gmail.com