Chapter 1
Chapter 1
Chapter 1
Analog Representations
The quantity are represented by a voltage, current, or
meter movement that is proportional to the value of
that quantity. (e.g. microphone)
Digital Representations
Thequantity are represented not by proportional
quantities but by symbols called digits. (e.g. digital
watch)
Which of the following involve
analog or digital quantities?
a) Ten-position switch
b) Current flowing out of an electric outlet
c) Temperature of a room
d) Sand grains on the beach
e) Automobile speedometer
Analog = continuous
Digital = discrete (step-by-step)
Analog and Digital Data and Signal
▪ Analog and digital data
Data can be analog or digital.
Analog data are continuous and take continuous values.
Digital data have discrete states and take discrete values.
▪ Signals can be analog or digital.
Analog signals can have an infinite number of values in a range.
Digital signals can have only a limited number of values.
Digital Electronics
• Digital Electronics represents information (0, 1) with only two
discrete values.
Ideally
“no voltage” (e.g., 0v) represents a 0 and
“full source voltage” (e.g., 5v) represents a 1
Realistically
“low voltage” (e.g., <1v) represents a 0 and
“high voltage” (e.g., >4v) represents a 1
• We achieve these discrete values by using switches.
• We use transistor switches, which operates at high speed,
electronically, a small in size.
Electronic Aspects of Digital Design
traffic lights
Animation
What is a system?
Analog system
Digital system
Advantages of Digital Techniques
Decimal
Binary
Octal
Hexadecimal
Decimal System
NOT
AND
OR
Overview of Basic Logic Functions
Comparison
Arithmetic
Code Conversion
Encoding
Decoding
Data Selection
Storage
Counting
Comparison Function
Arithmetic Function
Encoding Function
Decoding Function
Data Selection Function
Storage Function
Counting Function
Introduction to Programmable Logic
Simple Programmable Logic Device
Complex Programmable Logic Device
Field Programmable Gate Array
Data Transfer
Data Transfer
Data Transfer
speed
vs.
circuit simplicity
Memory
1. Input unit
A complete set of instructions and data is fed into the computer
system and into the memory unit (e.g. keyboard or a disk).
2. Memory unit
It stores the instructions and data received from the input unit.
It stores the results of arithmetic operations received from the
arithmetic unit.
It supplies information to the output unit.
Major Parts of a Computer
3. Control unit
It takes instructions from the memory unit one at a time and
interprets them.
It then sends appropriate signals to all other units to be executed.
4. Arithmetic logic unit
All arithmetic and logical decisions are performed in this unit, which
can then send results to the memory unit to be stored.
5. Output unit
It takes data from the memory unit and prints out, displays, or otherwise
presents the information to the operator.
Microcomputers, Microprocessors,
and Microcontrollers
Trivia