Digital Fundamentals

Similar documents
Digital Fundamentals 9/4/2017. Summary. Summary. Floyd. Chapter 3. The Inverter

Digital Fundamentals 8/29/2016. Summary. Summary. Floyd. Chapter 3 A X. The Inverter

Digital Fundamentals

Digital Fundamentals

Digital Fundamentals A Systems Approach Thomas L. Floyd First Edition

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

Chapter 3 Describing Logic Circuits Dr. Xu

Chapter 4 Combinational Logic Circuits

Philips Semiconductors Programmable Logic Devices

Gates and Circuits 1

In this lecture: Lecture 8: ROM & Programmable Logic Devices

Appendix B Page 1 54/74 FAMILIES OF COMPATIBLE TTL CIRCUITS PIN ASSIGNMENT (TOP VIEWS)

Digital Fundamentals

Presettable Counter High-Speed Silicon-Gate CMOS

Chapter 4 Combinational Logic Circuits

Name EGR 2131 Lab #2 Logic Gates and Boolean Algebra Objectives Equipment and Components Part 1: Reading Pin Diagrams 7400 (TOP VIEW)

LSN 3 Logic Gates. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

Lecture 2: Digital Logic Basis

Department of EECS. University of California, Berkeley. Logic gates. September 1 st 2001

TECH 3232 Fall 2010 Lab #1 Into To Digital Circuits. To review basic logic gates and digital logic circuit construction and testing.

Lab# 13: Introduction to the Digital Logic

DO NOT COPY DO NOT COPY

Aim. Lecture 1: Overview Digital Concepts. Objectives. 15 Lectures

ECE380 Digital Logic

Quad 2-Input NAND Gate High-Voltage Silicon-Gate CMOS

Octal 3-State Noninverting Transparent Latch High-Performance Silicon-Gate CMOS

Digital Fundamentals. Logic gates

Code No: R Set No. 1

Gates and and Circuits

MM74HCU04 Hex Inverter

In this lecture: Lecture 3: Basic Logic Gates & Boolean Expressions

Digital Logic Circuits

Presettable 4-Bit Binary UP/DOWN Counter High-Speed Silicon-Gate CMOS

PREVIEW COPY. Digital Logic Systems. Table of Contents. Digital Logic Fundamentals...3. Logic Building Blocks Medium- and Large-Scale ICs...

Digital Fundamentals. Introductory Digital Concepts

MM74HC132 Quad 2-Input NAND Schmitt Trigger

16 Multiplexers and De-multiplexers using gates and ICs. (74150, 74154)

Presettable 4-Bit Binary UP/DOWN Counter High-Speed Silicon-Gate CMOS

Course Outline Cover Page

Analysis procedure. To obtain the output Boolean functions from a logic diagram, proceed as follows:

Engr354: Digital Logic Circuits

Logic Symbols with Truth Tables INVERTER A B NAND A B C NOR C A B A B C XNOR A B C A B Digital Logic 1

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Digital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates

EE40 Lecture 35. Prof. Chang-Hasnain. 12/5/07 Reading: Ch 7, Supplementary Reader

M74HCT164TTR 8 BIT SIPO SHIFT REGISTER

EE100Su08 Lecture #16 (August 1 st 2008)

MM74HC00 Quad 2-Input NAND Gate

Digital Circuits Introduction

Dr. Cahit Karakuş ANALOG SİNYALLER

MM74HC132 Quad 2-Input NAND Schmitt Trigger

