Presentation is loading. Please wait.

Presentation is loading. Please wait.

517 341: Digital Logic Design Apisake Hongwitayakorn e: w:

Similar presentations


Presentation on theme: "517 341: Digital Logic Design Apisake Hongwitayakorn e: w:"— Presentation transcript:

1 517 341: Digital Logic Design Apisake Hongwitayakorn e: apisake@cp.su.ac.th w: http://www.cp.su.ac.th/~apisake/course/517341

2 What is this course all about? The fundamental of Digital Logic The fundamental of Digital Logic Binary numbers and relate number systems Binary numbers and relate number systems Digital circuit building block Digital circuit building block How to design How to design Combinational logic circuits Combinational logic circuits Sequential logic circuits Sequential logic circuits

3 Course Management

4 Class Lectures (2 hrs/week) Lectures (2 hrs/week) Apisake Hongwitayakorn Apisake Hongwitayakorn Time: Thu 8:30-10:15 Time: Thu 8:30-10:15 Venue: 1239 SciBldg-1 Venue: 1239 SciBldg-1 Labs (3 hrs/week) Labs (3 hrs/week) Noppadol Sukklomcheep Noppadol Sukklomcheep Time: Wed 12:05-14:45 Time: Wed 12:05-14:45 Venue: 1227 SciBldg-1 Venue: 1227 SciBldg-1

5 Assessment Lecture : Lab = 75% : 25% Lecture : Lab = 75% : 25% Lecture: Lecture: Assignments & Quizzes20% Assignments & Quizzes20% Midterm25% Midterm25% Final30% Final30% Lab: (details will be described) Lab: (details will be described) Attendance Attendance Lab Reports Lab Reports Midterm Midterm Final Final

6 Courseware Lecture: Lecture: Slides* Slides* A tool called “WinLogiLab”** A tool called “WinLogiLab”** Lab: Lab: Worksheets Worksheets * Will be available on my webpage. ** Get this from http://www.gu.edu.au/???

7 Introduction to Digital Systems

8 Digital Technology The term digital is derived from the way computer perform operations  by counting digits. The term digital is derived from the way computer perform operations  by counting digits. Today, digital tech is applied in a wide range of areas. Today, digital tech is applied in a wide range of areas. The tech has progressed from vacuum-tube to discrete transistors to complex ICs. The tech has progressed from vacuum-tube to discrete transistors to complex ICs.

9 Digital and Analog Quantities 2 categories of electronic circuits: 2 categories of electronic circuits: Analog Analog Digital Digital Analog quantity = continuous values Analog quantity = continuous values Digital quantity = a discrete set of values Digital quantity = a discrete set of values

10 Analog Quantity Most things in nature  analog form Most things in nature  analog form Temperature, pressure, distance, etc Temperature, pressure, distance, etc Smooth, continuous curve like this: Smooth, continuous curve like this: Temp Time

11 Digital Quantity Sampled-value representation (quantization) Sampled-value representation (quantization) Each dot can be digitized as a digital code (consists of 1s and 0s) Each dot can be digitized as a digital code (consists of 1s and 0s) Temp Time

12 Digital Advantages Digital data can be processed and transmitted more efficiently and reliably than analog data. Digital data can be processed and transmitted more efficiently and reliably than analog data. Digital data has a great advantage when storage is necessary. Digital data has a great advantage when storage is necessary. Let’s talk about digital music… Let’s talk about digital music…

13 Digital Music The media is very compact but higher-density (and counting): The media is very compact but higher-density (and counting): CDs CDs Memory cards Memory cards No more bulky and noise- prone media like cassette tape No more bulky and noise- prone media like cassette tape http:// www.dpreview.com/news/ 0303/sandisk512mb1gbsdcard.jpg http://www.wwwk.co.uk/images/homepage/compact-disc.jpg http://www.cricketsoda.com/images/music/cassette_tape.jpg

14 Digital systems are everywhere!!!

15 Binary Digits, Logic Levels, & Digital Waveforms

16 Binary Digits Binary system (either 0 or 1) Binary system (either 0 or 1) Bit (comes from binary digit) Bit (comes from binary digit) Digital circuits: Digital circuits: 1 represents HIGH voltage 1 represents HIGH voltage 0 represents LOW voltage 0 represents LOW voltage Groups of bits (combinations of 0s and 1s) are called codes Groups of bits (combinations of 0s and 1s) are called codes Being used to represent numbers, letters, symbols, (i.e. ASCII code), instructions, and etc. Being used to represent numbers, letters, symbols, (i.e. ASCII code), instructions, and etc.

17 Logic Levels The voltages used to represent a 1 and 0 are called logic levels. The voltages used to represent a 1 and 0 are called logic levels. Ideally, there is only HIGH (1) and LOW (0). Ideally, there is only HIGH (1) and LOW (0). Practically, there must be thresholds to determine which one is HIGH or LOW or neither of them. Practically, there must be thresholds to determine which one is HIGH or LOW or neither of them. CMOS CMOS (2V to 3.3V  HIGH) (2V to 3.3V  HIGH) (0V. To 0.8V  LOW) (0V. To 0.8V  LOW) HIGH (binary 1) Not allowed LOW (binary 0) V H(max) V H(min) V L(max) V L(min)

18 Digital Waveforms Voltage levels that are changing back and forth between HIGH and LOW Voltage levels that are changing back and forth between HIGH and LOW (Ideal) pulse (Ideal) pulse At t 0  leading edge, at t 1  trailing edge At t 0  leading edge, at t 1  trailing edge HIGH LOW Positive-going pulse Negative-going pulse t0t0 t1t1 t0t0 t1t1

19 Non-Ideal Pulse Rise time Fall time trtr tftf twtw Pulse width 90% 50% 10% Amplitude

20 Waveform Characteristics Waveforms = series of pulses (called pulse train) Waveforms = series of pulses (called pulse train) Periodic Periodic Period (T) = T 1 = T 2 = T 3 = … = T n Period (T) = T 1 = T 2 = T 3 = … = T n Frequency (f) = 1/T Frequency (f) = 1/T Nonperiodic Nonperiodic T1T1 T2T2 T3T3

21 Duty Cycle Ratio of the pulse width (t w ) to the period (T) Ratio of the pulse width (t w ) to the period (T) Duty cycle = ( t w / T ) x 100%

22 Example From a portion of a periodic waveform (as shown) determine: From a portion of a periodic waveform (as shown) determine: a) Period b) Frequency c) Duty cycle twtwtwtw T 011011t (ms)

23 Waveform & Binary Information Bit time 1 0 clock 1 0 A 101001100101 Bit sequence represented by waveform A

24 Data Transfer Binary data are transferred in two ways: Binary data are transferred in two ways: Serial – bits are sent one bit at a time Serial – bits are sent one bit at a time Parallel – all the bits in a group are sent out on separate lines at the same time (one line for each bit) Parallel – all the bits in a group are sent out on separate lines at the same time (one line for each bit) Serial over Parallel Serial over Parallel Advantage: less transmission line Advantage: less transmission line Disadvantage: takes more time Disadvantage: takes more time


Download ppt "517 341: Digital Logic Design Apisake Hongwitayakorn e: w:"

Similar presentations


Ads by Google