SlideShare a Scribd company logo
1 of 31
Digital Logic & Design
Lecture 01
Grading
• Midterm 25%
• Finalterm 50%
• Sessional: 25%
– Quizzes (5%)
– Assignments (10%)
– Project (10%)
Text Book
• Logic and Computer Design Fundamentals, 5th
Edition 2015 M. Morris Mano, Charles R Kime.
Digital System
• Takes a set of discrete information inputs and
discrete internal information (system state) and
generates a set of discrete information outputs.
System State
Discrete
Information
Processing
System
Discrete
Inputs Discrete
Outputs
A Digital Computer Example
Inputs:
Keyboard,
mouse,
modem,
microphone
Outputs:
CRT, LCD,
modem,
speakers
Memory
Control
unit Datapath
Input/Output
CPU
Analogue Quantities
Continuous Quantity
• Intensity of Light
• Temperature
• Velocity
The rise of continuous not discrete.
Digital Values
Discrete set of values
• Digital values on the other hand are a discrete
set of values which represent the actual
Continuous Signal
• Consider the continuous signal shown in the
diagram
Continuous Signal
0
5
10
15
20
25
30
35
40
45
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
time
temperature
0
C
Digital Values
• The continuous signal can be represented
digitally by taking samples at regular but fixed
intervals
• In this case 15 samples at regular time intervals
are collected
• The digital representation of the continuous
signal only approximates the original signal and
does not truly represent the original signal as can
be seen by plotting the digital values
Continuous Signal
1 2
4
7
34
25
23
37
29
42 41
25
22
18
35
0
5
10
15
20
25
30
35
40
45
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
time
temperature
0
C
Digital Representation
1 2
4
7
18
34
25
23
35
37
29
42 41
25
22
0
5
10
15
20
25
30
35
40
45
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
samples
temperature
0
C
The reconstructed continuous signal does not give an
exact replica of the original.
Under Sampling
0
5
10
15
20
25
30
35
40
45
1 3 5 7 9 11 13 15
samples
temperature
0
C
If the number of samples are collected at every odd interval
of time
Electronic Processing
• Analogue Systems
– deal with electronic signals or voltages that are
continuous and represent continuous quantities
– e.g. continuous temperature of 39 0C into 39 mVs and
42.75 0C into 42.75 mVs.
• Digital Systems
– deal with discrete electronic signals or voltages that
represent discrete or digital values
• Representing quantities in Digital Systems
– Do the Digital systems represent discrete values in
terms of voltages?
Representing Digital Values
39 0C ?
a1
1
a2
2
3
a3
4
a4
b1
b2
b3
b4
5
6
7
8
Vcc1
0
GND
0
1mV = 1
39mV
6.25 x 1015 V !!
Digital
System
6.25 x 1018 ?
6.25 x 1015 volts (6.25 x 1018 mV), is a very large voltage
value and can not be practically represented by any circuit.
Temperature Measurement and Display
Temperature Measurement and Display
Temperature Measurement and Display
Digital Systems
• Two Voltage Levels
– The two voltage levels represent two states
– A voltage level of 5v represents logic high or logic 1 state
and a voltage level of 0v represents logic low or logic 0
state.
• Two States
– On/Off
– Black/White
– Hot/Cold
– Stationary/Moving
Signal
• An information variable represented by physical quantity.
• For digital systems, the variable takes on discrete values.
• Two level, or binary values are the most prevalent values in
digital systems.
• Binary values are represented abstractly by:
– digits 0 and 1
– words (symbols) False (F) and True (T)
– words (symbols) Low (L) and High (H)
– and words On and Off.
• Binary values are represented by values or ranges of values of
physical quantities
Signal Examples Over Time
Analog
Asynchronous
Synchronous
Time
Continuous
in value &
time
Discrete in
value &
continuous
in time
Discrete in
value & time
Digital
Signal Example – Physical Quantity: Voltage
5.0
4.0
3.0
2.0
1.0
0.0
Volts
HIGH
LOW
HIGH
LOW
OUTPUT INPUT
Threshold
Region
Binary Number System
• Binary Numbers
– Allows only two numbers 0 and 1
– The Binary digit is called a bit
• Representing Multiple Values
– A combination of binary bits is used
– 2 bits allow 4 different values to be represented
– A temp of 39 is represented by a combination of six bits
100111
• Combination of 0v & 5v
– The number 39 is represented in a digital system by a
combination of voltage levels 5, 0, 0, 5, 5 and 5 volts
Merits of Digital Systems
• Efficient Processing & Data Storage
• Efficient & Reliable Transmission
• Detection and Correction of Errors
• Precise & Accurate Reproduction
• Easy Design and Implementation
• Occupy minimum space
Information Processing
• Numbers
– perform arithmetic operations on the numbers
• Text
– perform editing operations on text
• Formula and Equations
– mathematical and scientific formulas
• Drawings and Pictures
• Sound and Music
• All this diverse types of information is represented in
the form of binary numbers
Logic Gates
• Building Blocks
• AND, OR and NOT Gates
• NAND, NOR, XOR and XNOR Gates
• Integrated Circuits (ICs)
– Gates are available in the form of Integrated Circuits (ICs)
– Gates take one or more inputs and produce one output.
– Input/output are (0/1) bits (Low/High voltage)
Logic Gate Symbol and ICs
AND Gate OR Gate NOT Gate
NAND Gate
1
2
3
4
5
6
GND
Vcc
13
12
11
10
9
8
7400
NOR Gate XOR Gate XNOR Gate
NAND Gate IC
Combinational Circuits
• Combination of Logic Gates
• Adder Combinational Circuit
Adder Combinational Circuit
Sum
Carry
Functional Devices
• Commonly used functional ICs are
– Adders
– Comparators
– Encoders/Decoders
– Multiplexers/Demultiplexers
Abstraction Layers in Computer Systems Design
Algorithms
Programming Languages
Operating Systems
Instruction Set Architecture
Microarchitecture
Register Transfers
Logic Gates
Transistor Circuits
Summary
• Continuous Signals
• Digital Representation in Binary
• Information Processing
• Logic Gates

