Week 1 Handouts
Week 1 Handouts
hap
ter
Goals and objectives 1
2
C C
hap hap
ter ter
References 1
3
Grading 1
4
C C
hap hap
ter ter
Overview of Chapter 1 1
5
What is a Digital System? 1
6
One characteristic:
Digital Systems, Computers Ability of manipulating discrete elements of
information
Information Representation
A set that has a finite number of elements contains
Number Systems [binary, octal and discrete information
hexadecimal]
Examples for discrete sets
Arithmetic Operations Decimal digits {0, 1, …, 9}
Alphabet {A, B, …, Y, Z}
Base Conversion Binary digits {0, 1}
Decimal Codes [BCD (binary coded One important problem
decimal)] how to represent the elements of discrete sets in
physical systems?
C C
hap hap
ter ter
DIGITAL & COMPUTER SYSTEMS - Digital System 1
7
Types of Digital Systems 1
8
Takes a set of discrete information inputs and No state present
discrete internal information (system state) and
Combinational Logic System
generates a set of discrete information outputs.
Output = Function(Input)
State present
Discrete State updated at discrete times
Discrete => Synchronous Sequential System
Inputs Information
Processing Discrete State updated at any time
System Outputs =>Asynchronous Sequential System
State = Function (State, Input)
Output = Function (State)
or Function (State, Input)
System State
C C
Digital System Example:
hap hap
C C
Conversion of Analog Signals to Digital hap
ter
hap
ter
Signals 1
11
How to Represent? 1
12
Binary set {0, 1} What is the formulae for number of bits to represent a
The elements of binary set, 0 and 1 are called “binary discrete set of n elements
digits”
or shortly “bits”. {0, 1, 2, 3}
00 0, 01 1, 10 2, ands 11 3.
How to represent the elements of other discrete sets
Decimal digits {0, 1, …, 9} {0, 1, 2, 3, 4, 5, 6, 7}
Alphabet {A, B, …, Y, Z} 000 0, 001 1, 010 2, ands 011 3
Elements of any discrete sets can be represented using 100 4, 101 5, 110 6, ands 111 7.
groups of bits. The formulae, then,
9 1001 ?
A 1000001
If n = 9, then 4 bits are needed