© 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.

Slides:



Advertisements
Similar presentations
Chapter 4 Gates and Circuits.
Advertisements

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
EET 1131 Unit 3 Basic Logic Gates
Chapter 20 Digital Circuits. Chapter 20 Digital Circuits.
Logical Design.
Chapter 3 Basic Logic Gates 1.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 Digital Fundamentals.
CHAPTER 1 Digital Concepts
EECC341 - Shaaban #1 Lec # 1 Winter Introduction to Digital Systems Analog devices and systems process time-varying signals that can take.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Chapter 4 Gates and Circuits.
Floyd Digital Fundamentals, 9/e Copyright ©2006 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved. Slide 1 The Digital.
Henry Hexmoor 1 Computer Logic and Digital Design Chapter 1 Henry Hexmoor An Overview of Computer Organization Switches and Transistors Boolean Algebra.
© 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 6 Tenth Edition
Digital Fundamentals Floyd Chapter 9 Tenth Edition
Digital and Analog Quantities
Introductory Digital Concepts
Figure 1–1 Graph of an analog quantity (temperature versus time). Thomas L. Floyd Digital Fundamentals, 9e Copyright ©2006 by Pearson Education, Inc. Upper.
© 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
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.
Engineering Lecture 3 Digital Electronics by Jaroslaw Karcz.
Engineering Lecture1: Logic Circuits & Concepts about basic Electrical Engineering Devices by Christin Sander.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
CPS120: Introduction to Computer Science
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
DIGITAL LOGIC DESIGN BY: ENGR. M.ZAKIR SHAIKH. DIGITAL LOGIC DESIGN BY: ENGR. M.ZAKIR SHAIKH.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals with PLD Programming.
Waves Digitising analogue data. Analogue What we see in the real world around us Continuously varying –Temperature –Land contours –Speed –Time Temp Time.
Chapter 1 Introduction: Digital Systems & Logic Design By Taweesak Reungpeerakul.
Basic Logic Operations and Standard Logic Gates (Lecture #1) ECE 331 – Digital System Design.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
Floyd, Digital Fundamentals, 10 th ed Slide 1 Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
Chapter 3 Basic Logic Gates William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper Saddle River,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Summary Half-Adder pp302Basic rules of binary addition are performed by a half adder, which has two binary inputs (A and B) and two binary outputs (Carry.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights Reserved Floyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
School of Computer and Communication Engineering, UniMAP Mohd ridzuan mohd nor DKT 122/3 - DIGITAL SYSTEM I Chapter.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1.
© 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.
Basic Logic Operations and Standard Logic Gates [Lecture:1] Instructor: Sajib Roy Lecturer, ETE, ULAB ETE 204 – Digital Electronics.
ECE DIGITAL LOGIC LECTURE 5: BINARY LOGIC AND DIGITAL LOGIC GATES Assistant Prof. Fareena Saqib Florida Institute of Technology Fall 2016, 01/28/2016.
© 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 Logic Design Dr. Oliver Faust.
Introduction to Digital Electronics Lecture 1 : Background.
© 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.
Copyright ©2009 by Pearson Higher Education, Inc. Upper Saddle River, New Jersey All rights reserved. Digital Fundamentals, Tenth Edition Thomas.
EKT124 Digital Electronics 1 Introduction to Digital Electronics
Digital Fundamentals Floyd Chapter 3 Tenth Edition
EI205 Lecture 1 Dianguang Ma Fall, 2008.
Engr. Micaela Renee Bernardo
EI205 Lecture 3 Dianguang Ma Fall, 2008.
Digital Fundamentals Floyd Chapter 1 Digital concepts Tenth Edition
Introduction Molecules: made up of atoms of individual elements.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
ECE 331 – Digital System Design
Chapter 4 Gates and Circuits.
CS105 Introduction to Computer Concepts GATES and CIRCUITS
Digital Fundamentals Floyd Chapter 3 Tenth Edition
EET 1131 Unit 3 Basic Logic Gates
Digital Fundamentals Floyd Chapter 1 Tenth Edition
Presentation transcript:

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd © 2008 Pearson Education Chapter 1

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Most natural quantities that we see are analog and vary continuously. Analog systems can generally handle higher power than digital systems. Digital systems can process, store, and transmit data more efficiently but can only assign discrete values to each point. Analog Quantities

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Many systems use a mix of analog and digital electronics to take advantage of each technology. A typical CD player accepts digital data from the CD drive and converts it to an analog signal for amplification. Analog and Digital Systems

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 6 Eight Advantages of Digital Systems Over Analog Systems 1.Reproducibility of the results 2.Accuracy of results 3.More reliable than analog systems due to better immunity to noise. 4.Ease of design: No special math skills needed to visualize the behavior of small digital (logic) circuits. 5.Flexibility and functionality. 6.Programmability. 7.Speed: A digital logic element can produce an output in less than 10 nanoseconds (10 -8 seconds). 8.Economy: Due to the integration of millions of digital logic elements on a single miniature chip forming low cost integrated circuit (ICs).

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital electronics uses circuits that have two states, which are represented by two different voltage levels called HIGH and LOW. The voltages represent numbers in the binary system. Binary Digits and Logic Levels In binary, a single number is called a bit (for binary digit). A bit can have the value of either a 0 or a 1, depending on if the voltage is HIGH or LOW. HIGH LOW V H(max) V H(min) V L(max) V L(min) Invalid

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital waveforms change between the LOW and HIGH levels. A positive going pulse is one that goes from a normally LOW logic level to a HIGH level and then back again. Digital waveforms are made up of a series of pulses. Digital Waveforms

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Actual pulses are not ideal but are described by the rise time, fall time, amplitude, and other characteristics. Pulse Definitions

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Periodic pulse waveforms are composed of pulses that repeats in a fixed interval called the period. The frequency is the rate it repeats and is measured in hertz. Periodic Pulse Waveforms The clock is a basic timing signal that is an example of a periodic wave. What is the period of a repetitive wave if f = 3.2 GHz? 313 ps

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Pulse Definitions In addition to frequency and period, repetitive pulse waveforms are described by the amplitude (A), pulse width (t W ) and duty cycle. Duty cycle is the ratio of t W to T. Amplitude (A) Pulse width (t W ) Period, T

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed A timing diagram is used to show the relationship between two or more digital waveforms, Timing Diagrams A diagram like this can be observed directly on a logic analyzer.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Data can be transmitted by either serial transfer or parallel transfer. Serial and Parallel Data

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Basic Logic Functions True only if all input conditions are true. True only if one or more input conditions are true. Indicates the opposite condition.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 15 Logic Gates EXCLUSIVE OR abab a.b abab a+b aa' abab (a+b)' abab (a.b)' abab a  b abab a.b & abab a+b + AND aa' 1 abab (a.b)' & abab (a+b)' 11 abab a  b =1 OR NOT NAND NOR Symbol set 1 Symbol set 2 (ANSI/IEEE Standard )

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Henry Hexmoor 16 Truth Tables Provide a listing of every possible combination of values of binary inputs to a digital circuit and the corresponding outputs. Example (2 inputs, 2 outputs): Digital circuit inputs outputs x y inputs outputs x + y x. y Truth table

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 17 Logic Gates: The AND Gate ABAB A.B Truth table Ground Vcc Top View of a TTL 74LS family 74LS08 Quad 2-input AND Gate IC Package The AND Gate

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 18 Logic Gates: The OR Gate ABAB A+B The OR Gate Truth table Top View of a TTL 74LS family 74LS08 Quad 2-input OR Gate IC Package

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 19 Logic Gates: The NAND Gate The NAND Gate ABAB (A.B)' ABAB  Truth table Top View of a TTL 74LS family 74LS00 Quad 2-input NAND Gate IC Package NAND gate is self-sufficient (can build any logic circuit with it). Can be used to implement AND/OR/NOT. Implementing an inverter using NAND gate: xx'

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Henry Hexmoor 20 Logic Gates: The NOR Gate The NOR Gate  ABAB (A+B)' ABAB Truth table Top View of a TTL 74LS family 74LS02 Quad 2-input NOR Gate IC Package NOR gate is also self-sufficient (can build any logic circuit with it). Can be used to implement AND/OR/NOT. Implementing an inverter using NOR gate: xx'

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Henry Hexmoor 21 Logic Gates: The XOR Gate Ground Vcc The XOR Gate ABAB A  B Truth table Top View of a TTL 74LS family 74LS86 Quad 2-input XOR Gate IC Package

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Basic System Functions And, or, and not elements can be combined to form various logic functions. A few examples are: The comparison function Basic arithmetic functions

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Basic System Functions The encoding function The decoding function

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Basic System Functions The data selection function

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Basic System Functions The counting function …and other functions such as code conversion and storage. Input pulses 1 CounterParallel output lines Binary code for 1 Binary code for 2 Binary code for 3 Binary code for 4 Binary code for 5 Sequence of binary codes that represent the number of input pulses counted. 2345

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Basic System Functions One type of storage function is the shift register, that moves and stores data each time it is clocked.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 27 Integrated Circuits An Integrated circuit (IC) is a number of logic gated fabricated on a single silicon chip. ICs can be classified according to how many gates they contain as follows: –Small-Scale Integration (SSI): Contain 1 to 20 gates. –Medium-Scale Integration (MSI): Contain 20 to 200 gates. Examples: Registers, decoders, counters. –Large-Scale Integration (LSI): Contain 200 to 200,000 gates. Include small memories, some microprocessors, programmable logic devices. –Very Large-Scale Integration (VLSI): Usually stated in terms of number of transistors contained usually over 1,000,000. Includes most microprocessors and memories.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Integrated Circuits Cutaway view of DIP (Dual-In-line Pins) chip: The TTL series, available as DIPs are popular for laboratory experiments with logic.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed An example of laboratory prototyping is shown. The circuit is wired using DIP chips and tested. Integrated Circuits In this case, testing can be done by a computer connected to the system. DIP chips

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Integrated Circuits DIP chips and surface mount chips Pin 1 Dual in-line package Small outline IC (SOIC)

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Integrated Circuits Other surface mount packages: SOIC PLCC LCCC

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Test and Measurement Instruments The front panel controls for a general-purpose oscilloscope can be divided into four major groups.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Test and Measurement Instruments For measuring digital signals, use DC coupling Normally, trigger on the slower of two waveforms when comparing signals.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Test and Measurement Instruments The logic analyzer can display multiple channels of digital information or show data in tabular form.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Test and Measurement Instruments 0.01 V The DMM can make three basic electrical measurements. Voltage Resistance Current In digital work, DMMs are useful for checking power supply voltages, verifying resistors, testing continuity, and occasionally making other measurements.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Programmable Logic 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 that fixed function devices. A PAL device is a form of PLD that uses a combination of a programmable AND array and a fixed OR array:

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Analog Digital Binary Bit Pulse Being continuous or having continuous values. Related to digits or discrete quantities; having a set of discrete values. Having two values or states; describes a number system that has a base of two and utilizes 1 and 0 as its digits. A binary digit, which can be a 1 or a 0. A sudden change from one level to another, followed after a time, called the pulse width, by a sudden change back to the original level.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Clock Gate NOT AND OR A basic timing signal in a digital system; a periodic waveform used to synchronize actions. A logic circuit that performs a basic logic operations such as AND or OR. A basic logic function that performs inversion. A basic logic operation in which a true (HIGH) output occurs only when all input conditions are true (HIGH). A basic logic operation in which a true (HIGH) output occurs when when one or more of the input conditions are true (HIGH).

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Fixed-function logic Programmable logic A category of digital integrated circuits having functions that cannot be altered. A category of digital integrated circuits capable of being programmed to perform specified functions.

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 1. Compared to analog systems, digital systems a. are less prone to noise b. can represent an infinite number of values c. can handle much higher power d. all of the above © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 2. The number of values that can be assigned to a bit are a. one b. two c. three d. ten © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 3. The time measurement between the 50% point on the leading edge of a pulse to the 50% point on the trailing edge of the pulse is called the a. rise time b. fall time c. period d. pulse width © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 4. The time measurement between the 90% point on the trailing edge of a pulse to the 10% point on the trailing edge of the pulse is called the a. rise time b. fall time c. period d. pulse width © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 5. The reciprocal of the frequency of a clock signal is the a. rise time b. fall time c. period d. pulse width © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 6. If the period of a clock signal is 500 ps, the frequency is a. 20 MHz b. 200 MHz c. 2 GHz d. 20 GHz © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 7. AND, OR, and NOT gates can be used to form a. storage devices b. comparators c. data selectors d. all of the above © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 8. A shift register is an example of a a. storage device b. comparator c. data selector d. counter © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 9. A device that is used to switch one of several input lines to a single output line is called a a. comparator b. decoder c. counter d. multiplexer © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed 10. For most digital work, an oscilloscope should be coupled to the signal using a. ac coupling b. dc coupling c. GND coupling d. none of the above © 2008 Pearson Education

© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Answers: 1. a 2. b 3. d 4. b 5. c 6. c 7. d 8. a 9. d 10. b