More Related Content

Similar to - DLD_Lecture_01.ppt

Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.pptAshishChandrakar12
 
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Ra'Fat Al-Msie'deen
 
Numbering system data representation
Numbering system data representationNumbering system data representation
Numbering system data representationsatonaka3
 
Logic design and switching theory
Logic design and switching theoryLogic design and switching theory
Logic design and switching theoryjomerson remorosa
 
Digital Logic Design Lecture 01
Digital Logic Design Lecture 01Digital Logic Design Lecture 01
Digital Logic Design Lecture 01shahzad ali
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptxLibanMohamed26
 
Binary computing
Binary computingBinary computing
Binary computingsamina khan
 
Digital Computer System Introduction - New
Digital Computer System Introduction - NewDigital Computer System Introduction - New
Digital Computer System Introduction - Newrajasekarandpm
 
Digital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptxDigital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptxhassankhan978073
 
EE8591 Digital Signal Processing Unit -1
EE8591 Digital Signal Processing Unit -1EE8591 Digital Signal Processing Unit -1
EE8591 Digital Signal Processing Unit -1racak35244
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversionEngr Ahmad Khan
 
ICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxssuser71a3af
 
Lec0.ppt
Lec0.pptLec0.ppt
Lec0.pptputmy
 
DE UNIT1.pptx
DE UNIT1.pptxDE UNIT1.pptx
DE UNIT1.pptxdeepaMS4
 

Similar to - DLD_Lecture_01.ppt (20)

Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
 
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"Logic Circuits Design - "Chapter 1: Digital Systems and Information"
Logic Circuits Design - "Chapter 1: Digital Systems and Information"
 
