SlideShare a Scribd company logo
1 of 28
IS 151 Digital Circuitry 1
IS 151
Digital Circuitry
Aron Kondoro
IS 151 Digital Circuitry 2
Materials, Assessment and Contact
• Book
– Digital Fundamentals, Floyd, T.F
– http://www.amazon.com/Digital-Fundamentals/dp/1292075988/
• Laboratory Software
– Deeds Digital Circuit Simulator
http://www.esng.dibe.unige.it/deeds/
• Assessment:
– 60% Exam
– 40% Coursework
• Test(s), Lab, Exercise(s), Project(s)
• Contact
– My contact is through your Class Representative
IS 151 Digital Circuitry 3
Materials, Assessment and Contact
• Additional recommended materials
– Books => Next slide
– Website: http://www.allaboutcircuits.com/vol_4/
– Google
Books
• Gregg, J. R., & John, G. (1998). Ones and zeros: Understanding
Boolean algebra, digital circuits, and the logic of sets (1st ed.). New
York: IEEE Publications,U.S.
• Harris, D. M., & Harris, S. L. (2012). Digital design and computer
architecture (2nd ed.). Waltham, MA: Morgan Kaufmann Publishers
In.
• Maxfield, C. (2008). Bebop to the boolean boogie: An
unconventional guide to electronics (3rd ed.). Oxford: Newnes (an
imprint of Butterworth-Heinemann Ltd ).
• Nisan, N., & Schocken, S. (2008). The elements of computing
systems: Building a modern computer from First principles (history
of computing S.). United States: The MIT Press.
• Petzold, C. (2000). Code: The hidden language of computer
hardware and software (2nd ed.). United States: Microsoft
Press,U.S.
• Scott, C. J. (2009). But how do it know? The basic principles of
computers for everyone. United States: John C Scott.
IS 151 Digital Circuitry 4
Introduction
• Digital systems are everywhere i.e. microprocessors
– Laptops, automobiles, mobile phones etc.
• These systems are very complex
– Billions of transistors, many components
• How are they designed? – ABSTRACTION
– Hiding details when not important
IS 151 Digital Circuitry 5
Levels of abstraction – Electronic
Computing System
IS 151 Digital Circuitry 6
IS 151 Digital Circuitry 7
Digital vs. Analog Quantities
• Electronic circuits can be divided into two broad
categories
– 1. Analog Quantities
• Quantities with continuous values (most things that can be measured
quantitatively).
• e.g. air temperature changes over a continuous range of values;
temperature does not change from, say 70 to 71 instantaneously; it
takes on all infinite values in between: see graph
• Other examples: time, pressure, distance and sound
IS 151 Digital Circuitry 8
Digital vs. Analog Quantities
• Diagram: Temperature graph
100
95
90
85
80
75
70
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
A.M P.M
Temperature (F)
Time of Day
Analog technologies
IS 151 Digital Circuitry 9
IS 151 Digital Circuitry 10
Digital vs. Analog Quantities
• Suppose temperature values are taken every hour (sampling), the
graph will look like:
IS 151 Digital Circuitry 11
Digital vs. Analog Quantities
• Diagram: Sampled Temperature graph (page 3)
100
95
90
85
80
75
70
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12
A.M P.M
Temperature (F)
Time of Day
IS 151 Digital Circuitry 12
Digital vs. Analog Quantities
• The sampled values represent the temperature at
discrete points over a 24-hour period.
– i.e. 1,2,3 etc, which are discrete
• The analog quantity (temperature) have been converted
to a form that can be represented in digital form
IS 151 Digital Circuitry 13
Digital vs. Analog Quantities
– 2. Digital Quantities
• Quantities with discrete values
• Data can be processed and transmitted more efficiently and
reliably
• Useful in data storage: e.g. music when converted to digital
can be stored more compactly (e.g.mp3 music)
Digital vs. Analog
• Stairs vs. Ramp
IS 151 Digital Circuitry 14
Advantages of Digital
• Immune to noise, distortion
• Can be duplicated easily
– Copying a cd vs copying a tape
IS 151 Digital Circuitry 15
IS 151 Digital Circuitry 16
Data Representation Basics
• Computing systems are complex devices, dealing with a variety of
information categories
• Computing systems store, present, and modify:
– Text
– Audio
– Images and graphics
– Video
– Etc.
IS 151 Digital Circuitry 17
Binary Representation
• Why binary representation (as opposed to decimal or octal, etc..)?
– Cost
• Devices that store and manage digital data are far less expensive and complex for
binary representation.
– Reliability
• More reliable when they have to represent one out of only two possible values.
– Handling
• Electronic signals are easier to maintain if they carry only binary data.
IS 151 Digital Circuitry 18
Binary Representation
• One bit can either be 0 or 1.
– Therefore, one bit can represent only two things – 1 and 0
• To represent more than two things, multiple bits are needed
– Two bits can represent four things because there are four combinations of
0 and 1 that can be made from two bits: 00, 01, 10, 11.
• In general, n bits can represent 2n things because there are 2n
combinations of 0 and 1 that can be made from n bits.
IS 151 Digital Circuitry 19
Data Formats - How to Interpret Data
• Internal representation must be appropriate
– E.g. Images, sound, and video: have to be digitized
• Images – need detailed description of the data, how color is
represented at each data point
• Sound – need sampling, digitizing
• Video – need sampling and digitizing in space and time (because of
motion)
IS 151 Digital Circuitry 20
Codes and Characters
• The problem:
– Representing text strings, such as
Hello, world in a computer
• Each character is coded as a byte (8 bits)
– including blank spaces, commas, full stops
• Most common coding system is ASCII
• To represent alphanumeric characters – 8 bits per character
– 7-bit code : 27 = 128 codes are used (128 characters can be represented)
– 8th bit is unused (or used for a parity bit)
• Two types of codes:
– 95 are “Graphic” codes (visible)
• Alphabetic, numeric and punctuation characters
– 33 are “Control” codes (control features)
• Shift, delete, enter, etc.
IS 151 Digital Circuitry 21
Binary Digits
– In digital electronics, there are only two possible states and can
be represented by
• two different voltage levels: HIGH and LOW
• current levels: OPEN and CLOSED
• lamps: ON and OFF
– The two states are called codes, and combinations of the two
are used to represent numbers, symbols, alphabetic characters
and other types of information
IS 151 Digital Circuitry 22
Binary Digits
– The two-state number system is called binary, and the two
digits in the binary system are 0 and 1.
• A binary digit is called a bit (binary digit).
– In digital circuits, two voltage levels are used to represent the
two bits
• 1 – represented by a high voltage level (HIGH)
• 0 – represented by a low voltage level (LOW)
– POSITIVE LOGIC – will be used throughout!
– C.f. NEGATIVE logic:, 1 – LOW, 0 – HIGH
IS 151 Digital Circuitry 23
Logic Levels
– Logic levels are voltages used to represent a 1 and a 0.
– One voltage level represents a HIGH and one voltage level
represents a LOW.
– Practically, a HIGH or a LOW can be any voltage between a
specified minimum value and a specified maximum.
IS 151 Digital Circuitry 24
Logic Levels
• Diagram: Logic level ranges (page 5)
• From the figure, VH(max) and VH(min) represent the maximum and minimum HIGH voltage
values, respectively
• VL(max) and VL(min) represent the maximum and minimum LOW voltage values,
respectively.
• The range of voltages between VL(max) and VH(min) is a range of uncertainty; a voltage in
the range of uncertainty can appear as either a HIGH or a LOW.
HIGH (1)
LOW (0)
Uncertain
VH(max)
VH(min)
VL(max)
VL(min)
IS 151 Digital Circuitry 25
Logic Levels
• Examples:
– The high values of a certain digital circuit may range from 2 V
to 5 V and the LOW values from 0 V to 0.8 V.
– If a voltage of 3.5 is applied, the circuit will accept it as a HIGH
(or binary 1); a voltage of 0.5 V will be accepted as a LOW
(binary 0); a voltage of 1 V will be uncertain
IS 151 Digital Circuitry 26
Questions
• Differentiate between a digital and an analog quantity
• Give examples of digital and analog systems
• Classify the following into analog (continuous) or digital (discrete)
– (a) Shades of colours in a TV program about landscapes
– (b) TV screen test pattern, white background, black dots only
– (c) Days in a week, Mon, Tues, Wed, Thurs, Fri, Sat, Sun.
– (d) Sine wave
– (e) A musical symphony
– (f) Chairs/seats in a room
– (g) Integers -2, -1, 0, 1, 2, 3,...
– (h) All real numbers
Further reading
• Bebop to the Boolean Boogie – chapter 1
• Digital design and computer architecture – section(s) 1.1,
1.2, 1.3
• Digital fundamentals – section 1.1
IS 151 Digital Circuitry 27
IS 151 Digital Circuitry 28
• End of Lecture

