EE221 Lecture 1 - 1
EE221 Lecture 1 - 1
Chapter 1:
Digital Systems and Binary Numbers
1
Basic Terminologies
• Digital systems first transform the analog waves to limited set of numbers
and then record them as digital square waves.
Basic Terminologies
- Stored program
- Control unit: IC: Directs operations within a computer's processor: How
to respond to instructions received from a program
- Arithmetic computations and logical operations
Digital System
• Digital Systems represent systems that understand, represent and manipulate
discrete elements
– A discrete element is any set that has a finite number of elements, for
example 10 decimal digits, 26 letters of the alphabet, etc.
• The signals in most electronic digital systems use two discrete values,
termed binary
• Digital System takes a set of discrete information inputs and discrete internal
information (system state) and generates a set of discrete information outputs
Digital System
• Digital computers
– Many scientific, industrial and commercial applications
• Digital systems
– Digital Camera, Mobile Phone
– Electronic Calculators, PDA's, Tabs
– Digital TV
• Discrete information-processing systems
• Why binary?
– Reliability: A transistor circuit is either on or off (two stable
states)
• The corresponding binary voltage levels in digital circuits have two states: a high-voltage
state corresponding to logical 1 and a low voltage state corresponding to logical 0.
• System States: When memory is being allocated or freed in the case of a system call that
gets or releases memory (while a system memory management function is called).
Discrete
Discrete
Information
Inputs
Processing
System Discrete
Outputs
System State
Digital System: State
•The binary information must have a
physical existence in some medium for
storing individual bits
• 1011001010011100
LSB – least significant bit
15 0
• Bit numbering
AND Gate
Hexadecimal
(base16)
Radix point is the symbol used to separate the integer part of a number from its fractional
part.
• Convert the integer portion
r-Decimal Conversion • Convert the fraction portion
• Join the two with radix point
• In general (Number)r = i n 1
i 0
ai r i
j 1
a
j m j
r j
(Integer Portion) + (Fraction Portion)
Radix point is the symbol used to separate the integer part of a number from its fractional
part.
Decimal-r Conversion
• If a decimal number has a radix point, it is necessary to separate
the number into an integer part and a fraction part.
• The conversion of a decimal integer into a number in base-r is
done by dividing the number and all successive quotients by r
and accumulating the remainders in reverse order of
computation.
• For example, to convert decimal 13 to binary:
Integer
Remainder Coefficient
Quotient
13/2 = 6 + 1 a0 = 1
6/2 = 3 + 0 a1 = 0
3/2 = 1 + 1 a2 = 1
1/2 = 0 + 1 a3 = 1
(37)10 = 100101
Decimal-r Conversion (converting fraction)
Answer = (0.1011)2
Decimal-r Conversion (converting fraction)