DLD_Lecture_notes2.ppt
DLD_Lecture_notes2.pptDLD_Lecture_notes2.ppt
DLD_Lecture_notes2.ppt
 
Numbering system data representation
Numbering system data representationNumbering system data representation
Numbering system data representation
 
Logic design and switching theory
Logic design and switching theoryLogic design and switching theory
Logic design and switching theory
 
Digital Logic Design Lecture 01
Digital Logic Design Lecture 01Digital Logic Design Lecture 01
Digital Logic Design Lecture 01
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 
Digital design chap 2
Digital design    chap 2Digital design    chap 2
Digital design chap 2
 
Introduction of digital system
Introduction of digital systemIntroduction of digital system
Introduction of digital system
 
Binary computing
Binary computingBinary computing
Binary computing
 
Digital Computer System Introduction - New
Digital Computer System Introduction - NewDigital Computer System Introduction - New
Digital Computer System Introduction - New
 
Digital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptxDigital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptx
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
 
EE8591 Digital Signal Processing Unit -1
EE8591 Digital Signal Processing Unit -1EE8591 Digital Signal Processing Unit -1
EE8591 Digital Signal Processing Unit -1
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Lecture_4.ppt
Lecture_4.pptLecture_4.ppt
Lecture_4.ppt
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
ICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptx
 
Lec0.ppt
Lec0.pptLec0.ppt
Lec0.ppt
 
DE UNIT1.pptx
DE UNIT1.pptxDE UNIT1.pptx
DE UNIT1.pptx
 

Recently uploaded

TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfcupulin
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnershipsexpandedwebsite
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................MirzaAbrarBaig5
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi RajagopalEADTU
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17Celine George
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxMarlene Maheu
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptxVishal Singh
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 

Recently uploaded (20)

Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
PSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptxPSYPACT- Practicing Over State Lines May 2024.pptx
PSYPACT- Practicing Over State Lines May 2024.pptx
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 