More Related Content

What's hot

More on number system
More on number systemMore on number system
More on number systemsamina khan
 
Digital Electronics Notes
Digital Electronics Notes Digital Electronics Notes
Digital Electronics Notes Srikrishna Thota
 
1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegersirdginfo
 
Digital Electronics Notes
Digital Electronics NotesDigital Electronics Notes
Digital Electronics NotesMathankumar S
 
Binary computing
Binary computingBinary computing
Binary computingsamina khan
 
Degital 1
Degital 1Degital 1
Degital 1hnaita
 
Lecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of ThingsLecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of ThingsAlexandru Radovici
 
Electronics for the Internet of Things
Electronics for the Internet of ThingsElectronics for the Internet of Things
Electronics for the Internet of ThingsAlexandru Radovici
 
Digital electronics introduction
Digital electronics introductionDigital electronics introduction
Digital electronics introductionvanitabatra1
 
Only floating point lecture 7 (1)
Only floating point lecture 7 (1)Only floating point lecture 7 (1)
Only floating point lecture 7 (1)talhashahid40
 
Decimal number system
Decimal number systemDecimal number system
Decimal number systemNisarg Amin
 
Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system CT Sabariah Salihin
 
6. introduction to digital electronics
6. introduction to digital electronics6. introduction to digital electronics
6. introduction to digital electronicsSajjad Mehmood
 

