rekabentuk digital wres1103web.fsktm.um.edu.my/~yamani/wres1103/nota/lec1_new.pdfrekabentuk digital...

31
1 WRES1103 Introductory Digital Concepts REKABENTUK DIGITAL

Upload: others

Post on 13-Feb-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

  • 1

    WRES1103

    Introductory Digital Concepts

    REKABENTUK DIGITAL

  • 2

    Analog & Digital

    Analog• Having continuous values

  • 3

    Analog & Digital

    Digital• Having discrete values

  • 4

    Analog & Digital

    Digital Advantage• Can be processed & transmitted more

    efficiently and reliably• Advantage of storage (e.g. compression,

    enhancement etc)

  • 5

    Analog & Digital

    An analog Electronic System

  • 6

    Analog & Digital

    A System using Digital and analog methods

  • 7

    Logic Levels

    Example:• High for TTL => 2V to

    5V• Low for TTL => 0V to

    0.8V• 0.8V to 2V

    unacceptable/ never used

  • 8

    Digital Waveforms

  • 9

    A Digital Waveform Carries Binary Information

  • 10

    A Digital Waveform Carries Binary Information

    Data Transfer

  • 11

    Encoding & Decoding Function

  • 12

    Multiplexer & Demultiplexer

    Mux• Switches from several inputs line onto single

    output line in a specified timeDemux• Vice versa

    Purpose• Data can be transferred from several sources

    over one line to a distant location and redistributed to several destination

  • 13

    Multiplexer & Demultiplexer

  • 14

    Storage Functions

    Flip-flopsRegisters• Formed by several flip-flops

    Semiconductor memories• ROM (permanent), RAM (temporary)

    Magnetic memories• Floppy, internal hard disk

  • 15

    Storage Functions

  • 16

    Storage Functions

  • 17

    Fixed Function Integrated Circuit

    All components make up circuits (transistor, diode, resistors and capacitors) are integral part of that single chip.Logic function set by manufacturer and cannot be altered

  • 18

    IC Packages

    Through-hole mounted• Dual in-line package (DIP)

    Surface-mount technology (SMT)• Save space• Smaller than DIP (pins close together)• Example

    • Small-outline integrated circuit (SOIC)• Plastic lead chip carrier (PLCC)• Leadless ceramic chip carrier (LCCC)• Flat Pack (FP)

  • 19

    IC Packages

  • 20

    IC PackagesExample of SMT package configurations

  • 21

    Pin NumberingDot always next to pin 1Number increase going counterclockwise.

  • 22

    Programmable Logic Device (PLD)

    SPLDCPLDFPGAWill be discussed in WRES1102 (VHDL)

  • 23

    Introduction to Test InstrumentsOscilloscope – Analog, Digital

  • 24

    Introduction to Test Instruments

    • Amplitude = (3 div)(1V/div) = 3V• Period = (4 div)(10 µs/div) = 40 µs• Frequency = f = 1/T = 1/40µs = 25 kHz

  • 25

    Introduction to Test Instruments

    Logic Analyzer• Oscilloscope format

    • Display single or dual waveform• Timing diagram format

    • Can display up to 32 waveform• State table format

    • Display data in tabular form (e.g. hex, octal, BCD, ASCII)

  • 26

    Introduction to Test InstrumentsLogic Analyzer

  • 27

    Introduction to Test Instruments

    Logic Probe• Detect high-level voltage, low-level voltage, single

    pulses, repetitive pulses and opens on PCB

    Logic Pulser• Produce repetitive pulse waveform

    Current tracer• = current probe• Sense pulsating current – locating shorts on PCB

  • 28

    Introduction to Test Instruments

  • 29

    Introduction to Test Instruments

  • 30

    Introduction to Test Instruments

    DC Power Supply• Converts AC from standard wall outlet into regulated DC

    voltage.Function Generator• Provides pulse waveforms, sine wave, triangular wave

    Digital multimeter (DMM)• Measure DC and AC voltage• Measure DC and AC current• resistance

  • 31

    Introduction to Test Instruments