- DLD_Lecture_01.ppt

  • 1. Digital Logic & Design Lecture 01
  • 2. Grading • Midterm 25% • Finalterm 50% • Sessional: 25% – Quizzes (5%) – Assignments (10%) – Project (10%)
  • 3. Text Book • Logic and Computer Design Fundamentals, 5th Edition 2015 M. Morris Mano, Charles R Kime.
  • 4. Digital System • Takes a set of discrete information inputs and discrete internal information (system state) and generates a set of discrete information outputs. System State Discrete Information Processing System Discrete Inputs Discrete Outputs
  • 5. A Digital Computer Example Inputs: Keyboard, mouse, modem, microphone Outputs: CRT, LCD, modem, speakers Memory Control unit Datapath Input/Output CPU
  • 6. Analogue Quantities Continuous Quantity • Intensity of Light • Temperature • Velocity The rise of continuous not discrete.
  • 7. Digital Values Discrete set of values • Digital values on the other hand are a discrete set of values which represent the actual Continuous Signal • Consider the continuous signal shown in the diagram
  • 8. Continuous Signal 0 5 10 15 20 25 30 35 40 45 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 time temperature 0 C
  • 9. Digital Values • The continuous signal can be represented digitally by taking samples at regular but fixed intervals • In this case 15 samples at regular time intervals are collected • The digital representation of the continuous signal only approximates the original signal and does not truly represent the original signal as can be seen by plotting the digital values
  • 10. Continuous Signal 1 2 4 7 34 25 23 37 29 42 41 25 22 18 35 0 5 10 15 20 25 30 35 40 45 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 time temperature 0 C
  • 11. Digital Representation 1 2 4 7 18 34 25 23 35 37 29 42 41 25 22 0 5 10 15 20 25 30 35 40 45 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 samples temperature 0 C The reconstructed continuous signal does not give an exact replica of the original.
  • 12. Under Sampling 0 5 10 15 20 25 30 35 40 45 1 3 5 7 9 11 13 15 samples temperature 0 C If the number of samples are collected at every odd interval of time
  • 13. Electronic Processing • Analogue Systems – deal with electronic signals or voltages that are continuous and represent continuous quantities – e.g. continuous temperature of 39 0C into 39 mVs and 42.75 0C into 42.75 mVs. • Digital Systems – deal with discrete electronic signals or voltages that represent discrete or digital values • Representing quantities in Digital Systems – Do the Digital systems represent discrete values in terms of voltages?
  • 14. Representing Digital Values 39 0C ? a1 1 a2 2 3 a3 4 a4 b1 b2 b3 b4 5 6 7 8 Vcc1 0 GND 0 1mV = 1 39mV 6.25 x 1015 V !! Digital System 6.25 x 1018 ? 6.25 x 1015 volts (6.25 x 1018 mV), is a very large voltage value and can not be practically represented by any circuit.
  • 18. Digital Systems • Two Voltage Levels – The two voltage levels represent two states – A voltage level of 5v represents logic high or logic 1 state and a voltage level of 0v represents logic low or logic 0 state. • Two States – On/Off – Black/White – Hot/Cold – Stationary/Moving
  • 19. Signal • An information variable represented by physical quantity. • For digital systems, the variable takes on discrete values. • Two level, or binary values are the most prevalent values in digital systems. • Binary values are represented abstractly by: – digits 0 and 1 – words (symbols) False (F) and True (T) – words (symbols) Low (L) and High (H) – and words On and Off. • Binary values are represented by values or ranges of values of physical quantities
  • 20. Signal Examples Over Time Analog Asynchronous Synchronous Time Continuous in value & time Discrete in value & continuous in time Discrete in value & time Digital
  • 21. Signal Example – Physical Quantity: Voltage 5.0 4.0 3.0 2.0 1.0 0.0 Volts HIGH LOW HIGH LOW OUTPUT INPUT Threshold Region
  • 22. Binary Number System • Binary Numbers – Allows only two numbers 0 and 1 – The Binary digit is called a bit • Representing Multiple Values – A combination of binary bits is used – 2 bits allow 4 different values to be represented – A temp of 39 is represented by a combination of six bits 100111 • Combination of 0v & 5v – The number 39 is represented in a digital system by a combination of voltage levels 5, 0, 0, 5, 5 and 5 volts
  • 23. Merits of Digital Systems • Efficient Processing & Data Storage • Efficient & Reliable Transmission • Detection and Correction of Errors • Precise & Accurate Reproduction • Easy Design and Implementation • Occupy minimum space
  • 24. Information Processing • Numbers – perform arithmetic operations on the numbers • Text – perform editing operations on text • Formula and Equations – mathematical and scientific formulas • Drawings and Pictures • Sound and Music • All this diverse types of information is represented in the form of binary numbers
  • 25. Logic Gates • Building Blocks • AND, OR and NOT Gates • NAND, NOR, XOR and XNOR Gates • Integrated Circuits (ICs) – Gates are available in the form of Integrated Circuits (ICs) – Gates take one or more inputs and produce one output. – Input/output are (0/1) bits (Low/High voltage)
  • 26. Logic Gate Symbol and ICs AND Gate OR Gate NOT Gate NAND Gate 1 2 3 4 5 6 GND Vcc 13 12 11 10 9 8 7400 NOR Gate XOR Gate XNOR Gate NAND Gate IC
  • 27. Combinational Circuits • Combination of Logic Gates • Adder Combinational Circuit
  • 29. Functional Devices • Commonly used functional ICs are – Adders – Comparators – Encoders/Decoders – Multiplexers/Demultiplexers
  • 30. Abstraction Layers in Computer Systems Design Algorithms Programming Languages Operating Systems Instruction Set Architecture Microarchitecture Register Transfers Logic Gates Transistor Circuits
  • 31. Summary • Continuous Signals • Digital Representation in Binary • Information Processing • Logic Gates