What's hot (20)

Decppt
DecpptDecppt
Decppt
 
More on number system
More on number systemMore on number system
More on number system
 
Digital Electronics Notes
Digital Electronics Notes Digital Electronics Notes
Digital Electronics Notes
 
1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers1 number systems-unsignedsignedintegers
1 number systems-unsignedsignedintegers
 
Digital Electronics Notes
Digital Electronics NotesDigital Electronics Notes
Digital Electronics Notes
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
Introduction of digital system
Introduction of digital systemIntroduction of digital system
Introduction of digital system
 
Chapter 2 ee202 boolean part a
Chapter 2 ee202 boolean part aChapter 2 ee202 boolean part a
Chapter 2 ee202 boolean part a
 
Binary computing
Binary computingBinary computing
Binary computing
 
Degital 1
Degital 1Degital 1
Degital 1
 
Binary
BinaryBinary
Binary
 
Lecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of ThingsLecture 2 - Electronics for the Internet of Things
Lecture 2 - Electronics for the Internet of Things
 
Electronics for the Internet of Things
Electronics for the Internet of ThingsElectronics for the Internet of Things
Electronics for the Internet of Things
 
Digital electronics introduction
Digital electronics introductionDigital electronics introduction
Digital electronics introduction
 
Only floating point lecture 7 (1)
Only floating point lecture 7 (1)Only floating point lecture 7 (1)
Only floating point lecture 7 (1)
 
Objective Questions Digital Electronics
Objective Questions Digital ElectronicsObjective Questions Digital Electronics
Objective Questions Digital Electronics
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 
Number System
Number SystemNumber System
Number System
 
Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system Ee 202 chapter 1 number and code system
Ee 202 chapter 1 number and code system
 
6. introduction to digital electronics
6. introduction to digital electronics6. introduction to digital electronics
6. introduction to digital electronics
 

Similar to IS 151 Lecture 1 (2015)

digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxabelllll
 
- DLD_Lecture_01.ppt
- DLD_Lecture_01.ppt- DLD_Lecture_01.ppt
- DLD_Lecture_01.pptAurora358969
 
ICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxssuser71a3af
 
IntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.pptIntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.pptYogeshNeelappa2
 
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
 
Digital electronics
Digital electronicsDigital electronics
Digital electronicscallr
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.pptAshishChandrakar12
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CAvinash Reddy Penugonda
 
Digital electronics-Introduction.pptx
Digital electronics-Introduction.pptxDigital electronics-Introduction.pptx
Digital electronics-Introduction.pptxSubrata Maiti
 
Digital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptxDigital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptxhassankhan978073
 
computer logic and digital design chapter 1
computer logic and digital design chapter 1computer logic and digital design chapter 1
computer logic and digital design chapter 1tendaisigauke3
 
3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdf
3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdf3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdf
3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdfVirangPatel15
 

Similar to IS 151 Lecture 1 (2015) (20)

digital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptxdigital-electronics lecture Ch 1and 2 -1.pptx
digital-electronics lecture Ch 1and 2 -1.pptx
 
- DLD_Lecture_01.ppt
- DLD_Lecture_01.ppt- DLD_Lecture_01.ppt
- DLD_Lecture_01.ppt
 
DLD-unit-1(2022).pdf
DLD-unit-1(2022).pdfDLD-unit-1(2022).pdf
DLD-unit-1(2022).pdf
 
Chapter 1.pptx
Chapter 1.pptxChapter 1.pptx
Chapter 1.pptx
 
DLD_Lecture_notes2.ppt
DLD_Lecture_notes2.pptDLD_Lecture_notes2.ppt
DLD_Lecture_notes2.ppt
 
ICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptxICS 2205 Chapter 1 - Introduction.pptx
ICS 2205 Chapter 1 - Introduction.pptx
 
IntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.pptIntroductiontoDigitalElectronics2022-23.ppt
IntroductiontoDigitalElectronics2022-23.ppt
 
Digital design chap 2
Digital design    chap 2Digital design    chap 2
Digital design chap 2
 
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"
 
chapter 1.pptx
chapter 1.pptxchapter 1.pptx
chapter 1.pptx
 
Lecture 01 dld 2018
Lecture 01 dld  2018Lecture 01 dld  2018
Lecture 01 dld 2018
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 
Boolean Algebra Arithmetic SIG UNSIGN.ppt
Boolean Algebra  Arithmetic SIG UNSIGN.pptBoolean Algebra  Arithmetic SIG UNSIGN.ppt
Boolean Algebra Arithmetic SIG UNSIGN.ppt
 
Chapter1
Chapter1Chapter1
Chapter1
 
Embedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded CEmbedded Application on Microcontroller in Assembly and Embedded C
Embedded Application on Microcontroller in Assembly and Embedded C
 
Digital electronics-Introduction.pptx
Digital electronics-Introduction.pptxDigital electronics-Introduction.pptx
Digital electronics-Introduction.pptx
 
Digital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptxDigital Logic Design Lecturbbbbe 01.pptx
Digital Logic Design Lecturbbbbe 01.pptx
 
Chapter1.ppt
Chapter1.pptChapter1.ppt
Chapter1.ppt
 
computer logic and digital design chapter 1
computer logic and digital design chapter 1computer logic and digital design chapter 1
computer logic and digital design chapter 1
 
3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdf
3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdf3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdf
3110016_BE_GTU_Study_Material_e-Notes_6_02052020063009AM.pdf
 

Recently uploaded

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsHyundai Motor Group
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter RoadsSnow Chain-Integrated Tire for a Safe Drive on Winter Roads
Snow Chain-Integrated Tire for a Safe Drive on Winter Roads
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 

