EET 1131 Unit 3 Basic Logic Gates

Slides:



Advertisements
Similar presentations
Chapter 3 Basic Logic Gates 1.
Advertisements

Chapter 4 Gates and Circuits.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Chapter 3 (part 1) Basic Logic Gates 1.
EET 1131 Unit 3 Basic Logic Gates
CSC 405 Lab 1 - Building a Simple Combinatorial Circuit In this laboratory exercise you will learn about the layout of some small-scale integrated circuits.
Chapter 3 Basic Logic Gates 1.
Intro to Logic Gates & Datasheets
Chapter 3 Basic Logic Gates
Chapter 4 Gates and Circuits.
Experiment #2: Introduction to Logic Functions and their Gate-Level Hardware Implementations CPE 169 Digital Design Laboratory.
© 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 Tenth Edition Floyd.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
Gates A digital circuit is one in which only two logical values are present. Typically, a signal between 0 and 1 volt represents one value (e.g. binary.
Digital and Analog Quantities
Component Identification: Digital Introduction to Logic Gates and Integrated Circuits © 2014 Project Lead The Way, Inc.Digital Electronics.
© 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 Tenth Edition Floyd.
Digital Fundamentals Floyd Chapter 1 Tenth Edition
IC packages and applications
Chapter 2 Logic Functions and Gates. 2 Basic Logic Functions The three basic logic functions are: –AND –OR –NOT.
Chapter 4 Gates and Circuits. 4–2 Chapter Goals Identify the basic gates and describe the behavior of each Describe how gates are implemented using transistors.
Chapter 4 Gates and Circuits.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Basic Digital Logic 2 Combinational Logic
Chapter 3 (part 2) Basic Logic Gates 1.
Chapter 3 Basic Logic Gates William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River,
Digital Fundamentals Floyd Chapter 3 Tenth Edition
© 2009 Pearson Education, Upper Saddle River, NJ All Rights Reserved Floyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Binary Numbers For digital systems, the.
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
Ch.4 Combinational Logic Circuits
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
EGR 2131 Unit 6 Combinational Building Blocks
EET 1131 Unit 5 Boolean Algebra and Reduction Techniques
Logic Gates Unit 16.
EET 1131 Unit 4 Programmable Logic Devices
EGR 2131 Unit 4 Combinational Circuits: Analysis & Design
EKT124 Digital Electronics 1 Introduction to Digital Electronics
Homework Reading Machine Projects Labs
Basics of Logic gates - Part 2
Basics of Logic gates - Part 1
Digital Fundamentals Floyd Chapter 3 Tenth Edition
EGR 2131 Unit 2 Boolean Algebra and Logic Gates
Engr. Micaela Renee Bernardo
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Basic Digital Logic.
PROPAGATION DELAY.
EET 1131 Unit 6 Exclusive-OR and Exclusive-NOR Gates
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Digital Electronics Lab 2 Instructor:
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Chapter 3 – Combinational Logic Design
EET 1131 Unit 6 Exclusive-OR and Exclusive-NOR Gates
CSC 220: Computer Organization Logic Gates and Functions
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Combinational Logic - An Overview
EET 1131 Unit 4 Programmable Logic Devices
Component Identification: Digital
Logic Gates AIM: To know the different types of logic gate
EET 1131 Unit 4 Programmable Logic Devices
Combinational Logic - An Overview
Chapter 3 – Describing Logic Circuits
Lecture 4 – Binary Logic and Logic Gates
Presentation transcript:

EET 1131 Unit 3 Basic Logic Gates Read Kleitz, Chapter 3. Homework #3 and Lab #3 due next week. Quiz next week. -Take Quiz #2 and fire up Multisim. -Handouts: Unit 3 practice sheet on Day 1, Slide #27 (from Floyd) and BoeBot on Day 2. -First two weeks have laid math foundations, now we get into the circuits.

Logic Gates Logic gates are the building blocks in digital circuits. Shown below is a circuit containing ten logic gates. (This is Figure 5-56 on page 187.) Each logic gate consists of about a dozen resistors, transistors, and diodes, but we’ll usually treat it as a black box.

Inputs and Outputs This circuit has three inputs labeled A, B, C, and one output labeled X. The values (0 or 1) at the inputs determine the value (0 or 1) at the output.

Three Ways of Describing a Circuit To describe a circuit built up from logic gates, we can: Draw a schematic diagram. Write a truth table. Write a Boolean expression.

Truth Tables and Boolean Expressions A truth table shows a circuit’s output value for every possible combination of input values. A Boolean expression looks much like an algebraic expression and uses symbols with special meanings.

A X The Inverter The inverter performs the Boolean NOT operation. When the input is LOW (0), the output is HIGH (1); when the input is HIGH, the output is LOW. 0 1 1 0 The NOT operation (complement) is shown with an overbar. Thus, the Boolean expression for an inverter is X = A. (Multisim and some books use a prime: X = A′.)

A X The Inverter Example waveforms: A X Do as practice question 1.

A A X The AND Gate X B B The AND gate produces a HIGH output when all inputs are HIGH; otherwise, the output is LOW. For a 2-input gate, the truth table is 0 0 0 1 1 0 1 1 1 The AND operation is usually shown with a dot between the variables but it may be implied (no dot). Thus, the AND operation is written as X = A .B or X = AB.

AND Gate: A Practical Application Many cars have an alarm that sounds if a door is open while the key is in the ignition: Door Open? Key in Ignition? Sound the Alarm? No Yes

The AND Gate Example waveforms: A B X A A X X B B Do as practice question 2.

Example Solution The AND Gate A Multisim circuit is shown. XWG1 is a word generator set in the count down mode. XLA1 is a logic analyzer with the output of the AND gate connected to first (upper) line of the analyzer. What signal do you expect to on this line? Solution The output (line 1) will be HIGH only when all of the inputs are HIGH. -AND can have more than two inputs. Do practice questions 3, 4.

A X A X The OR Gate B B The OR gate produces a HIGH output if any input is HIGH; if all inputs are LOW, the output is LOW. For a 2-input gate, the truth table is 0 0 0 1 1 0 1 1 1 The OR operation is shown with a plus sign (+) between the variables. Thus, the OR operation is written as X = A + B.

OR Gate: A Practical Application Many cars have a “Door Ajar” dashboard light that lights up if any door on the car is open. Driver Door Open? Passenger Door Open? Turn on the “Door Ajar” Light? No Yes

The OR Gate Example waveforms: A B X A X A X B B Do practice question 5.

Example Solution The OR Gate A Multisim circuit is shown. XWG1 is a word generator set to count down. XLA1 is a logic analyzer with the output Example connected to first (top) line of the analyzer. The three 2-input OR gates act as a single 4-input gate. What signal do you expect on the output line? The output (line 1) will be HIGH if any input is HIGH; otherwise it will be LOW. Solution -OR can have more than two inputs. Do practice questions 6, 7.

A A X The NAND Gate X B B The NAND gate produces a LOW output when all inputs are HIGH; otherwise, the output is HIGH. For a 2-input gate, the truth table is 0 0 0 1 1 0 1 1 1 The NAND operation is shown with a dot between the variables and an overbar covering them. Thus, the NAND operation is written as X = A .B (Alternatively, X = AB.)

The NAND Gate Example waveforms: A B X The NAND gate is particularly useful because it is a “universal” gate – all other basic gates can be constructed from NAND gates. Do practice question 8.

Example Solution The NAND Gate A Multisim circuit is shown. XWG1 is a word generator set in the count up mode. A four-channel oscilloscope monitors the inputs and output. What output signal do you expect to see? Solution The output (channel D) will be LOW only when all of the inputs are HIGH. NAND can have more than two inputs. Do practice questions 9, 10. Inputs

A X A X The NOR Gate B B The NOR gate produces a LOW output if any input is HIGH; if all inputs are LOW, the output is HIGH. For a 2-input gate, the truth table is 0 0 0 1 1 0 1 1 1 The NOR operation is shown with a plus sign (+) between the variables and an overbar covering them. Thus, the NOR operation is written as X = A + B.

The NOR Gate Example waveforms: A B X The NOR operation will produce a LOW if any input is HIGH. Do as practice question 11. NOR can have more than two inputs. Do practice question 12. -Intro lab by demo-ing test of AND gate on breadboard and in Multisim.

Enable/Disable Using AND Gate Before this slide, review truth tables of basic gates. 14

Enable/Disable Using OR Gate Questions at end of Lab 3 ask them to think more about this. 15

Cutaway view of DIP (Dual-In-line Package) chip: Integrated Circuits Cutaway view of DIP (Dual-In-line Package) chip: -Notice that the actual semiconductor chip is much smaller than the package. The TTL series, available as DIPs are popular for laboratory experiments with logic.

DIP chips and surface mount chips Integrated Circuits DIP chips and surface mount chips Pin 1 -A DIP is much larger than a SOIC that performs comparable function. Pass around circuit board with both DIPs (THT) and SMT chips—e.g., BoeBot. Dual in-line package Small outline IC (SOIC)

Chip Densities Caution: These are not precise terms, and different authors use them differently. Small scale integration (SSI): <=10 gates per chip. Medium-scale integration (MSI): 10 to 100 gates per chip. Large-scale integration (LSI): 100 to 10,000 gates per chip. Very large-scale integration (VLSI): 10,000 to 100,000 gates per chip.

Fixed-Function Versus Programmable Logic The 74xx chips we’ve used in labs are examples of fixed-function chips. A 7408 chip, for example, is manufactured to contain four independent AND gates. This is permanent and you cannot change it. Programmable logic devices (PLDs) are an alternative to fixed function devices. The logic can be programmed for a specific purpose. In general, they cost less and use less board space than fixed function devices.

Figure 3.50 Pin configuration diagrams for some common fixed-function chips. -Have them ID each chip as, e.g., quad 2-input NAND. -Usually, top left pin in Vcc (+5 V) and bottom right pin in Ground.

Website for Datasheets Many websites have datasheets for logic chips. The best site is Texas Instruments: www.ti.com Type the chip number (such as 7404) in the Search box. For some chips, the original part number is obsolete and no longer available. In such cases, inserting LS often works. Example: 74LS10.

Testing Gates in Multisim Multisim lets you build and simulate digital circuits containing gates.

Troubleshooting Troubleshooting means finding and fixing faults in a circuit or system that’s not working correctly. Your first step in troubleshooting a digital circuit on the breadboard should always be to verify that the voltage at each chip’s power and ground pins are actually +5 V and 0V. After that, use your knowledge of truth tables to find the gates that are not producing the correct outputs. -Book discusses how to isolate problem to input or output of a gate. That’s good, but may just need to be able to identify broken gates.

Multisim Troubleshooting Earlier versions of Multisim let you insert the following kinds of faults into digital components: An open pin Two pins shorted together A pin shorted to VCC (constant HIGH) A pin shorted to ground (constant LOW) Your book has Multisim troubleshooting problems that I’ll assign on some labs and homeworks. To troubleshoot them, attach switches to input pins and probes to output pins. Demo with a 1k resistor and an ohmeter. -In Lab 3 they’ll do Multisim exercises E3-14, E3-15, E3-16, E3-17. 31