chapter 1fivedots.coe.psu.ac.th/.../07/chapter1_241-208.pdf · 241-208 ch1 14 1.5 digital...

18
241-208 CH1 1 Chapter 1 Introduction: Digital Systems & Logic Design By Taweesak Reungpeerakul

Upload: others

Post on 29-Jun-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 1

Chapter 1

Introduction: Digital Systems &

Logic Design

By Taweesak Reungpeerakul

Page 2: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 2

Digital Systems

� Digital and Analog Quantities

� Parameters of Pulse Waveform

� Basic Logic

� Combinational Logic

� Digital Integrated Circuits

� An example of Digital System

� Design Flow

Page 3: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 3

1.1 Digital & Analog Quantities

� Analog Quantity?

� Digital Quantity?

� Which one has more advantages?

Page 4: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 4

Analog & Digital Example

Page 5: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 5

Analog & Mixed System

� Analog System

� Digital and Analog System

Page 6: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 6

1.2 Binary Digits, Logic Levels, and Digital Waveforms

� Binary Digits:

� Code:

� Logic Level:

Page 7: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 7

Digital Waveforms

� Pulse

Positive-going pulse Negative-going pulse

� Waveform Characteristic

� Question

H

L

Page 8: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 8

Clock and Bits Waveforms

� Clock is a periodic waveform (signal) in which each interval

between pulse equals the time for one bit

Page 9: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 9

Timing Diagrams

� How 2 or more waveforms change and relate

Page 10: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 10

1.3 Basic Logic Operations

In1 In2 Out

0 0 1

0 1 1

1 0 1

1 1 0

In1 In2 Out

0 0 0

0 1 0

1 0 0

1 1 1

In Out

0 1

1 0

Truth Table

Symbol

ORANDNOT

Page 11: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 11

1.4 Basic Logic Functions

Page 12: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 12

Basic Logic Functions (cont)

� Demux

S0

D

S3S2S1

C0C1 En

MultiplexerO0

D

O3O2O1

C0C1 En

Demultiplexer

� Mux

Page 13: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 13

Basic Logic Functions (cont)

� Flip-flops

� Counters

� Registers

Q

QSET

CLR

DD

CLK

CLR

SETQ

Q

Page 14: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 14

1.5 Digital Integrated Circuits

� IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP

� IC Complexity Classifications

� SSI: gate ≥ 12, basic gates & flip-flops

� MSI: 12 ≤ gate ≥ 99, logic functions

� LSI: 100 ≤ gate ≥ 9999, including memory

� VLSI: 10,000 ≤ gate ≥ 99,999

� ULSI: gate ≥ 100,000

Page 15: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 15

Integrated Circuit Technologies

� Types of Transistors

� Bipolar Junction Transistors

� MOSFETs (metal-oxide semiconductor field-effect transistors)

� Bipolar used in: transistor-transistor logic (TTL) and emitter-couple logic (ECL)

� MOSFETs used in: complementary MOS

(CMOS) and n-channel MOS (NMOS)

Page 16: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 16

1.6 Testing and Troubleshooting Instruments

� Oscilloscope

� Analog

� Digital

� Logic Analyzer

� DC Power Supply

� Function Generator

� Digital Multimeter

Page 17: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 17

1.7 Digital System Application

Page 18: Chapter 1fivedots.coe.psu.ac.th/.../07/Chapter1_241-208.pdf · 241-208 CH1 14 1.5 Digital Integrated Circuits IC Packages: DIP, SMT, SOIC, PLCC, LCCC, FP IC Complexity Classifications

241-208 CH1 18

Design Flow