IS 151 Lecture 1 (2015)

  • 1. IS 151 Digital Circuitry 1 IS 151 Digital Circuitry Aron Kondoro
  • 2. IS 151 Digital Circuitry 2 Materials, Assessment and Contact • Book – Digital Fundamentals, Floyd, T.F – http://www.amazon.com/Digital-Fundamentals/dp/1292075988/ • Laboratory Software – Deeds Digital Circuit Simulator http://www.esng.dibe.unige.it/deeds/ • Assessment: – 60% Exam – 40% Coursework • Test(s), Lab, Exercise(s), Project(s) • Contact – My contact is through your Class Representative
  • 3. IS 151 Digital Circuitry 3 Materials, Assessment and Contact • Additional recommended materials – Books => Next slide – Website: http://www.allaboutcircuits.com/vol_4/ – Google
  • 4. Books • Gregg, J. R., & John, G. (1998). Ones and zeros: Understanding Boolean algebra, digital circuits, and the logic of sets (1st ed.). New York: IEEE Publications,U.S. • Harris, D. M., & Harris, S. L. (2012). Digital design and computer architecture (2nd ed.). Waltham, MA: Morgan Kaufmann Publishers In. • Maxfield, C. (2008). Bebop to the boolean boogie: An unconventional guide to electronics (3rd ed.). Oxford: Newnes (an imprint of Butterworth-Heinemann Ltd ). • Nisan, N., & Schocken, S. (2008). The elements of computing systems: Building a modern computer from First principles (history of computing S.). United States: The MIT Press. • Petzold, C. (2000). Code: The hidden language of computer hardware and software (2nd ed.). United States: Microsoft Press,U.S. • Scott, C. J. (2009). But how do it know? The basic principles of computers for everyone. United States: John C Scott. IS 151 Digital Circuitry 4
  • 5. Introduction • Digital systems are everywhere i.e. microprocessors – Laptops, automobiles, mobile phones etc. • These systems are very complex – Billions of transistors, many components • How are they designed? – ABSTRACTION – Hiding details when not important IS 151 Digital Circuitry 5
  • 6. Levels of abstraction – Electronic Computing System IS 151 Digital Circuitry 6
  • 7. IS 151 Digital Circuitry 7 Digital vs. Analog Quantities • Electronic circuits can be divided into two broad categories – 1. Analog Quantities • Quantities with continuous values (most things that can be measured quantitatively). • e.g. air temperature changes over a continuous range of values; temperature does not change from, say 70 to 71 instantaneously; it takes on all infinite values in between: see graph • Other examples: time, pressure, distance and sound
  • 8. IS 151 Digital Circuitry 8 Digital vs. Analog Quantities • Diagram: Temperature graph 100 95 90 85 80 75 70 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 A.M P.M Temperature (F) Time of Day
  • 9. Analog technologies IS 151 Digital Circuitry 9
  • 10. IS 151 Digital Circuitry 10 Digital vs. Analog Quantities • Suppose temperature values are taken every hour (sampling), the graph will look like:
  • 11. IS 151 Digital Circuitry 11 Digital vs. Analog Quantities • Diagram: Sampled Temperature graph (page 3) 100 95 90 85 80 75 70 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 4 5 6 7 8 9 10 11 12 A.M P.M Temperature (F) Time of Day
  • 12. IS 151 Digital Circuitry 12 Digital vs. Analog Quantities • The sampled values represent the temperature at discrete points over a 24-hour period. – i.e. 1,2,3 etc, which are discrete • The analog quantity (temperature) have been converted to a form that can be represented in digital form
  • 13. IS 151 Digital Circuitry 13 Digital vs. Analog Quantities – 2. Digital Quantities • Quantities with discrete values • Data can be processed and transmitted more efficiently and reliably • Useful in data storage: e.g. music when converted to digital can be stored more compactly (e.g.mp3 music)
  • 14. Digital vs. Analog • Stairs vs. Ramp IS 151 Digital Circuitry 14
  • 15. Advantages of Digital • Immune to noise, distortion • Can be duplicated easily – Copying a cd vs copying a tape IS 151 Digital Circuitry 15
  • 16. IS 151 Digital Circuitry 16 Data Representation Basics • Computing systems are complex devices, dealing with a variety of information categories • Computing systems store, present, and modify: – Text – Audio – Images and graphics – Video – Etc.
  • 17. IS 151 Digital Circuitry 17 Binary Representation • Why binary representation (as opposed to decimal or octal, etc..)? – Cost • Devices that store and manage digital data are far less expensive and complex for binary representation. – Reliability • More reliable when they have to represent one out of only two possible values. – Handling • Electronic signals are easier to maintain if they carry only binary data.
  • 18. IS 151 Digital Circuitry 18 Binary Representation • One bit can either be 0 or 1. – Therefore, one bit can represent only two things – 1 and 0 • To represent more than two things, multiple bits are needed – Two bits can represent four things because there are four combinations of 0 and 1 that can be made from two bits: 00, 01, 10, 11. • In general, n bits can represent 2n things because there are 2n combinations of 0 and 1 that can be made from n bits.
  • 19. IS 151 Digital Circuitry 19 Data Formats - How to Interpret Data • Internal representation must be appropriate – E.g. Images, sound, and video: have to be digitized • Images – need detailed description of the data, how color is represented at each data point • Sound – need sampling, digitizing • Video – need sampling and digitizing in space and time (because of motion)
  • 20. IS 151 Digital Circuitry 20 Codes and Characters • The problem: – Representing text strings, such as Hello, world in a computer • Each character is coded as a byte (8 bits) – including blank spaces, commas, full stops • Most common coding system is ASCII • To represent alphanumeric characters – 8 bits per character – 7-bit code : 27 = 128 codes are used (128 characters can be represented) – 8th bit is unused (or used for a parity bit) • Two types of codes: – 95 are “Graphic” codes (visible) • Alphabetic, numeric and punctuation characters – 33 are “Control” codes (control features) • Shift, delete, enter, etc.
  • 21. IS 151 Digital Circuitry 21 Binary Digits – In digital electronics, there are only two possible states and can be represented by • two different voltage levels: HIGH and LOW • current levels: OPEN and CLOSED • lamps: ON and OFF – The two states are called codes, and combinations of the two are used to represent numbers, symbols, alphabetic characters and other types of information
  • 22. IS 151 Digital Circuitry 22 Binary Digits – The two-state number system is called binary, and the two digits in the binary system are 0 and 1. • A binary digit is called a bit (binary digit). – In digital circuits, two voltage levels are used to represent the two bits • 1 – represented by a high voltage level (HIGH) • 0 – represented by a low voltage level (LOW) – POSITIVE LOGIC – will be used throughout! – C.f. NEGATIVE logic:, 1 – LOW, 0 – HIGH
  • 23. IS 151 Digital Circuitry 23 Logic Levels – Logic levels are voltages used to represent a 1 and a 0. – One voltage level represents a HIGH and one voltage level represents a LOW. – Practically, a HIGH or a LOW can be any voltage between a specified minimum value and a specified maximum.
  • 24. IS 151 Digital Circuitry 24 Logic Levels • Diagram: Logic level ranges (page 5) • From the figure, VH(max) and VH(min) represent the maximum and minimum HIGH voltage values, respectively • VL(max) and VL(min) represent the maximum and minimum LOW voltage values, respectively. • The range of voltages between VL(max) and VH(min) is a range of uncertainty; a voltage in the range of uncertainty can appear as either a HIGH or a LOW. HIGH (1) LOW (0) Uncertain VH(max) VH(min) VL(max) VL(min)
  • 25. IS 151 Digital Circuitry 25 Logic Levels • Examples: – The high values of a certain digital circuit may range from 2 V to 5 V and the LOW values from 0 V to 0.8 V. – If a voltage of 3.5 is applied, the circuit will accept it as a HIGH (or binary 1); a voltage of 0.5 V will be accepted as a LOW (binary 0); a voltage of 1 V will be uncertain
  • 26. IS 151 Digital Circuitry 26 Questions • Differentiate between a digital and an analog quantity • Give examples of digital and analog systems • Classify the following into analog (continuous) or digital (discrete) – (a) Shades of colours in a TV program about landscapes – (b) TV screen test pattern, white background, black dots only – (c) Days in a week, Mon, Tues, Wed, Thurs, Fri, Sat, Sun. – (d) Sine wave – (e) A musical symphony – (f) Chairs/seats in a room – (g) Integers -2, -1, 0, 1, 2, 3,... – (h) All real numbers
  • 27. Further reading • Bebop to the Boolean Boogie – chapter 1 • Digital design and computer architecture – section(s) 1.1, 1.2, 1.3 • Digital fundamentals – section 1.1 IS 151 Digital Circuitry 27
  • 28. IS 151 Digital Circuitry 28 • End of Lecture