. HIGH SPEED .LOW POWER DISSIPATION .COMPATIBLE WITH TTL OUTPUTS M54HCT30 M74HCT30 8 INPUT NAND GATE. tpd = 15 ns (TYP.

Unit level 4 Credit value 15. Introduction. Learning Outcomes

Positive and Negative Logic

DIGITAL FUNDAMENTALS

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

Analog, Digital, and Logic

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package.

Lecture #1. Course Overview

1. What is the major problem associated with cascading pass transistor logic gates?

CONTENTS Sl. No. Experiment Page No

Logic Design I (17.341) Fall Lecture Outline

Digital Fundamentals 8/25/2016. Summary. Summary. Floyd. Chapter 1. Analog Quantities

Digital Logic ircuits Circuits Fundamentals I Fundamentals I

Propagation Delay, Circuit Timing & Adder Design. ECE 152A Winter 2012

Propagation Delay, Circuit Timing & Adder Design

Single supply logic gates with voltage translation

Quad 2-Input Data Selectors/Multiplexer

High Performance Silicon Gate CMOS

Multiple input gates. The AND gate

Chapter 4 Logic Functions and Gates

INTEGRATED CIRCUITS. 74LVC00A Quad 2-input NAND gate. Product specification Supersedes data of 1997 Aug 11 IC24 Data Handbook.

Logic diagram: a graphical representation of a circuit

MM74HC00 Quad 2-Input NAND Gate

Chapter # 1: Introduction

54ACT11020, 74ACT11020 DUAL 4-INPUT POSITIVE-NAND GATES

. HIGH SPEED .LOW POWER DISSIPATION .COMPATIBLE WITH TTL OUTPUTS M54/74HCT245/640/643 M54/74HCT245/640/643

Combinational Circuits: Multiplexers, Decoders, Programmable Logic Devices

Obsolete Product(s) - Obsolete Product(s)

. HIGH SPEED .LOW POWER DISSIPATION .HIGH NOISE IMMUNITY M54HC155 M74HC155 DUAL 2 TO 4 LINE DECODER 3 TO 8 LINE DECODER. tpd = 12 ns (TYP.

M74HC4049TTR HEX BUFFER/CONVERTER (INVERTER)

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Digital Electronic Concepts

DECODER I/O DATA CIRCUIT CONTROL CIRCUIT

CS302 - Digital Logic Design Glossary By

DATASHEET HI-201HS. Features. Applications. Ordering Information. Pinout (Switches Shown For Logic 1 Input) High Speed, Quad SPST, CMOS Analog Switch

Java Bread Board Introductory Digital Electronics Exercise 2, Page 1

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

M74HCT174TTR HEX D-TYPE FLIP FLOP WITH CLEAR

A B. 1 (a) (i) Fig shows the symbol for a circuit component. Fig Name this component. ... [1]

UNIVERSITI MALAYSIA PERLIS

. HIGH SPEED .LOW POWER DISSIPATION .HIGH NOISE IMMUNITY M54/74HC374 M54/74HC534

. HIGH SPEED .LOW POWER DISSIPATION .HIGH NOISE IMMUNITY M54HC51 M74HC51 DUAL 2 WIDE 2 INPUT AND/OR INVERT GATE. tpd = 10 ns (TYP.

M74HCT241B1R 74HCT241 OCTAL TRI-STATE BUFFER (DIL20) M74HCT244B1R 74HCT244 OCTAL TRI-STATE BUFFER (DIL20)

. HIGH SPEED .LOW POWER DISSIPATION .COMPATIBLE WITH TTL OUTPUTS M54HCT139 M74HCT139 DUAL 2 TO 4 DECODER/DEMULTIPLEXER. tpd = 17 ns (TYP.

. HIGH SPEED .LOW POWER DISSIPATION .HIGH NOISE IMMUNITY M54HC00 M74HC00 QUAD 2-INPUT NAND GATE. tpd = 6 ns (TYP.) AT VCC =5V

Digital Fundamentals

EE19D Digital Electronics. Lecture 1: General Introduction

Transcription:

Digital Fundamentals Tenth Edition Floyd Chapter 3 28 Pearson Education 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The Inverter The inverter performs the oolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. Input Output LOW () HIGH () HIGH () LOW() The NOT operation (complement) is shown with an overbar. Thus, the oolean expression for an inverter is =. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The Inverter Example waveforms: group of inverters can be used to form the s complement of a binary number: inary number s complement 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The ND Gate & The ND gate produces a HIGH output when all inputs are HIGH; otherwise, the output is LOW. For a 2-input gate, the truth table is Inputs Output The ND operation is usually shown with a dot between the variables but it may be implied (no dot). Thus, the ND operation is written as =. or =. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The ND Gate & Example waveforms: The ND operation is used in computer programming as a selective mask. If you want to retain certain bits of a binary number but reset the other bits to, you could set a mask with s in the position of the retained bits. If the binary number is NDed with the mask, what is the result? 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The ND Gate Multisim circuit is shown. WG is a word generator set in the count down mode. L is a logic analyzer with the output of the ND gate connected to first (upper) line of the analyzer. What signal do you expect to on this line? The output (line ) will be HIGH only when all of the inputs are HIGH. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The OR Gate 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 Inputs Output The OR operation is shown with a plus sign (+) between the variables. Thus, the OR operation is written as = +. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The OR Gate Example waveforms: The OR operation can be used in computer programming to set certain bits of a binary number to. SCII letters have a in the bit 5 position for lower case letters and a in this position for capitals. (it positions are numbered from right to left starting with.) What will be the result if you OR an SCII letter with the 8-bit mask? The resulting letter will be lower case. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The OR Gate Multisim circuit is shown. WG is a word generator set to count down. L is a logic analyzer with the output 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 ) will be HIGH if any input is HIGH; otherwise it will be LOW. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The NND Gate & The NND gate produces a LOW output when all inputs are HIGH; otherwise, the output is HIGH. For a 2-input gate, the truth table is Inputs Output The NND operation is shown with a dot between the variables and an overbar covering them. Thus, the NND operation is written as =. (lternatively, =.) 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The NND Gate & Example waveforms: The NND gate is particularly useful because it is a universal gate all other basic gates can be constructed from NND gates. How would you connect a 2-input NND gate to form a basic inverter? 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The NND Gate Multisim circuit is shown. WG is a word generator set in the count up mode. four-channel oscilloscope monitors the inputs and output. What output signal do you expect to see? The output (channel D) will be LOW only when all of the inputs are HIGH. Inputs 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The NOR Gate The NOR gate produces a LOW output if any input is HIGH; if all inputs are HIGH, the output is LOW. For a 2-input gate, the truth table is Inputs Output The NOR operation is shown with a plus sign (+) between the variables and an overbar covering them. Thus, the NOR operation is written as = +. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The NOR Gate Example waveforms: The NOR operation will produce a LOW if any input is HIGH. +5. V When is the LED is ON for the circuit shown? The LED will be on when any of the four inputs are HIGH. C D 33 W 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The OR Gate = The OR gate produces a HIGH output only when both inputs are at opposite logic levels. The truth table is Inputs Output The OR operation is written as = +. lternatively, it can be written with a circled plus sign between the variables as = +. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The OR Gate = Example waveforms: Notice that the OR gate will produce a HIGH only when exactly one input is HIGH. If the and waveforms are both inverted for the above waveforms, how is the output affected? There is no change in the output. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The NOR Gate = The NOR gate produces a HIGH output only when both inputs are at the same logic level. The truth table is Inputs Output The NOR operation shown as = +. lternatively, the NOR operation can be shown with a circled dot between the variables. Thus, it can be shown as =.. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

The NOR Gate = Example waveforms: Notice that the NOR gate will produce a HIGH when both inputs are the same. This makes it useful for comparison functions. If the waveform is inverted but remains the same, how is the output affected? The output will be inverted. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Fixed Function Logic Two major fixed function logic families are TTL and CMOS. third technology is icmos, which combines the first two. Packaging for fixed function logic is shown..335.334 in. 4 3 2.74.77 in. 4 3 2 9 2 3 4 5 6 6 7.228.244 in. 7 Pin no. identifiers 8 8.25 ±. in. 9 2 3 4 5 Lead no. identifier 4 4 DIP package SOIC package 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Fixed Function Logic Some common gate configurations are shown. VCC VCC 4 3 2 9 2 3 4 5 6 ' 8 7 GND VCC 2 3 4 5 6 ' 8 7 GND VCC 2 3 4 5 6 ' 2 7 GND 2 3 4 '27 5 6 8 7 GND 2 3 4 5 6 ' 2 3 4 5 6 '4 8 7 GND 8 7 GND 2 3 4 '3 5 6 8 7 GND 2 3 4 5 6 '2 2 3 4 5 6 '8 8 7 GND 8 7 GND 4 3 2 9 2 3 4 5 6 '2 8 7 GND VCC 4 3 2 9 4 3 2 9 VCC 4 3 2 9 VCC 4 3 2 9 VCC 4 3 2 9 VCC 4 3 2 9 VCC 4 3 2 9 8 VCC 4 3 2 9 VCC 4 3 2 9 2 3 4 '32 5 6 8 7 GND 4 3 2 9 2 3 4 '86 5 6 8 7 GND 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Fixed Function Logic Logic symbols show the gates and associated pin numbers. VCC (4) () (3) (2) (4) (6) (5) (9) (8) () (2) () (3) () (2) (4) (5) (9) () (2) (3) & (3) (6) (8) () (7) GND 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Fixed Function Logic Data sheets include limits and conditions set by the manufacturer as well as DC and C characteristics. For example, some maximum ratings for a 74HC are: MIMUM RTINGS Symbol Parameter Value Unit VCC DC Supply Voltage (Referenced to GND).5 to + 7. V V V in DC InputVoltage (Referenced to GND).5 to VCC +.5 V V V out DC Output Voltage (Referenced to GND).5 to VCC +.5 V V I in DC Input Current, per pin ± 2 m Iout DC Output Current, per pin ± 25 m ICC DC Supply Current, VCC and GND pins ± 5 m PD Power Dissipation in Still ir, Plastic or Ceramic DIP 75 mw 5 SOIC Package TSSOP Package 45 Tstg Storage Temperature 65 to + 5 C TL Lead Temperature, mm from Case for Seconds C 26 Plastic DIP, SOIC, or TSSOP Package 3 Ceramic DIP 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Programmable Logic Programmable Logic Device (PLD) can be programmed to implement logic. There are various technologies available for PLDs. Many use an internal array of ND gates to form logic terms. Many PLDs can be programmed multiple times. SRM cell SRM cell SRM cell SRM cell SRM cell SRM cell SRM cell SRM cell = 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Programmable Logic In general, the required logic for a PLD is developed with the aid of a computer. The logic can be entered using a Hardware Description Language (HDL) such as VHDL. Logic can be specified to the HDL as a text file, a schematic diagram, or a state diagram. text entry for a programming a PLD in VHDL as a 2-input NND gate is shown for reference in the following slide. In this case, the inputs and outputs are first specified. Then the signals are described. lthough you are probably not familiar with VHDL, you can see that the program is simple to read. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Programmable Logic entity NandGate is port(, : in bit; LED: out bit); end entity NandGate; architecture Gateehavior of NandGate is signal, : bit; begin <= nand ; LED <= ; end architecture Gateehavior; 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Selected Key Terms Inverter logic circuit that inverts or complements its inputs. Truth table table showing the inputs and corresponding output(s) of a logic circuit. Timing diagram of waveforms showing the proper time diagram relationship of all of the waveforms. oolean The mathematics of logic circuits. algebra ND gate logic gate that produces a HIGH output only when all of its inputs are HIGH. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

Selected Key Terms OR gate logic gate that produces a HIGH output when one or more inputs are HIGH. NND gate logic gate that produces a LOW output only when all of its inputs are HIGH. NOR gate logic gate that produces a LOW output when one or more inputs are HIGH. Exclusive OR logic gate that produces a HIGH output only gate when its two inputs are at opposite levels. Exclusive NOR logic gate that produces a LOW output only gate when its two inputs are at opposite levels. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved

. The truth table for a 2-input ND gate is Inputs a. Inputs c. Output Inputs b. Output Output Inputs Output d. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

2. The truth table for a 2-input NOR gate is Inputs a. Inputs c. Output Inputs b. Output Output Inputs Output d. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

3. The truth table for a 2-input OR gate is Inputs a. Inputs c. Output Inputs b. Output Output Inputs Output d. 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

4. The symbol is for a(n) a. OR gate b. ND gate c. NOR gate d. OR gate 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

5. The symbol is for a(n) a. OR gate b. ND gate c. NOR gate d. OR gate 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

6. logic gate that produces a HIGH output only when all of its inputs are HIGH is a(n) a. OR gate b. ND gate c. NOR gate d. NND gate 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

7. The expression = + means a. OR b. ND c. OR d. NOR 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

8. 2-input gate produces the output shown. ( represents the output.) This is a(n) a. OR gate b. ND gate c. NOR gate d. NND gate 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

9. 2-input gate produces a HIGH output only when the inputs agree. This type of gate is a(n) a. OR gate b. ND gate c. NOR gate d. NOR gate 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

. The required logic for a PLD can be specified in an Hardware Description Language by a. text entry b. schematic entry c. state diagrams d. all of the above 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved 28 Pearson Education

nswers:. c 6. b 2. b 7. c 3. a 8. d 4. a 9. d 5. d. d 29 Pearson Education, Upper Saddle River, NJ 7458. ll Rights Reserved